{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31629","id":"CVE-2026-31629","title":"nfc: llcp: add missing return after LLCP_CLOSED checks","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: llcp: add missing return after LLCP_CLOSED checks\n\nIn nfc_llcp_recv_hdlc() and nfc_llcp_recv_disc(), when the socket\nstate is LLCP_CLOSED, the code correctly calls release_sock() and\nnfc_llcp_sock_put() but fails to return. Execution falls through to\nthe remainder of the function, which calls release_sock() and\nnfc_llcp_sock","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: llcp: add missing return after LLCP_CLOSED checks\n\nIn nfc_llcp_recv_hdlc() and nfc_llcp_recv_disc(), when the socket\nstate is LLCP_CLOSED, the code correctly calls release_sock() and\nnfc_llcp_sock_put() but fails to return. Execution falls through to\nthe remainder of the function, which calls release_sock() and\nnfc_llcp_sock_put() again. This results in a double release_sock()\nand a refcount underflow via double nfc_llcp_sock_put(), leading to\na use-after-free.\n\nAdd the missing return statements after the LLCP_CLOSED branches\nin both functions to prevent the fall-through.","published":"2026-04-24T14:42:49.849Z","updated":"2026-11-13T02:30:28.602083870Z","reserved":"2026-03-09T15:48:24.124Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d646960f7986fefb460a2b062d5ccc8ccfeacc3a","lessThan":"b2a23529593d011fb433a3d711fc597ed6a6bd2f","status":"affected","versionType":"git"},{"version":"d646960f7986fefb460a2b062d5ccc8ccfeacc3a","lessThan":"665315df9c3486cb213fc44d83cc8bcd47fe0d26","status":"affected","versionType":"git"},{"version":"d646960f7986fefb460a2b062d5ccc8ccfeacc3a","lessThan":"9b49e2a4b8219a2fc5cebf94f4ec34e509aff8a6","status":"affected","versionType":"git"},{"version":"d646960f7986fefb460a2b062d5ccc8ccfeacc3a","lessThan":"0eb1263a3b8c36418c9ba295c9ab3abed664edbf","status":"affected","versionType":"git"},{"version":"d646960f7986fefb460a2b062d5ccc8ccfeacc3a","lessThan":"796e0cac058252d0ad34ebe288e6f7979b5fc9b2","status":"affected","versionType":"git"},{"version":"d646960f7986fefb460a2b062d5ccc8ccfeacc3a","lessThan":"8977fad2b3c6eefd414131168d597c5d1d5e1abf","status":"affected","versionType":"git"},{"version":"d646960f7986fefb460a2b062d5ccc8ccfeacc3a","lessThan":"ff3d9e8f7244293e303f7b6ef70774291c7c27e9","status":"affected","versionType":"git"},{"version":"d646960f7986fefb460a2b062d5ccc8ccfeacc3a","lessThan":"aba4712e8f0381cd5d196534ce2ad082626a5ab6","status":"affected","versionType":"git"},{"version":"d646960f7986fefb460a2b062d5ccc8ccfeacc3a","lessThan":"2b5dd4632966c39da6ba74dbc8689b309065e82c","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.3","status":"affected"},{"version":"0","lessThan":"3.3","status":"unaffected","versionType":"semver"},{"version":"5.10.258","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.209","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.175","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.136","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.83","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.24","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.14","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0.1","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-667"],"aliases":["A-499350302","ASB-A-499350302"],"references":[{"url":"https://git.kernel.org/stable/c/b2a23529593d011fb433a3d711fc597ed6a6bd2f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/665315df9c3486cb213fc44d83cc8bcd47fe0d26","tags":["web"]},{"url":"https://git.kernel.org/stable/c/9b49e2a4b8219a2fc5cebf94f4ec34e509aff8a6","tags":["web"]},{"url":"https://git.kernel.org/stable/c/0eb1263a3b8c36418c9ba295c9ab3abed664edbf","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/796e0cac058252d0ad34ebe288e6f7979b5fc9b2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8977fad2b3c6eefd414131168d597c5d1d5e1abf","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ff3d9e8f7244293e303f7b6ef70774291c7c27e9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/aba4712e8f0381cd5d196534ce2ad082626a5ab6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2b5dd4632966c39da6ba74dbc8689b309065e82c","tags":["Patch","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31629.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31629","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00252,"epssPercentile":0.16922,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31629","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31629","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31629","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31629","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}