Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-31629

high

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_ll…

Vendor / product: Linux — linux kernel

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.

CVSS
8.8
8.8 (CVSS v3.1)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity source: NVD CVSS v3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
Timeline (UTC)
Published: 2026-04-24 15:16
Modified: 2026-11-11 23:10
NVD status: Modified
Last synced 3 hours ago
Verified against the source API 2026-11-11 23:13 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

linux / linux_kernel ≥3.3 <6.6.136, ≥6.7 <6.12.83, ≥6.13 <6.18.24, ≥6.19 <6.19.14, ≥7.0 <7.0.1

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/0eb1263a3b8c36418c9ba295c9ab3abed664edbf
Patch / mitigation: https://git.kernel.org/stable/c/2b5dd4632966c39da6ba74dbc8689b309065e82c
Patch / mitigation: https://git.kernel.org/stable/c/796e0cac058252d0ad34ebe288e6f7979b5fc9b2
Patch / mitigation: https://git.kernel.org/stable/c/8977fad2b3c6eefd414131168d597c5d1d5e1abf
Patch / mitigation: https://git.kernel.org/stable/c/aba4712e8f0381cd5d196534ce2ad082626a5ab6
Patch / mitigation: https://git.kernel.org/stable/c/ff3d9e8f7244293e303f7b6ef70774291c7c27e9

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-11 23:13 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs