CVE-2026-80800

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
19/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> nfc: llcp: bound the connect_sn TLV walk to the skb<br /> <br /> Commit 27256cdb290e ("nfc: llcp: bound SNL TLV parsing to the skb and<br /> add length checks") fixed the unbounded TLV walk in nfc_llcp_recv_snl(),<br /> and commit d8bd2dedbde5 ("nfc: llcp: fix OOB read and u8 offset wrap in<br /> TLV parsers") subsequently bounded nfc_llcp_parse_gb_tlv() and<br /> nfc_llcp_parse_connection_tlv(). One sibling parser sharing the same<br /> pattern remains unbounded: nfc_llcp_connect_sn().<br /> <br /> nfc_llcp_connect_sn() walks a TLV list, reading a two-byte header<br /> (type, length) followed by length bytes of value, without checking that<br /> the two header bytes or the declared length stay within the buffer. It<br /> returns a pointer to a service name of up to 255 bytes that may point<br /> past the end of the skb; it is subsequently consumed by memcmp() in<br /> nfc_llcp_sock_from_sn(). In addition tlv_array_len was computed as<br /> "skb-&gt;len - LLCP_HEADER_SIZE" in size_t, so a CONNECT/CC frame shorter<br /> than the LLCP header underflows to a huge length and the walk runs far<br /> past the buffer.<br /> <br /> nfc_llcp_connect_sn() is reachable from nfc_llcp_recv_connect() and<br /> nfc_llcp_recv_cc(), i.e. from received CONNECT and CC PDUs. A nearby<br /> NFC device can reach this without authentication; LLCP link activation<br /> happens automatically after NFC-DEP, and the nfc_llcp_rx_skb()<br /> dispatcher applies no minimum-length guard.<br /> <br /> Walk the TLV list by pointer, bounded by skb_tail_pointer(skb), and<br /> validate each declared length before use, matching the approach already<br /> used for nfc_llcp_recv_snl(). Starting the walk at<br /> &amp;skb-&gt;data[LLCP_HEADER_SIZE] against the tail pointer also removes the<br /> size_t underflow for short frames.<br /> <br /> Found by 0sec automated security-research tooling (https://0sec.ai).

Impact