CVE-2026-80800: nfc: llcp: bound the connect_sn TLV walk to the skb

Published Sep 4, 2026
·
Updated

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

nfc: llcp: bound the connectsn TLV walk to the skb

Commit 27256cdb290e ("nfc: llcp: bound SNL TLV parsing to the skb and add length checks") fixed the unbounded TLV walk in nfcllcprecvsnl(), and commit d8bd2dedbde5 ("nfc: llcp: fix OOB read and u8 offset wrap in TLV parsers") subsequently bounded nfcllcpparsegbtlv() and nfcllcpparseconnectiontlv(). One sibling parser sharing the same pattern remains unbounded: nfcllcpconnectsn().

nfcllcpconnectsn() walks a TLV list, reading a two-byte header (type, length) followed by length bytes of value, without checking that the two header bytes or the declared length stay within the buffer. It returns a pointer to a service name of up to 255 bytes that may point past the end of the skb; it is subsequently consumed by memcmp() in nfcllcpsockfromsn(). In addition tlvarraylen was computed as "skb->len - LLCPHEADERSIZE" in sizet, so a CONNECT/CC frame shorter than the LLCP header underflows to a huge length and the walk runs far past the buffer.

nfcllcpconnectsn() is reachable from nfcllcprecvconnect() and nfcllcprecvcc(), i.e. from received CONNECT and CC PDUs. A nearby NFC device can reach this without authentication; LLCP link activation happens automatically after NFC-DEP, and the nfcllcprxskb() dispatcher applies no minimum-length guard.

Walk the TLV list by pointer, bounded by skbtailpointer(skb), and validate each declared length before use, matching the approach already used for nfcllcprecvsnl(). Starting the walk at &skb->data[LLCPHEADERSIZE] against the tail pointer also removes the sizet underflow for short frames.

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

Affected Software

1 affected component
Linux Kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel NFC LLCP to a version that resolves this vulnerability.

    Patch 27256cdb290e
  2. Upgrade

    Upgrade Linux kernel NFC LLCP to a version that resolves this vulnerability.

    Patch d8bd2dedbde5

Event History

Sep 4, 2026
CVE Published
via MITRE·03:13 PM
Data Sourced
via MITRE·03:13 PM
Description

Frequently Asked Questions

1

What access would an attacker need to reach the vulnerable code?

An attacker would need to send crafted NFC LLCP CONNECT or CC frames to a system that processes received LLCP traffic. The affected parser is reached through the CONNECT and CC receive paths.

2

What malformed input conditions trigger the out-of-bounds parsing?

A frame shorter than the LLCP header can cause the computed TLV length to underflow, making the parser walk far beyond the skb buffer. TLVs with incomplete two-byte headers or declared value lengths extending past the buffer can also lead to reads beyond the received data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203