Impact
nfc_get_local_general_bytes in the Linux kernel NFC stack contains a use‑after‑free flaw. The bug arises when a local context is released after its reference count reaches zero, yet callers continue to access the freed memory. This results in kernel memory corruption and can be exploited to execute arbitrary code with kernel privileges, representing a classic use‑after‑free (CWE‑825) vulnerability.
Affected Systems
The vulnerability affects all Linux kernel builds that include the legacy NFC driver stack before the commit that introduces the fix. Affected drivers include microread, pn533, pn544, st21nfca, digital_dep, and nci. Any system running a kernel older than commit 6709d4b7bc2e is potentially at risk.
Risk and Exploitability
EPSS score is less than 1%, indicating a very low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw operates in kernel space and the CVSS score of 5.5 indicates moderate severity, the overall risk is moderate but it remains possible to exploit. Exploitation would likely require physical or logical access to an NFC device on the target system and an ability to inject crafted NFC frames, which can trigger the dereference of freed memory and trigger the use‑after‑free. This could lead to a crash or privilege escalation if successfully leveraged.
OpenCVE Enrichment
Debian DLA
Ubuntu USN