← Back to CVE Explorer

CVE-2026-98623

Full vulnerability record from the local CVENow database.

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]

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:15.237000
Last modified
2026-10-19 10:19:26.460000
View original CVE JSON
{
  "id": "CVE-2026-98623",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-18T16:17:15.237",
  "lastModified": "2026-10-19T10:19:26.460",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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->states - or any id at all when the perf tables are\nbroken and the list is empty - makes the pstate->pstate != 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]"
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "7c856522069755ab9d163a24ac332cd3cb35fe30",
              "lessThan": "db5dd9f47b4df1be322f498d846e9a82940a7390",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7c856522069755ab9d163a24ac332cd3cb35fe30",
              "lessThan": "9d550924961f61a491dd95359c63494fa8a23d9f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7c856522069755ab9d163a24ac332cd3cb35fe30",
              "lessThan": "492e9cfa12f35f7946ea1b78a19f1f9337d62248",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7c856522069755ab9d163a24ac332cd3cb35fe30",
              "lessThan": "a867abcfa85ab487066c3d3008a1ba905da04113",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7c856522069755ab9d163a24ac332cd3cb35fe30",
              "lessThan": "5315c7bacfe274ddfe649d9556e9a341ffa812da",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7c856522069755ab9d163a24ac332cd3cb35fe30",
              "lessThan": "0d096a7f7d79207490858dde731b16da5337e90c",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7c856522069755ab9d163a24ac332cd3cb35fe30",
              "lessThan": "391517da7fd54ae40e4a7fe1cc696217343b0061",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7c856522069755ab9d163a24ac332cd3cb35fe30",
              "lessThan": "aff09d9e37e02dc60bde79035ac15b136d602259",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "3.13",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "3.13",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.271",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.222",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.189",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.158",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.112",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.55",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.9",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/0d096a7f7d79207490858dde731b16da5337e90c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/391517da7fd54ae40e4a7fe1cc696217343b0061",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/492e9cfa12f35f7946ea1b78a19f1f9337d62248",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/5315c7bacfe274ddfe649d9556e9a341ffa812da",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/9d550924961f61a491dd95359c63494fa8a23d9f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a867abcfa85ab487066c3d3008a1ba905da04113",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/aff09d9e37e02dc60bde79035ac15b136d602259",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/db5dd9f47b4df1be322f498d846e9a82940a7390",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}