CVE-2026-31629: Linux Kernel - Use After Free
- Cve: CVE-2026-31629
- Name: Linux Kernel - Use After Free
- 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.
- Impact: Attackers can cause use-after-free leading to potential memory corruption or denial of service.
- Remediation: Update to the latest Linux kernel version containing the fix for missing return statements after LLCP_CLOSED checks.
- Vulnerability type: use_after_free
- Vulnerability impact: use_after_free, denial_of_service
- Requirements: Attacker needs to trigger specific socket states leading to LLCP_CLOSED
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00265
- Epss percentile: 0.18354
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2026-04-24T15:16:42Z
- Age in days: 214
- Modified at: 2026-11-11T23:10:00Z
- Patch available: yes
- References total: 10
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-31629
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-667 | Improper Locking |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | >= 7.0, < 7.0.1; >= 6.19, < 6.19.14; >= 6.13, < 6.18.24; >= 6.7, < 6.12.83; >= 3.3, < 6.6.136 | no | nvd | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports