# CVE-2026-80799: nfc: llcp: fix OOB read and u8 offset wrap in TLV parsers

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-04 · Modified: 2026-10-19
- Aliases: UBUNTU-CVE-2026-80799, DEBIAN-CVE-2026-80799
- Record: https://cvemate.com/vulnerability/CVE-2026-80799 · JSON: https://cvemate.com/vulnerability/CVE-2026-80799/json

## Description

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

nfc: llcp: fix OOB read and u8 offset wrap in TLV parsers

nfc_llcp_parse_gb_tlv() and nfc_llcp_parse_connection_tlv() contain
three related bugs in their TLV parsing loops:

1. 'offset' is declared u8 but tlv_array_len is u16. When TLV data
   advances offset past 255 it silently wraps to zero, causing
   infinite loops or double-processing of buffer data.

2. Before reading tlv[0] (type) and tlv[1] (length) there is no
   check that offset+2 <= tlv_array_len. A truncated TLV causes
   an OOB read of one byte past the buffer end.

3. After reading the length field, the value bytes are accessed
   without checking offset+2+length <= tlv_array_len. A crafted
   length=0xFF on a short buffer causes up to 255 bytes of OOB
   read past the buffer end.

Both functions are reachable without authentication via
nfc_llcp_set_remote_gb() which feeds remote LLCP general bytes
directly into nfc_llcp_parse_gb_tlv() with no additional
validation.

Fix all three issues by widening offset from u8 to u16 and adding
bounds checks for both the TLV header and value field before each
access.
```

## Signals

- CVSS: 7.1 high (v4.0, OSV · Ubuntu) CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.234%, percentile 15.27%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 168)

- debian linux (Debian): \< 6.1.187-1 \| \< 6.12.107-1 \| \< 7.1.12-1
- debian linux-6.12 (Debian): \< 6.12.107-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-202.212 \| \< 6.8.0-149.149 \| \< 7.0.0-42.42
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1119.126 \| \< 6.8.0-1069.74 \| \< 7.0.0-1016.17
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1119.126~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): All versions (No fix recorded) \| \< 7.0.0-1017.18~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1119.126+fips1 \| \< 6.8.0-1069.74+fips1

## References (first 20 of 33)

- <https://git.kernel.org/stable/c/2c1456fe09ab1a5a9fe1d8339ca6d509589b56e1>
- <https://git.kernel.org/stable/c/7f6f3d087c67a4346189ef2c36481455bbc59a74>
- <https://git.kernel.org/stable/c/9c47d667963542c3cf8e3007b7f10c0904d08238>
- <https://git.kernel.org/stable/c/a209334ed929941b20810c17c3a507445b0a7c85>
- <https://git.kernel.org/stable/c/382eaa770335acf4f16a5a55524500f2bb4207df>
- <https://git.kernel.org/stable/c/2d239590d1845a706304833d40dd6d4fec20ad88>
- <https://git.kernel.org/stable/c/e84cdfdc4a6c88e8b751144458f2e04e24415a28>
- <https://git.kernel.org/stable/c/875285a165fd3b402de2ab3be0deb355d6f4caf5>
- <https://git.kernel.org/stable/c/78b20c8eeacd2e44a2d8a4cb5316d3c521d90911>
- <https://ubuntu.com/security/CVE-2026-80799>
- <https://www.cve.org/CVERecord?id=CVE-2026-80799>
- <https://git.kernel.org/linus/78b20c8eeacd2e44a2d8a4cb5316d3c521d90911>
- <https://security-tracker.debian.org/tracker/CVE-2026-80799>
- <https://ubuntu.com/security/notices/USN-8962-1>
- <https://ubuntu.com/security/notices/USN-8961-1>
- <https://ubuntu.com/security/notices/USN-8959-1>
- <https://ubuntu.com/security/notices/USN-8963-1>
- <https://ubuntu.com/security/notices/USN-9020-1>
- <https://ubuntu.com/security/notices/USN-9023-1>
- <https://ubuntu.com/security/notices/USN-9025-1>

---

Data as of 2026-12-06T04:32:55.164Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
