{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-31622", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2026-03-09T15:48:24.124Z", "datePublished": "2026-04-24T14:42:39.916Z", "dateUpdated": "2026-10-15T01:17:15.197Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T12:23:52.282Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFC: digital: Bounds check NFC-A cascade depth in SDD response handler\n\nThe NFC-A anti-collision cascade in digital_in_recv_sdd_res() appends 3\nor 4 bytes to target->nfcid1 on each round, but the number of cascade\nrounds is controlled entirely by the peer device. The peer sets the\ncascade tag in the SDD_RES (deciding 3 vs 4 bytes) and the\ncascade-incomplete bit in the SEL_RES (deciding whether another round\nfollows).\n\nISO 14443-3 limits NFC-A to three cascade levels and target->nfcid1 is\nsized accordingly (NFC_NFCID1_MAXSIZE = 10), but nothing in the driver\nactually enforces this. This means a malicious peer can keep the\ncascade running, writing past the heap-allocated nfc_target with each\nround.\n\nFix this by rejecting the response when the accumulated UID would exceed\nthe buffer.\n\nCommit e329e71013c9 (\"NFC: nci: Bounds check struct nfc_target arrays\")\nfixed similar missing checks against the same field on the NCI path." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:A - The vulnerable code processes NFC-A anti-collision responses from a peer/tag in the local NFC RF field, so the attacker must be within NFC proximity rather than on an IP network.\nAC:L - The peer controls both the cascade tag in SDD_RES and the cascade-incomplete bit in SEL_RES, and can repeat valid BCC/CRC responses to drive the overflow without a race or unusual memory state.\nPR:N - The malicious NFC peer does not need local credentials or kernel privileges; any local CAP_NET_ADMIN requirement only applies to the victim system component that starts polling.\nUI:N - In a reasonable high-impact deployment such as an NFC reader, kiosk, or access-control device, polling is already active and the attacker only needs to present the malicious NFC peer.\nS:U - The corruption occurs in the host kernel NFC stack and impacts the same kernel security authority, with no VM, IOMMU, or separate sandbox boundary crossed.\nC:H - This is a peer-controlled heap out-of-bounds write past struct nfc_target, and such kernel memory corruption is defensibly exploitable for information disclosure or arbitrary memory access.\nI:H - The bug writes attacker-controlled NFCID bytes beyond the fixed nfcid1 buffer and can continue across cascade rounds, making kernel memory corruption and control-flow/data integrity compromise plausible.\nA:H - Even without full exploitation, overflowing a heap-allocated kernel object from NFC response handling can corrupt adjacent state and cause an oops, panic, or persistent crash." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "net/nfc/digital_technology.c" ], "versions": [ { "version": "2c66daecc4092e6049673c281b2e6f0d5e59a94c", "lessThan": "9ba6bb09e00b922d902f684f575779e5433fe6e3", "status": "affected", "versionType": "git" }, { "version": "2c66daecc4092e6049673c281b2e6f0d5e59a94c", "lessThan": "f83b399aa05a0712e3b1569a30d3d90b3533d2ef", "status": "affected", "versionType": "git" }, { "version": "2c66daecc4092e6049673c281b2e6f0d5e59a94c", "lessThan": "20663102c14566e900e1d2f679e30b7f1694f387", "status": "affected", "versionType": "git" }, { "version": "2c66daecc4092e6049673c281b2e6f0d5e59a94c", "lessThan": "2819f34e08bdffb6f06a51c67948ec5737fb166a", "status": "affected", "versionType": "git" }, { "version": "2c66daecc4092e6049673c281b2e6f0d5e59a94c", "lessThan": "1bec5698b55aa2be5c3b983dba657c01d0fd3dbc", "status": "affected", "versionType": "git" }, { "version": "2c66daecc4092e6049673c281b2e6f0d5e59a94c", "lessThan": "5a59bf70c38ee1eb4be03bab830bbc3a6f0bd1f1", "status": "affected", "versionType": "git" }, { "version": "2c66daecc4092e6049673c281b2e6f0d5e59a94c", "lessThan": "8d9d9bf3565271ca7ab9c716a94e87296177e7ba", "status": "affected", "versionType": "git" }, { "version": "2c66daecc4092e6049673c281b2e6f0d5e59a94c", "lessThan": "cc024a3de265ef6c58957f4990eccb9f806208cb", "status": "affected", "versionType": "git" }, { "version": "2c66daecc4092e6049673c281b2e6f0d5e59a94c", "lessThan": "46ce8be2ced389bccd84bcc04a12cf2f4d0c22d1", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "net/nfc/digital_technology.c" ], "versions": [ { "version": "3.13", "status": "affected" }, { "version": "0", "lessThan": "3.13", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.258", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.209", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.175", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.136", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12.83", "lessThanOrEqual": "6.12.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.18.24", "lessThanOrEqual": "6.18.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.19.14", "lessThanOrEqual": "6.19.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.0.1", "lessThanOrEqual": "7.0.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.1", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.13", "versionEndExcluding": "5.10.258" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.13", "versionEndExcluding": "5.15.209" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.13", "versionEndExcluding": "6.1.175" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.13", "versionEndExcluding": "6.6.136" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.13", "versionEndExcluding": "6.12.83" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.13", "versionEndExcluding": "6.18.24" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.13", "versionEndExcluding": "6.19.14" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.13", "versionEndExcluding": "7.0.1" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.13", "versionEndExcluding": "7.1" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/9ba6bb09e00b922d902f684f575779e5433fe6e3" }, { "url": "https://git.kernel.org/stable/c/f83b399aa05a0712e3b1569a30d3d90b3533d2ef" }, { "url": "https://git.kernel.org/stable/c/20663102c14566e900e1d2f679e30b7f1694f387" }, { "url": "https://git.kernel.org/stable/c/2819f34e08bdffb6f06a51c67948ec5737fb166a" }, { "url": "https://git.kernel.org/stable/c/1bec5698b55aa2be5c3b983dba657c01d0fd3dbc" }, { "url": "https://git.kernel.org/stable/c/5a59bf70c38ee1eb4be03bab830bbc3a6f0bd1f1" }, { "url": "https://git.kernel.org/stable/c/8d9d9bf3565271ca7ab9c716a94e87296177e7ba" }, { "url": "https://git.kernel.org/stable/c/cc024a3de265ef6c58957f4990eccb9f806208cb" }, { "url": "https://git.kernel.org/stable/c/46ce8be2ced389bccd84bcc04a12cf2f4d0c22d1" } ], "title": "NFC: digital: Bounds check NFC-A cascade depth in SDD response handler", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "x_adpType": "supplier", "providerMetadata": { "orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e", "shortName": "siemens-SADP", "dateUpdated": "2026-10-15T01:17:15.197Z" }, "affected": [ { "vendor": "Siemens", "product": "SIMATIC S7-1500 TM MFP - GNU/Linux subsystem", "versions": [ { "status": "affected", "version": "0", "lessThan": "*", "versionType": "custom" } ], "defaultStatus": "unknown" } ], "references": [ { "url": "https://cert-portal.siemens.com/productcert/html/ssa-784472.html" } ] } ] } }