{"id":"CVE-2026-31622","aliases":["CVE-2026-31622"],"related":[],"kind":"vulnerability","state":"published","title":"NFC: digital: Bounds check NFC-A cascade depth in SDD response handler","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nNFC: digital: Comprobación de límites de la profundidad de cascada NFC-A en el gestor de respuesta SDD\n\nLa cascada anticolisión NFC-A en digital_in_recv_sdd_res() añade 3 o 4 bytes a target  ->  nfcid1 en cada ronda, pero el número de rondas de cascada es controlado completamente por el dispositivo par. El par establece la etiqueta de cascada en el SDD_RES (decidiendo 3 frente a 4 bytes) y el bit de cascada incompleta en el SEL_RES (decidiendo si sigue otra ronda).\n\nISO 14443-3 limita NFC-A a tres niveles de cascada y target  ->  nfcid1 tiene un tamaño acorde (NFC_NFCID1_MAXSIZE = 10), pero nada en el controlador realmente lo aplica. Esto significa que un par malicioso puede mantener la cascada en ejecución, escribiendo más allá del nfc_target asignado en el heap con cada ronda.\n\nSolucione esto rechazando la respuesta cuando el UID acumulado excedería el búfer.\n\nEl commit e329e71013c9 (’NFC: nci: Comprobación de límites de arrays de struct nfc_target’) corrigió comprobaciones faltantes similares contra el mismo campo en la ruta NCI.","source":"nvd"}],"published":"2026-04-24T14:42:39.916Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"type":"git","introduced":"2c66daecc4092e6049673c281b2e6f0d5e59a94c","fixed":"9ba6bb09e00b922d902f684f575779e5433fe6e3","status":"affected"},{"type":"git","introduced":"2c66daecc4092e6049673c281b2e6f0d5e59a94c","fixed":"f83b399aa05a0712e3b1569a30d3d90b3533d2ef","status":"affected"},{"type":"git","introduced":"2c66daecc4092e6049673c281b2e6f0d5e59a94c","fixed":"20663102c14566e900e1d2f679e30b7f1694f387","status":"affected"},{"type":"git","introduced":"2c66daecc4092e6049673c281b2e6f0d5e59a94c","fixed":"2819f34e08bdffb6f06a51c67948ec5737fb166a","status":"affected"},{"type":"git","introduced":"2c66daecc4092e6049673c281b2e6f0d5e59a94c","fixed":"1bec5698b55aa2be5c3b983dba657c01d0fd3dbc","status":"affected"},{"type":"git","introduced":"2c66daecc4092e6049673c281b2e6f0d5e59a94c","fixed":"5a59bf70c38ee1eb4be03bab830bbc3a6f0bd1f1","status":"affected"},{"type":"git","introduced":"2c66daecc4092e6049673c281b2e6f0d5e59a94c","fixed":"8d9d9bf3565271ca7ab9c716a94e87296177e7ba","status":"affected"},{"type":"git","introduced":"2c66daecc4092e6049673c281b2e6f0d5e59a94c","fixed":"cc024a3de265ef6c58957f4990eccb9f806208cb","status":"affected"},{"type":"git","introduced":"2c66daecc4092e6049673c281b2e6f0d5e59a94c","fixed":"46ce8be2ced389bccd84bcc04a12cf2f4d0c22d1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.13","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.136","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.83","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.24","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.14","lastAffected":"6.19.*","status":"unaffected"},{"type":"semver","introduced":"7.0.1","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.13","fixed":"6.6.136"},{"status":"affected","introduced":"6.7","fixed":"6.12.83"},{"status":"affected","introduced":"6.13","fixed":"6.18.24"},{"status":"affected","introduced":"6.19","fixed":"6.19.14"},{"status":"affected","introduced":"7.0","fixed":"7.0.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9ba6bb09e00b922d902f684f575779e5433fe6e3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f83b399aa05a0712e3b1569a30d3d90b3533d2ef","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/20663102c14566e900e1d2f679e30b7f1694f387","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2819f34e08bdffb6f06a51c67948ec5737fb166a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1bec5698b55aa2be5c3b983dba657c01d0fd3dbc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a59bf70c38ee1eb4be03bab830bbc3a6f0bd1f1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8d9d9bf3565271ca7ab9c716a94e87296177e7ba","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc024a3de265ef6c58957f4990eccb9f806208cb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46ce8be2ced389bccd84bcc04a12cf2f4d0c22d1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31622","url":"https://www.cve.org/CVERecord?id=CVE-2026-31622","licence":"CVE Terms of Use","modified":"2026-10-15T01:17:15.197Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31622","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31622","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.519Z","epss":{"score":0.00303,"percentile":0.2483,"date":"2026-12-01T12:00:22.000Z"}}