GHSA-JXPM-782W-87PH
Vulnerability from github – Published: 2026-09-17 18:31 – Updated: 2026-09-18 18:31In 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).
{
"affected": [],
"aliases": [
"CVE-2026-90223"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-09-17T17:17:17Z",
"severity": "HIGH"
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: llcp: bound SNL TLV parsing to the skb and add length checks\n\nnfc_llcp_recv_snl() walked the SNL TLV list using a u16 offset/length\npair derived from skb-\u003elen, without bounding reads to the actual skb\ndata. Three problems followed:\n\n - For a short frame (skb-\u003elen \u003c LLCP_HEADER_SIZE), tlv_len underflowed.\n - The per-TLV header (type, length) was read without checking that two\n bytes remained.\n - A declared TLV length could run past the end of the buffer, and an\n SDREQ with length == 0 made \"service_name_len = length - 1\" underflow\n (size_t), driving an out-of-bounds read in the following strncmp() /\n nfc_llcp_sock_from_sn(). The SDRES case likewise read tlv[2]/tlv[3]\n without a length check.\n\nA nearby NFC device can reach this without authentication; LLCP link\nactivation happens automatically after NFC-DEP.\n\nWalk the TLV list by pointer, bounded by skb_tail_pointer() over the\nlinear skb data, and validate each TLV declared length before use. Add\nexplicit length checks for SDREQ (\u003e= 1) and SDRES (exactly 2).\n\nFound by 0sec automated security-research tooling (https://0sec.ai).",
"id": "GHSA-jxpm-782w-87ph",
"modified": "2026-09-18T18:31:27Z",
"published": "2026-09-17T18:31:56Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-90223"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/02030f95820c42431280f4f945ff34247fb840ff"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/587fc2a5a35b41883b22b8f808fe5d345208914b"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/749a9048bf51a668ec3ab6c0392ba32325607281"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/88b36d36e12c9ba76decdb580d9c1907c084e587"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/99fdb5c2522f365efa199d0117b641e35097041e"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/eeb16fb24cfe67947b832fd9ada5f488afc72579"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/f04ac9bf2379f3e2470c400c235eb12f74891bef"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/f4c7f37f0ab990952539dc68d931d65c3657600a"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.