SecurityContext

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

IdName
CWE-667Improper Locking

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/0eb1263a3b8c36418c9ba295c9ab3abed664edbfPatch
https://git.kernel.org/stable/c/2b5dd4632966c39da6ba74dbc8689b309065e82cPatch
https://git.kernel.org/stable/c/796e0cac058252d0ad34ebe288e6f7979b5fc9b2Patch
https://git.kernel.org/stable/c/8977fad2b3c6eefd414131168d597c5d1d5e1abfPatch
https://git.kernel.org/stable/c/aba4712e8f0381cd5d196534ce2ad082626a5ab6Patch
https://git.kernel.org/stable/c/ff3d9e8f7244293e303f7b6ef70774291c7c27e9Patch
https://git.kernel.org/stable/c/665315df9c3486cb213fc44d83cc8bcd47fe0d26
https://git.kernel.org/stable/c/9b49e2a4b8219a2fc5cebf94f4ec34e509aff8a6
https://git.kernel.org/stable/c/b2a23529593d011fb433a3d711fc597ed6a6bd2f
https://cert-portal.siemens.com/productcert/html/ssa-784472.html

Products

ProductAffectedPlatform boundSourcesUrl
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.136nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/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