CVE-2026-31629·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: nfc: llcp: add missing return after LLCP_CLOSED checks In nfc_llcp_recv_hdlc() and nfc_llcp_recv_disc(), when the socket state is LLCP_CLOSED, the code correctly calls release_sock() and nfc_llcp_sock_put() but fails to return. Execution falls through to the remainder of the function, which calls release_sock() and nfc_llcp_sock_put() again. This results in a double release_sock() and a refcount underflow via double nfc_llcp_sock_put(), leading to a use-after-free. Add the missing return statements after the LLCP_CLOSED branches in both functions to prevent the fall-through.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.1
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.36% — higher than 29% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-31629 scores 8.8 on CVSS, so a successful attack would be serious — but at 0.36%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 7.0
Until: 7.0.1
Fixed in: 7.0.1
How to fix this CVE
Update your Linux kernel to version 7.0.1 or later to patch a critical NFC LLCP stack vulnerability that causes double resource release and potential use-after-free conditions. This fix addresses missing return statements in socket state handling that allow execution to fall through and improperly release resources twice. Prioritize this update for systems using NFC functionality or running network-facing services.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r | grep -E '^(7\.0|7\.0\.0)'
- Verify NFC subsystem is loaded: lsmod | grep nfc_llcp
- Check kernel logs for NFC-related warnings: sudo dmesg | grep -i 'nfc\|llcp\|refcount'
- Confirm patch applied by checking kernel build date: uname -v and compare against 7.0.1 release date
FAQ
What is CVE-2026-31629?
CVE-2026-31629 is a kernel vulnerability in the NFC LLCP (Logical Link Control and Multiplexing Protocol) implementation where missing return statements cause double resource deallocation and reference count underflow, potentially leading to use-after-free memory corruption.
Is CVE-2026-31629 being actively exploited?
No, CVE-2026-31629 is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available, though the high severity score warrants prompt patching.
What versions of Kernel are affected by CVE-2026-31629?
Linux kernel versions 7.0 through 7.0.0 are vulnerable; the fix is included in kernel 7.0.1 and later.
How do I check if my server is vulnerable to CVE-2026-31629?
Run `uname -r` and verify the output matches 7.0 or 7.0.0; if it shows 7.0.1 or higher, your system is patched.
Does Defensia detect CVE-2026-31629?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-31629 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0eb1263a3b8c36418c9ba295c9ab3abed664edbf
- https://git.kernel.org/stable/c/2b5dd4632966c39da6ba74dbc8689b309065e82c
- https://git.kernel.org/stable/c/665315df9c3486cb213fc44d83cc8bcd47fe0d26
- https://git.kernel.org/stable/c/796e0cac058252d0ad34ebe288e6f7979b5fc9b2
- https://git.kernel.org/stable/c/8977fad2b3c6eefd414131168d597c5d1d5e1abf
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31629. Free for 1 server.
Get started free