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

Summary

CVECVE-2026-98623
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-18 16:17:15 UTC
Updated2026-10-19 10:19:26 UTC
DescriptionIn 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]

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 7c856522069755ab9d163a24ac332cd3cb35fe30 db5dd9f47b4df1be322f498d846e9a82940a7390 git Not specified
CNA Linux Linux affected 7c856522069755ab9d163a24ac332cd3cb35fe30 9d550924961f61a491dd95359c63494fa8a23d9f git Not specified
CNA Linux Linux affected 7c856522069755ab9d163a24ac332cd3cb35fe30 492e9cfa12f35f7946ea1b78a19f1f9337d62248 git Not specified
CNA Linux Linux affected 7c856522069755ab9d163a24ac332cd3cb35fe30 a867abcfa85ab487066c3d3008a1ba905da04113 git Not specified
CNA Linux Linux affected 7c856522069755ab9d163a24ac332cd3cb35fe30 5315c7bacfe274ddfe649d9556e9a341ffa812da git Not specified
CNA Linux Linux affected 7c856522069755ab9d163a24ac332cd3cb35fe30 0d096a7f7d79207490858dde731b16da5337e90c git Not specified
CNA Linux Linux affected 7c856522069755ab9d163a24ac332cd3cb35fe30 391517da7fd54ae40e4a7fe1cc696217343b0061 git Not specified
CNA Linux Linux affected 7c856522069755ab9d163a24ac332cd3cb35fe30 aff09d9e37e02dc60bde79035ac15b136d602259 git Not specified
CNA Linux Linux affected 3.13 Not specified
CNA Linux Linux unaffected 3.13 semver Not specified
CNA Linux Linux unaffected 5.10.271 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.222 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.189 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.158 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.112 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.55 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.9 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/db5dd9f47b4df1be322f498d846e9a82940a7390 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0d096a7f7d79207490858dde731b16da5337e90c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/391517da7fd54ae40e4a7fe1cc696217343b0061 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/492e9cfa12f35f7946ea1b78a19f1f9337d62248 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5315c7bacfe274ddfe649d9556e9a341ffa812da 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/aff09d9e37e02dc60bde79035ac15b136d602259 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a867abcfa85ab487066c3d3008a1ba905da04113 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9d550924961f61a491dd95359c63494fa8a23d9f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report