nfc: pn533: fix OOB read in pn533_acr122_is_rx_frame_valid() (Linux Linux)

CVE-2026-98575
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 12 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: nfc: pn533: fix OOB read in pn533_acr122_is_rx_frame_valid() frame->ccid.datalen is read directly from the USB response frame and used, unchecked, as an index into frame->data[]. A malicious or malfunctioning device can set this field to an arbitrary value, causing the driver to read far outside the received buffer. Bound ccid.datalen against the maximum possible ACR122 frame size before using it. This replaces the existing datalen == 0 check, since datalen < 2 already covers that case and additionally rejects datalen == 1, which would still underflow the "datalen - 2" offset used below.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc < 8db3b1e012a8b25078dfa1efabe3d0cd2916dcba ; affected 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc < 74b3fbc60907ee97e3af3249091f57351b53a6d6 ; affected 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc < 8a0f1bb790d964893db7fc59febda9a534db07b3 ; affected 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc < ea82b7576793219fa10a8b545f8338998b2a9ce2 ; affected 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc < 72b8b2126e854d6756a1aa4bdc66d7457b832294 ; affected 9815c7cf22daceabfb919ddcd6f2c80e049c1fbc < e72cbedc4596e808d22dd2b9fff666ece76f8dd6
Linux · Linuxaffected 4.7 ; unaffected 0 < 4.7 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

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