nfc: port100: reject frames whose declared length exceeds the received data (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 13 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: nfc: port100: reject frames whose declared length exceeds the received data port100_recv_response() passes the URB transfer buffer to port100_rx_frame_is_valid(), which checksums le16_to_cpu(frame->datalen) bytes of frame->data. datalen is a 16-bit field supplied by the device and is never checked against the number of bytes actually received (urb->actual_length), so a device reporting a datalen larger than the received frame makes port100_data_checksum() read out of bounds past the transfer buffer. Reject a response whose declared frame size does not fit the received length before validating it. Found by 0sec (https://0sec.ai) using automated source analysis; the missing bound is evident from source. Compile-tested.
References
- https://git.kernel.org/stable/c/0d482995f0cdd0302450aa300c684c642d8ab31f
- https://git.kernel.org/stable/c/9e8df087826b9999d1b83b06f5d85675d5a69c9e
- https://git.kernel.org/stable/c/db66a30588630c7de30ef033f00daddef69f6ad9
- https://git.kernel.org/stable/c/144ad477c381e2c592b64898d04ab4ce03b32861
- https://git.kernel.org/stable/c/e4da1452e10c6472a4bac48dc2f6a35fff1fcd69
- https://git.kernel.org/stable/c/14b1467cfc6630583650f33538174c5a1ec685ab
- https://git.kernel.org/stable/c/035056e07ea65be670284246d9bc62f2f00ff4a3
- https://git.kernel.org/stable/c/092c6a605cbd6414ef499834c2e0da69c2c3388e
European references
- ENISA EUVD · EUVD-2026-103721
- GCVE · GCVE-0-2026-98481
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1593 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1470 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < 0d482995f0cdd0302450aa300c684c642d8ab31f affected : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < 9e8df087826b9999d1b83b06f5d85675d5a69c9e affected : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < db66a30588630c7de30ef033f00daddef69f6ad9 affected : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < 144ad477c381e2c592b64898d04ab4ce03b32861 affected : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < e4da1452e10c6472a4bac48dc2f6a35fff1fcd69 affected : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < 14b1467cfc6630583650f33538174c5a1ec685ab affected : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < 035056e07ea65be670284246d9bc62f2f00ff4a3 affected : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < 092c6a605cbd6414ef499834c2e0da69c2c3388e Other versions : unaffected |
| Linux · Linux | affected : 3.13 unaffected : ≥ 0 < 3.13 unaffected : ≥ 5.10.271 ≤ 5.10.* unaffected : ≥ 5.15.222 ≤ 5.15.* unaffected : ≥ 6.1.189 ≤ 6.1.* unaffected : ≥ 6.6.158 ≤ 6.6.* unaffected : ≥ 6.12.112 ≤ 6.12.* unaffected : ≥ 6.18.55 ≤ 6.18.* unaffected : ≥ 7.2.9 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |