CVE-2026-31629: Use-after-free in Linux kernel NFC LLCP socket handling
- Vendor
- Linux
CVE-2026-31629 is a use-after-free vulnerability in the Linux kernel NFC Logical Link Control Protocol (LLCP) implementation. In nfc_llcp_recv_hdlc() and nfc_llcp_recv_disc(), the LLCP_CLOSED branches call release_sock() and nfc_llcp_sock_put() but omit an immediate return. Execution falls through to subsequent code that calls both functions again, causing duplicate socket release and reference-count underflow leading to use-after-free. The vulnerability can potentially enable privilege escalation and compromise kernel confidentiality, integrity, and availability.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can corrupt kernel socket state through duplicate release operations and use-after-free. Potential consequences include privilege escalation, disclosure or modification of protected data, and kernel crashes or denial of service. Android classifies the issue as a critical kernel elevation-of-privilege vulnerability; SUSE assesses potential high confidentiality, integrity, and availability impact through an unauthenticated adjacent-network attack.
Mitigation
If you can’t patch tonight, do this now.
Until patched, disable or avoid NFC/LLCP functionality where operationally feasible. Limit physical proximity and adjacent-network exposure to untrusted NFC peers. Restrict untrusted applications and interactive access on affected systems. These measures reduce exposure but do not correct the kernel defect.
Remediation
Patch, then assume compromise.
Apply a vendor-supported kernel update or live patch containing the fix that adds return statements immediately after the LLCP_CLOSED cleanup branches in both affected functions. Reboot into the updated kernel unless an applicable supported live patch is activated, and verify that the running kernel includes the correction. For affected Android devices, install the manufacturer-provided update with security patch level 2026-09-05 or later. For Siemens SIMATIC S7-1500 TM MFP, no fixed product release is identified; apply a Siemens-supported update when available rather than assuming an upstream Linux fix establishes product remediation.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-31629 exploited in the wild?
- As of Oct 25, 2026, Mallory has no reports of CVE-2026-31629 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-31629?
- As of Oct 25, 2026, Mallory has found no public exploit for CVE-2026-31629.
- Is there a patch for CVE-2026-31629?
- Apply a vendor-supported kernel update or live patch containing the fix that adds return statements immediately after the LLCP_CLOSED cleanup branches in both affected functions. Reboot into the updated kernel unless an applicable supported live patch is activated, and verify that the running kernel includes the correction.
- What products are affected by CVE-2026-31629?
- Linux Kernel.
- How severe is CVE-2026-31629?
- CVE-2026-31629 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 0.38% (24th percentile) as of Oct 25, 2026.
Recent activity
56 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.