# CVE-2026-90223: nfc: llcp: bound SNL TLV parsing to the skb and add length checks

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-09-17T16:07:33.355Z
- Modified: 2026-10-19T09:19:12.510Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

nfc: llcp: bound SNL TLV parsing to the skb and add length checks

nfc_llcp_recv_snl() walked the SNL TLV list using a u16 offset/length
pair derived from skb->len, without bounding reads to the actual skb
data. Three problems followed:

  - For a short frame (skb->len < LLCP_HEADER_SIZE), tlv_len underflowed.
  - The per-TLV header (type, length) was read without checking that two
    bytes remained.
  - A declared TLV length could run past the end of the buffer, and an
    SDREQ with length == 0 made "service_name_len = length - 1" underflow
    (size_t), driving an out-of-bounds read in the following strncmp() /
    nfc_llcp_sock_from_sn(). The SDRES case likewise read tlv[2]/tlv[3]
    without a length check.

A nearby NFC device can reach this without authentication; LLCP link
activation happens automatically after NFC-DEP.

Walk the TLV list by pointer, bounded by skb_tail_pointer() over the
linear skb data, and validate each TLV declared length before use. Add
explicit length checks for SDREQ (>= 1) and SDRES (exactly 2).

Found by 0sec automated security-research tooling (https://0sec.ai).

(As written by CVE List.)

## Affected

- Linux Linux: from 19cfe5843e86cc95542d9d875c9386e197956d75 before 88b36d36e12c9ba76decdb580d9c1907c084e587; from 19cfe5843e86cc95542d9d875c9386e197956d75 before 587fc2a5a35b41883b22b8f808fe5d345208914b; from 19cfe5843e86cc95542d9d875c9386e197956d75 before f04ac9bf2379f3e2470c400c235eb12f74891bef; from 19cfe5843e86cc95542d9d875c9386e197956d75 before 02030f95820c42431280f4f945ff34247fb840ff; from 19cfe5843e86cc95542d9d875c9386e197956d75 before 99fdb5c2522f365efa199d0117b641e35097041e; from 19cfe5843e86cc95542d9d875c9386e197956d75 before 749a9048bf51a668ec3ab6c0392ba32325607281; from 19cfe5843e86cc95542d9d875c9386e197956d75 before eeb16fb24cfe67947b832fd9ada5f488afc72579; from 19cfe5843e86cc95542d9d875c9386e197956d75 before f4c7f37f0ab990952539dc68d931d65c3657600a; 3.8 (not affected: before 3.8; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/88b36d36e12c9ba76decdb580d9c1907c084e587>
- <https://git.kernel.org/stable/c/587fc2a5a35b41883b22b8f808fe5d345208914b>
- <https://git.kernel.org/stable/c/f04ac9bf2379f3e2470c400c235eb12f74891bef>
- <https://git.kernel.org/stable/c/02030f95820c42431280f4f945ff34247fb840ff>
- <https://git.kernel.org/stable/c/99fdb5c2522f365efa199d0117b641e35097041e>
- <https://git.kernel.org/stable/c/749a9048bf51a668ec3ab6c0392ba32325607281>
- <https://git.kernel.org/stable/c/eeb16fb24cfe67947b832fd9ada5f488afc72579>
- <https://git.kernel.org/stable/c/f4c7f37f0ab990952539dc68d931d65c3657600a>

## Sources

- CVE List: [CVE-2026-90223](https://www.cve.org/CVERecord?id=CVE-2026-90223), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90223](https://nvd.nist.gov/vuln/detail/CVE-2026-90223), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90223 · Whole record: https://cve.day/CVE-2026-90223.json · Rebuilt by cve.day 2026-11-25T22:59:39.347Z
