# CVE-2026-98623: drm/nouveau/clk: fix list cursor use after loop in nvkm_clk_ustate_update

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 7% of CVEs (2026-11-30)
- Published: 2026-10-18T15:19:44.744Z
- Modified: 2026-10-19T10:19:26.460Z
- Assigned by: Linux

## 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]

(As written by CVE List.)

## Affected

- Linux Linux: from 7c856522069755ab9d163a24ac332cd3cb35fe30 before db5dd9f47b4df1be322f498d846e9a82940a7390; from 7c856522069755ab9d163a24ac332cd3cb35fe30 before 9d550924961f61a491dd95359c63494fa8a23d9f; from 7c856522069755ab9d163a24ac332cd3cb35fe30 before 492e9cfa12f35f7946ea1b78a19f1f9337d62248; from 7c856522069755ab9d163a24ac332cd3cb35fe30 before a867abcfa85ab487066c3d3008a1ba905da04113; from 7c856522069755ab9d163a24ac332cd3cb35fe30 before 5315c7bacfe274ddfe649d9556e9a341ffa812da; from 7c856522069755ab9d163a24ac332cd3cb35fe30 before 0d096a7f7d79207490858dde731b16da5337e90c; from 7c856522069755ab9d163a24ac332cd3cb35fe30 before 391517da7fd54ae40e4a7fe1cc696217343b0061; from 7c856522069755ab9d163a24ac332cd3cb35fe30 before aff09d9e37e02dc60bde79035ac15b136d602259; 3.13 (not affected: before 3.13; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.55 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-98623](https://www.cve.org/CVERecord?id=CVE-2026-98623), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98623](https://nvd.nist.gov/vuln/detail/CVE-2026-98623), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98623 · Whole record: https://cve.day/CVE-2026-98623.json · Rebuilt by cve.day 2026-11-25T22:59:45.248Z
