8.8
High
CVE-2026-31629 In the Linux kernel, the following vulnerability has been resolved: nfc: llcp: add missing return after LLCP_CLOSED…
Description
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 7.1 | earliest → < 7.1 | 7.1 |
| Linux 7.0 | earliest → < 7.0.1 | 7.0.1 |
| Linux 6.19 | earliest → < 6.19.14 | 6.19.14 |
| Linux 6.18 | earliest → < 6.18.24 | 6.18.24 |
| Linux 6.12 | earliest → < 6.12.83 | 6.12.83 |
| Linux 6.6 | earliest → < 6.6.136 | 6.6.136 |
| Linux 6.1 | earliest → < 6.1.175 | 6.1.175 |
| Linux 5.15 | earliest → < 5.15.209 | 5.15.209 |
| Linux 5.10 | earliest → < 5.10.258 | 5.10.258 |
Show the 2 other branches Hide the 2 other branches
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux | 3.3 | No fix stated |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | Versions not published |
Other CVEs of Linux
The 18298 CVEs of Linux →
CVE-2026-99280
ksmbd: drain session procfs readers before dropping table references
Not rated
CVE-2026-99282
net/sched: sch_teql: fix use-after-free on lower qdisc drop
Not rated
CVE-2026-99281
tun: Require CAP_NET_ADMIN to attach to an ownerless device
Not rated
CVE-2026-99279
ksmbd: reclaim ended sessions on logoff and expiration
Not rated