← Back to CVE Explorer

CVE-2026-89516

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: sched_ext: Don't BUG_ON a destroyed DSQ in process_deferred_reenq_users scx_bpf_dsq_reenq() queues a deferred reenq (dru) that runs from run_deferred(), not ops.dispatch(). If the DSQ is destroyed before the dru runs, process_deferred_reenq_users() sees dsq->id == SCX_DSQ_INVALID and hits the BUG_ON. destroy_dsq() doesn't flush pending drus, so just skip. tj: Read dsq->id once with READ_ONCE(). Reading it separately in the INVALID check and the BUG_ON would leave a window where destroy_dsq() can invalidate the id between the two reads and still trigger the BUG_ON.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-11 20:19:34.170000
Last modified
2026-10-19 09:17:46.057000
View original CVE JSON
{
  "id": "CVE-2026-89516",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-11T20:19:34.170",
  "lastModified": "2026-10-19T09:17:46.057",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Don't BUG_ON a destroyed DSQ in process_deferred_reenq_users\n\nscx_bpf_dsq_reenq() queues a deferred reenq (dru) that runs from\nrun_deferred(), not ops.dispatch(). If the DSQ is destroyed before the dru\nruns, process_deferred_reenq_users() sees dsq->id == SCX_DSQ_INVALID and\nhits the BUG_ON. destroy_dsq() doesn't flush pending drus, so just skip.\n\ntj: Read dsq->id once with READ_ONCE(). Reading it separately in the INVALID\n    check and the BUG_ON would leave a window where destroy_dsq() can\n    invalidate the id between the two reads and still trigger the BUG_ON."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "kernel/sched/ext/ext.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "84b1a0ea0b7c23dec240783a592e480780efe459",
              "lessThan": "c480961a1e790b46ffd8c20c4b6754d65ec6572d",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "84b1a0ea0b7c23dec240783a592e480780efe459",
              "lessThan": "8d8dd8ae89eaa78b37fc85528e926029f5facbdf",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "kernel/sched/ext/ext.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "7.1",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "7.1",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.4",
              "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/8d8dd8ae89eaa78b37fc85528e926029f5facbdf",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c480961a1e790b46ffd8c20c4b6754d65ec6572d",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}