media: i2c: ov02a10: fix endpoint parsing use-after-free (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.16 % · centile 5 ()
- É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: media: i2c: ov02a10: fix endpoint parsing use-after-free The ov02a10_check_hwcfg() function calls fwnode_handle_put(ep) immediately after allocating and parsing the endpoint. However, it subsequently calls fwnode_property_read_u32() using the same 'ep' handle, leading to a potential use-after-free. Additionally, reading the optional 'ovti,mipi-clock-voltage' property used to overwrite the 'ret' variable. If the property was missing, 'ret' would become negative, and this failure code would be incorrectly returned at the end of the function, causing probe to fail entirely. Fix the use-after-free by moving fwnode_property_read_u32() before the endpoint is parsed and freed. Avoid the error leak by not assigning the result of fwnode_property_read_u32() to 'ret'.
Références
- https://git.kernel.org/stable/c/9de48ba68f56de9fe20ebd3f9728d22af25f9a91
- https://git.kernel.org/stable/c/8ddb3b69f67b0632ff3830da18de3e8dcaf5884b
- https://git.kernel.org/stable/c/4c2988bf1ad2753240a38db10ce23e87ec542f8f
- https://git.kernel.org/stable/c/213b2489130357c8d3e8d4fb2bdab88791ce3185
- https://git.kernel.org/stable/c/90f9b421fc6d4f2edab7521efdb1e58571468d33
- https://git.kernel.org/stable/c/6e13784452785cd8402b228bea53bc6a027ade84
- https://git.kernel.org/stable/c/94971ba0592ca77ec99b292226a4b398763315b8
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-80488
- GCVE · GCVE-0-2026-89888
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 91807efbe8ec7f591085067d9f96a112e015274b < 9de48ba68f56de9fe20ebd3f9728d22af25f9a91 ; affected 91807efbe8ec7f591085067d9f96a112e015274b < 8ddb3b69f67b0632ff3830da18de3e8dcaf5884b ; affected 91807efbe8ec7f591085067d9f96a112e015274b < 4c2988bf1ad2753240a38db10ce23e87ec542f8f ; affected 91807efbe8ec7f591085067d9f96a112e015274b < 213b2489130357c8d3e8d4fb2bdab88791ce3185 ; affected 91807efbe8ec7f591085067d9f96a112e015274b < 90f9b421fc6d4f2edab7521efdb1e58571468d33 ; affected 91807efbe8ec7f591085067d9f96a112e015274b < 6e13784452785cd8402b228bea53bc6a027ade84 |
| Linux · Linux | affected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.110 ≤ 6.12.* |
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 |