drm/nouveau/clk: fix list cursor use after loop in nvkm_clk_ustate_update (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.18 % · percentile 8 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: drm/nouveau/clk: fix list cursor use after loop in nvkm_clk_ustate_update If list_for_each_entry() exits without hitting a break then "pstate" is not a valid pstate pointer. Introduce a "found" variable instead. The check is reachable from userspace: nvkm_clk_ustate_update() takes the pstate id straight from the 'pstate' debugfs file, so requesting an id that is not in clk->states - or any id at all when the perf tables are broken and the list is empty - makes the pstate->pstate != req test dereference the list head cast to a struct nvkm_pstate, which is an out-of-bounds read. [Francesco: rebased on drm-misc-next, expanded the commit message]
References
- https://git.kernel.org/stable/c/db5dd9f47b4df1be322f498d846e9a82940a7390
- https://git.kernel.org/stable/c/9d550924961f61a491dd95359c63494fa8a23d9f
- https://git.kernel.org/stable/c/492e9cfa12f35f7946ea1b78a19f1f9337d62248
- https://git.kernel.org/stable/c/a867abcfa85ab487066c3d3008a1ba905da04113
- https://git.kernel.org/stable/c/5315c7bacfe274ddfe649d9556e9a341ffa812da
- https://git.kernel.org/stable/c/0d096a7f7d79207490858dde731b16da5337e90c
- https://git.kernel.org/stable/c/391517da7fd54ae40e4a7fe1cc696217343b0061
- https://git.kernel.org/stable/c/aff09d9e37e02dc60bde79035ac15b136d602259
European references
- ENISA EUVD · EUVD-2026-103668
- GCVE · GCVE-0-2026-98623
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 : ≥ 7c856522069755ab9d163a24ac332cd3cb35fe30 < db5dd9f47b4df1be322f498d846e9a82940a7390 affected : ≥ 7c856522069755ab9d163a24ac332cd3cb35fe30 < 9d550924961f61a491dd95359c63494fa8a23d9f affected : ≥ 7c856522069755ab9d163a24ac332cd3cb35fe30 < 492e9cfa12f35f7946ea1b78a19f1f9337d62248 affected : ≥ 7c856522069755ab9d163a24ac332cd3cb35fe30 < a867abcfa85ab487066c3d3008a1ba905da04113 affected : ≥ 7c856522069755ab9d163a24ac332cd3cb35fe30 < 5315c7bacfe274ddfe649d9556e9a341ffa812da affected : ≥ 7c856522069755ab9d163a24ac332cd3cb35fe30 < 0d096a7f7d79207490858dde731b16da5337e90c affected : ≥ 7c856522069755ab9d163a24ac332cd3cb35fe30 < 391517da7fd54ae40e4a7fe1cc696217343b0061 affected : ≥ 7c856522069755ab9d163a24ac332cd3cb35fe30 < aff09d9e37e02dc60bde79035ac15b136d602259 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 |