CVE-2026-98623

drm/nouveau/clk: fix list cursor use after loop in nvkm_clk_ustate_update

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7c856522069755ab9d163a24ac332cd3cb35fe30 to before db5dd9f47b4df1be322f498d846e9a82940a7390Affected
  • 7c856522069755ab9d163a24ac332cd3cb35fe30 to before 9d550924961f61a491dd95359c63494fa8a23d9fAffected
  • 7c856522069755ab9d163a24ac332cd3cb35fe30 to before 492e9cfa12f35f7946ea1b78a19f1f9337d62248Affected
  • 7c856522069755ab9d163a24ac332cd3cb35fe30 to before a867abcfa85ab487066c3d3008a1ba905da04113Affected
  • 7c856522069755ab9d163a24ac332cd3cb35fe30 to before 5315c7bacfe274ddfe649d9556e9a341ffa812daAffected
  • 7c856522069755ab9d163a24ac332cd3cb35fe30 to before 0d096a7f7d79207490858dde731b16da5337e90cAffected
  • 7c856522069755ab9d163a24ac332cd3cb35fe30 to before 391517da7fd54ae40e4a7fe1cc696217343b0061Affected
  • 7c856522069755ab9d163a24ac332cd3cb35fe30 to before aff09d9e37e02dc60bde79035ac15b136d602259Affected
LinuxLinux
  • 3.13Affected
  • before 3.13Not affected
  • 5.10.271 through 5.10.*Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.55 through 6.18.*Not affected
  • 7.2.9 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.