{"id":"CVE-2026-98623","summary":"drm/nouveau/clk: fix list cursor use after loop in nvkm_clk_ustate_update","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau/clk: fix list cursor use after loop in nvkm_clk_ustate_update\n\nIf list_for_each_entry() exits without hitting a break then \"pstate\" is\nnot a valid pstate pointer.  Introduce a \"found\" variable instead.\n\nThe check is reachable from userspace: nvkm_clk_ustate_update() takes the\npstate id straight from the 'pstate' debugfs file, so requesting an id\nthat is not in clk-\u003estates - or any id at all when the perf tables are\nbroken and the list is empty - makes the pstate-\u003epstate != req test\ndereference the list head cast to a struct nvkm_pstate, which is an\nout-of-bounds read.\n\n[Francesco: rebased on drm-misc-next, expanded the commit message]","modified":"2026-10-19T02:46:58.854017236Z","published":"2026-10-18T15:19:44.744Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98623.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0d096a7f7d79207490858dde731b16da5337e90c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/391517da7fd54ae40e4a7fe1cc696217343b0061"},{"type":"WEB","url":"https://git.kernel.org/stable/c/492e9cfa12f35f7946ea1b78a19f1f9337d62248"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5315c7bacfe274ddfe649d9556e9a341ffa812da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d550924961f61a491dd95359c63494fa8a23d9f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a867abcfa85ab487066c3d3008a1ba905da04113"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aff09d9e37e02dc60bde79035ac15b136d602259"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db5dd9f47b4df1be322f498d846e9a82940a7390"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98623.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98623"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7c856522069755ab9d163a24ac332cd3cb35fe30"},{"fixed":"db5dd9f47b4df1be322f498d846e9a82940a7390"},{"fixed":"9d550924961f61a491dd95359c63494fa8a23d9f"},{"fixed":"492e9cfa12f35f7946ea1b78a19f1f9337d62248"},{"fixed":"a867abcfa85ab487066c3d3008a1ba905da04113"},{"fixed":"5315c7bacfe274ddfe649d9556e9a341ffa812da"},{"fixed":"0d096a7f7d79207490858dde731b16da5337e90c"},{"fixed":"391517da7fd54ae40e4a7fe1cc696217343b0061"},{"fixed":"aff09d9e37e02dc60bde79035ac15b136d602259"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98623.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.13.0"},{"fixed":"5.10.271"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98623.json"}}],"schema_version":"1.9.0"}