{"id":40955,"date":"2026-10-19T00:31:40","date_gmt":"2026-10-18T16:31:40","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98483"},"modified":"2026-10-19T00:31:40","modified_gmt":"2026-10-18T16:31:40","slug":"cve-2026-98483","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98483","title":{"rendered":"CVE-2026-98483 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: fix use-after-fr"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>nfc: fix use-after-free in nfc_get_local_general_bytes<\/p>\n<p>Commit 6709d4b7bc2e (&#8220;net: nfc: Fix use-after-free caused by<br \/>\nnfc_llcp_find_local&#8221;) attempted to fix a use-after-free (UAF) issue by<br \/>\ninvoking nfc_llcp_local_put(local) after accessing local-&gt;gb. However,<br \/>\nif the reference count drops to zero, local is freed immediately,<br \/>\nleading to a use-after-free when callers access the returned pointer.<br \/>\nAlternative approaches using dynamic allocation (e.g. kmemdup) introduced<br \/>\nmemory leaks because callers consistently treat the returned pointer as<br \/>\nborrowed memory.<\/p>\n<p>Fix this properly by refactoring nfc_llcp_general_bytes() and<br \/>\nnfc_get_local_general_bytes() to accept a caller-provided output buffer<br \/>\n(out_gb) and its maximum length (gb_max_len). The general bytes are<br \/>\nsafely copied into out_gb before calling nfc_llcp_local_put(local),<br \/>\nensuring safe lifetime management without ownership transfer complications.<\/p>\n<p>Update all callers across drivers (microread, pn533, pn544, st21nfca,<br \/>\ndigital_dep, and nci) to provide their own destination buffers and pass<br \/>\nthem to nfc_get_local_general_bytes().<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>nfc: fix use-after-free in nfc_get_local_general_bytes<\/p>\n<p>Commit 6709d4b7bc2e (&#8220;net: nfc: Fix use-after-free caused by<br \/>\nnfc_llcp_find_<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-40955","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/40955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40955"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40955"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}