CVE-2026-31629
Linux · Kernel
A use-after-free vulnerability in the Linux kernel's NFC LLCP subsystem results from missing return statements after socket state checks.
Executive summary
A use-after-free vulnerability in the Linux kernel's NFC LLCP subsystem could be exploited to cause system instability or potential code execution.
Vulnerability
The flaw occurs in nfc_llcp_recv_hdlc() and nfc_llcp_recv_disc() where missing return statements after LLCP_CLOSED checks lead to double release operations on socket resources, causing a reference count underflow.
Business impact
The CVSS score of 8.8 indicates a high-severity issue. An attacker with adjacent network access could exploit this reference count underflow to trigger a use-after-free condition, potentially leading to system crashes or arbitrary code execution on the target device.
Remediation
Immediate Action: Update to a kernel version that includes the fix for missing return statements in the NFC LLCP subsystem.
Proactive Monitoring: Monitor system logs for NFC-related errors or kernel warnings associated with socket state management.
Compensating Controls: Disable the NFC LLCP subsystem if it is not required for device functionality.
Exploitation status
Public Exploit Available: false
Analyst recommendation
This vulnerability highlights the complexity of kernel-level networking code. Administrators should prioritize patching systems that utilize NFC LLCP to prevent potential exploitation by attackers within physical proximity.