nfc: llcp: bound SNL TLV parsing to the skb and add length checks
In 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).
CVE-2026-90223
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-90223
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "19cfe5843e86cc95542d9d875c9386e197956d75",
"lessThan": "88b36d36e12c9ba76decdb580d9c1907c084e587",
"versionType": "git"
},
{
"status": "affected",
"version": "19cfe5843e86cc95542d9d875c9386e197956d75",
"lessThan": "587fc2a5a35b41883b22b8f808fe5d345208914b",
"versionType": "git"
},
{
"status": "affected",
"version": "19cfe5843e86cc95542d9d875c9386e197956d75",
"lessThan": "f04ac9bf2379f3e2470c400c235eb12f74891bef",
"versionType": "git"
},
{
"status": "affected",
"version": "19cfe5843e86cc95542d9d875c9386e197956d75",
"lessThan": "02030f95820c42431280f4f945ff34247fb840ff",
"versionType": "git"
},
{
"status": "affected",
"version": "19cfe5843e86cc95542d9d875c9386e197956d75",
"lessThan": "99fdb5c2522f365efa199d0117b641e35097041e",
"versionType": "git"
},
{
"status": "affected",
"version": "19cfe5843e86cc95542d9d875c9386e197956d75",
"lessThan": "749a9048bf51a668ec3ab6c0392ba32325607281",
"versionType": "git"
},
{
"status": "affected",
"version": "19cfe5843e86cc95542d9d875c9386e197956d75",
"lessThan": "eeb16fb24cfe67947b832fd9ada5f488afc72579",
"versionType": "git"
},
{
"status": "affected",
"version": "19cfe5843e86cc95542d9d875c9386e197956d75",
"lessThan": "f4c7f37f0ab990952539dc68d931d65c3657600a",
"versionType": "git"
}
],
"programFiles": [
"net/nfc/llcp_core.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.8"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.8",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.270",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.221",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.188",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/nfc/llcp_core.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90223
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #36594 · Revision 1
- Added to Heist Feed
- Publisher date