fpga: dfl: add bounds check in dfh_get_param_size() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.21 % · centile 11 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: fpga: dfl: add bounds check in dfh_get_param_size() dfh_get_param_size() can return a parameter size larger than the feature region because the loop bounds check is evaluated before incrementing size. If the EOP (End of Parameters) bit is set in the same iteration, the inflated size is returned without re-validation against max. This can cause create_feature_instance() to call memcpy_fromio() with a size exceeding the ioremap'd region when a malicious FPGA device provides crafted DFHv1 parameter headers. Add a bounds check after the size increment to ensure the accumulated size never exceeds the feature boundary.
Références
- https://git.kernel.org/stable/c/b2f6220e929b2a43605331d0139e65dc1640c05c
- https://git.kernel.org/stable/c/3b622aa447cf26104f96a8be39539367863bc6b6
- https://git.kernel.org/stable/c/012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68
- https://git.kernel.org/stable/c/f3df5386e3bb54626c117bd85e0158d45fb4aea9
- https://git.kernel.org/stable/c/9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a
Références européennes
- ENISA EUVD · EUVD-2026-58916
- GCVE · GCVE-0-2026-72158
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 4747ab89b4a652f835494fcf8342aaa0efb9b0fd < b2f6220e929b2a43605331d0139e65dc1640c05c ; affected 4747ab89b4a652f835494fcf8342aaa0efb9b0fd < 3b622aa447cf26104f96a8be39539367863bc6b6 ; affected 4747ab89b4a652f835494fcf8342aaa0efb9b0fd < 012683accbb7d2bcf1264f2a0ecd6aa1dcea4d68 ; affected 4747ab89b4a652f835494fcf8342aaa0efb9b0fd < f3df5386e3bb54626c117bd85e0158d45fb4aea9 ; affected 4747ab89b4a652f835494fcf8342aaa0efb9b0fd < 9e8bc49f91f3f81d957c4f1c1f09fe94e2f88f6a |
| Linux · Linux | affected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.97 ≤ 6.12.* ; unaffected 6.18.40 ≤ 6.18.* ; unaffected 7.1.5 ≤ 7.1.* |
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 |