VDB

CVE-2026-80799

CVE-2026-80799 PUBLISHED

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

Reported by linux · Published September 4, 2026

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.

EPSS 0.23% · 14.4th percentile

Risk scores

EPSS Score
0.23%
14.4th percentile

Affected products

VendorProductVersions
LinuxLinux0be9de2ea01e8d52646e7310a7eef5459cf07ea8, 3df40eb3a2ea58bf404a38f15a7a2768e4762cb0, 3df40eb3a2ea58bf404a38f15a7a2768e4762cb0
LinuxLinux5.15, 0, 5.10.267
linuxlinux_kernel5.10.188, 5.15, 5.15
LinuxLinux0be9de2ea01e8d52646e7310a7eef5459cf07ea8, 3df40eb3a2ea58bf404a38f15a7a2768e4762cb0, 3df40eb3a2ea58bf404a38f15a7a2768e4762cb0

Timeline

  • Sep 4, 2026 Coalition ESS Score
  • Sep 4, 2026 CVE Published
  • Sep 5, 2026 EPSS Score (20 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-80799
vulnetix vdb fixes CVE-2026-80799

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80799/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›