{"id":"CVE-2026-90223","aliases":["CVE-2026-90223"],"related":[],"kind":"vulnerability","state":"published","title":"nfc: llcp: bound SNL TLV parsing to the skb and add length checks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: llcp: bound SNL TLV parsing to the skb and add length checks\n\nnfc_llcp_recv_snl() walked the SNL TLV list using a u16 offset/length\npair derived from skb->len, without bounding reads to the actual skb\ndata. Three problems followed:\n\n  - For a short frame (skb->len < LLCP_HEADER_SIZE), tlv_len underflowed.\n  - The per-TLV header (type, length) was read without checking that two\n    bytes remained.\n  - A declared TLV length could run past the end of the buffer, and an\n    SDREQ with length == 0 made \"service_name_len = length - 1\" underflow\n    (size_t), driving an out-of-bounds read in the following strncmp() /\n    nfc_llcp_sock_from_sn(). The SDRES case likewise read tlv[2]/tlv[3]\n    without a length check.\n\nA nearby NFC device can reach this without authentication; LLCP link\nactivation happens automatically after NFC-DEP.\n\nWalk the TLV list by pointer, bounded by skb_tail_pointer() over the\nlinear skb data, and validate each TLV declared length before use. Add\nexplicit length checks for SDREQ (>= 1) and SDRES (exactly 2).\n\nFound by 0sec automated security-research tooling (https://0sec.ai).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: llcp: bound SNL TLV parsing to the skb and add length checks\n\nnfc_llcp_recv_snl() walked the SNL TLV list using a u16 offset/length\npair derived from skb->len, without bounding reads to the actual skb\ndata. Three problems followed:\n\n  - For a short frame (skb->len < LLCP_HEADER_SIZE), tlv_len underflowed.\n  - The per-TLV header (type, length) was read without checking that two\n    bytes remained.\n  - A declared TLV length could run past the end of the buffer, and an\n    SDREQ with length == 0 made \"service_name_len = length - 1\" underflow\n    (size_t), driving an out-of-bounds read in the following strncmp() /\n    nfc_llcp_sock_from_sn(). The SDRES case likewise read tlv[2]/tlv[3]\n    without a length check.\n\nA nearby NFC device can reach this without authentication; LLCP link\nactivation happens automatically after NFC-DEP.\n\nWalk the TLV list by pointer, bounded by skb_tail_pointer() over the\nlinear skb data, and validate each TLV declared length before use. Add\nexplicit length checks for SDREQ (>= 1) and SDRES (exactly 2).\n\nFound by 0sec automated security-research tooling (https://0sec.ai).","source":"cvelist"}],"published":"2026-09-17T16:07:33.355Z","modified":"2026-10-19T09:19:12.510Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"19cfe5843e86cc95542d9d875c9386e197956d75","fixed":"88b36d36e12c9ba76decdb580d9c1907c084e587","status":"affected"},{"type":"git","introduced":"19cfe5843e86cc95542d9d875c9386e197956d75","fixed":"587fc2a5a35b41883b22b8f808fe5d345208914b","status":"affected"},{"type":"git","introduced":"19cfe5843e86cc95542d9d875c9386e197956d75","fixed":"f04ac9bf2379f3e2470c400c235eb12f74891bef","status":"affected"},{"type":"git","introduced":"19cfe5843e86cc95542d9d875c9386e197956d75","fixed":"02030f95820c42431280f4f945ff34247fb840ff","status":"affected"},{"type":"git","introduced":"19cfe5843e86cc95542d9d875c9386e197956d75","fixed":"99fdb5c2522f365efa199d0117b641e35097041e","status":"affected"},{"type":"git","introduced":"19cfe5843e86cc95542d9d875c9386e197956d75","fixed":"749a9048bf51a668ec3ab6c0392ba32325607281","status":"affected"},{"type":"git","introduced":"19cfe5843e86cc95542d9d875c9386e197956d75","fixed":"eeb16fb24cfe67947b832fd9ada5f488afc72579","status":"affected"},{"type":"git","introduced":"19cfe5843e86cc95542d9d875c9386e197956d75","fixed":"f4c7f37f0ab990952539dc68d931d65c3657600a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.8","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/88b36d36e12c9ba76decdb580d9c1907c084e587","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/587fc2a5a35b41883b22b8f808fe5d345208914b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f04ac9bf2379f3e2470c400c235eb12f74891bef","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02030f95820c42431280f4f945ff34247fb840ff","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/99fdb5c2522f365efa199d0117b641e35097041e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/749a9048bf51a668ec3ab6c0392ba32325607281","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eeb16fb24cfe67947b832fd9ada5f488afc72579","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f4c7f37f0ab990952539dc68d931d65c3657600a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90223","url":"https://www.cve.org/CVERecord?id=CVE-2026-90223","licence":"CVE Terms of Use","modified":"2026-10-19T08:59:59.669Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90223","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90223","licence":"Public domain","modified":"2026-10-19T09:19:12.510Z"}],"updatedAt":"2026-11-25T22:59:39.347Z","epss":{"score":0.00413,"percentile":0.37672,"date":"2026-12-01T12:00:22.000Z"}}