nfc: llcp: bound SNL TLV parsing to the skb and add length checks

Summary

CVECVE-2026-90223
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-17 17:17:17 UTC
Updated2026-09-17 17:17:17 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: nfc: llcp: bound SNL TLV parsing to the skb and add length checks nfc_llcp_recv_snl() walked the SNL TLV list using a u16 offset/length pair derived from skb->len, without bounding reads to the actual skb data. Three problems followed: - For a short frame (skb->len < LLCP_HEADER_SIZE), tlv_len underflowed. - The per-TLV header (type, length) was read without checking that two bytes remained. - A declared TLV length could run past the end of the buffer, and an SDREQ with length == 0 made "service_name_len = length - 1" underflow (size_t), driving an out-of-bounds read in the following strncmp() / nfc_llcp_sock_from_sn(). The SDRES case likewise read tlv[2]/tlv[3] without a length check. A nearby NFC device can reach this without authentication; LLCP link activation happens automatically after NFC-DEP. Walk the TLV list by pointer, bounded by skb_tail_pointer() over the linear skb data, and validate each TLV declared length before use. Add explicit length checks for SDREQ (>= 1) and SDRES (exactly 2). Found by 0sec automated security-research tooling (https://0sec.ai).

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 19cfe5843e86cc95542d9d875c9386e197956d75 88b36d36e12c9ba76decdb580d9c1907c084e587 git Not specified
CNA Linux Linux affected 19cfe5843e86cc95542d9d875c9386e197956d75 587fc2a5a35b41883b22b8f808fe5d345208914b git Not specified
CNA Linux Linux affected 19cfe5843e86cc95542d9d875c9386e197956d75 f04ac9bf2379f3e2470c400c235eb12f74891bef git Not specified
CNA Linux Linux affected 19cfe5843e86cc95542d9d875c9386e197956d75 02030f95820c42431280f4f945ff34247fb840ff git Not specified
CNA Linux Linux affected 19cfe5843e86cc95542d9d875c9386e197956d75 99fdb5c2522f365efa199d0117b641e35097041e git Not specified
CNA Linux Linux affected 19cfe5843e86cc95542d9d875c9386e197956d75 749a9048bf51a668ec3ab6c0392ba32325607281 git Not specified
CNA Linux Linux affected 19cfe5843e86cc95542d9d875c9386e197956d75 eeb16fb24cfe67947b832fd9ada5f488afc72579 git Not specified
CNA Linux Linux affected 19cfe5843e86cc95542d9d875c9386e197956d75 f4c7f37f0ab990952539dc68d931d65c3657600a git Not specified
CNA Linux Linux affected 3.8 Not specified
CNA Linux Linux unaffected 3.8 semver Not specified
CNA Linux Linux unaffected 5.10.270 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.221 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.52 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.6 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/eeb16fb24cfe67947b832fd9ada5f488afc72579 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/02030f95820c42431280f4f945ff34247fb840ff 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f4c7f37f0ab990952539dc68d931d65c3657600a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/749a9048bf51a668ec3ab6c0392ba32325607281 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f04ac9bf2379f3e2470c400c235eb12f74891bef 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/99fdb5c2522f365efa199d0117b641e35097041e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/88b36d36e12c9ba76decdb580d9c1907c084e587 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/587fc2a5a35b41883b22b8f808fe5d345208914b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report