nfc: port100: reject frames whose declared length exceeds the received data (Linux Linux)

CVE-2026-98481
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < 0d482995f0cdd0302450aa300c684c642d8ab31f
affectée : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < 9e8df087826b9999d1b83b06f5d85675d5a69c9e
affectée : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < db66a30588630c7de30ef033f00daddef69f6ad9
affectée : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < 144ad477c381e2c592b64898d04ab4ce03b32861
affectée : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < e4da1452e10c6472a4bac48dc2f6a35fff1fcd69
affectée : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < 14b1467cfc6630583650f33538174c5a1ec685ab
affectée : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < 035056e07ea65be670284246d9bc62f2f00ff4a3
affectée : ≥ 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 < 092c6a605cbd6414ef499834c2e0da69c2c3388e
Autres versions : non affectée
Linux · Linux
affectée : 3.13
non affectée : ≥ 0 < 3.13
non affectée : ≥ 5.10.271 ≤ 5.10.*
non affectée : ≥ 5.15.222 ≤ 5.15.*
non affectée : ≥ 6.1.189 ≤ 6.1.*
non affectée : ≥ 6.6.158 ≤ 6.6.*
non affectée : ≥ 6.12.112 ≤ 6.12.*
non affectée : ≥ 6.18.55 ≤ 6.18.*
non affectée : ≥ 7.2.9 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD