{"id":"CVE-2026-90223","summary":"nfc: llcp: bound SNL TLV parsing to the skb and add length checks","details":"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-\u003elen, without bounding reads to the actual skb\ndata. Three problems followed:\n\n  - For a short frame (skb-\u003elen \u003c 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 (\u003e= 1) and SDRES (exactly 2).\n\nFound by 0sec automated security-research tooling (https://0sec.ai).","modified":"2026-09-18T03:48:36.410140387Z","published":"2026-09-17T16:07:33.355Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90223.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/02030f95820c42431280f4f945ff34247fb840ff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/587fc2a5a35b41883b22b8f808fe5d345208914b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/749a9048bf51a668ec3ab6c0392ba32325607281"},{"type":"WEB","url":"https://git.kernel.org/stable/c/88b36d36e12c9ba76decdb580d9c1907c084e587"},{"type":"WEB","url":"https://git.kernel.org/stable/c/99fdb5c2522f365efa199d0117b641e35097041e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eeb16fb24cfe67947b832fd9ada5f488afc72579"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f04ac9bf2379f3e2470c400c235eb12f74891bef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f4c7f37f0ab990952539dc68d931d65c3657600a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90223.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90223"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"19cfe5843e86cc95542d9d875c9386e197956d75"},{"fixed":"88b36d36e12c9ba76decdb580d9c1907c084e587"},{"fixed":"587fc2a5a35b41883b22b8f808fe5d345208914b"},{"fixed":"f04ac9bf2379f3e2470c400c235eb12f74891bef"},{"fixed":"02030f95820c42431280f4f945ff34247fb840ff"},{"fixed":"99fdb5c2522f365efa199d0117b641e35097041e"},{"fixed":"749a9048bf51a668ec3ab6c0392ba32325607281"},{"fixed":"eeb16fb24cfe67947b832fd9ada5f488afc72579"},{"fixed":"f4c7f37f0ab990952539dc68d931d65c3657600a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90223.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90223.json"}}],"schema_version":"1.9.0"}