CVE-2026-80799

    Dashboard / Vulnerabilities / CVE-2026-80799

    CVE-2026-80799

    Published: 4 Sept 2026Last Modified: 15 Sept 2026

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

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 0be9de2ea01e8d52646e7310a7eef5459cf07ea8

    Affected versions

    v5.10.266
    v5.10.265
    v5.10.264
    v5.10.263
    v5.10.262
    v5.10.261
    v5.10.260
    v5.10.259
    v5.10.258
    v5.10.257
    v5.10.256
    v5.10.255
    v5.10.254
    v5.10.253
    v5.10.252
    v5.10.251
    v5.10.250
    v5.10.249
    v5.10.248
    v5.10.247
    v5.10.246
    v5.10.245
    v5.10.244
    v5.10.243
    v5.10.242
    v5.10.241
    v5.10.240
    v5.10.239
    v5.10.238
    v5.10.237
    v5.10.236
    v5.10.235
    v5.10.234
    v5.10.233
    v5.10.232
    v5.10.231
    v5.10.230
    v5.10.229
    v5.10.228
    v5.10.227
    v5.10.226
    v5.10.225
    v5.10.224
    v5.10.223
    v5.10.222
    v5.10.221
    v5.10.220
    v5.10.219
    v5.10.218
    v5.10.217
    v5.10.216
    v5.10.215
    v5.10.214
    v5.10.213
    v5.10.212
    v5.10.211
    v5.10.210
    v5.10.209
    v5.10.208
    v5.10.207
    v5.10.206
    v5.10.205
    v5.10.204
    v5.10.203
    v5.10.202
    v5.10.201
    v5.10.200
    v5.10.199
    v5.10.198
    v5.10.197
    v5.10.196
    v5.10.195
    v5.10.194
    v5.10.193
    v5.10.192
    v5.10.191
    v5.10.190
    v5.10.189
    v5.10.188

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2026-80799 | CVE-DB