# CVE-2026-89516: sched_ext: Don't BUG_ON a destroyed DSQ in process_deferred_reenq_users

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-09-11T19:43:59.941Z
- Modified: 2026-10-19T09:17:46.057Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 84b1a0ea0b7c23dec240783a592e480780efe459 before c480961a1e790b46ffd8c20c4b6754d65ec6572d; from 84b1a0ea0b7c23dec240783a592e480780efe459 before 8d8dd8ae89eaa78b37fc85528e926029f5facbdf; 7.1 (not affected: before 7.1; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/c480961a1e790b46ffd8c20c4b6754d65ec6572d>
- <https://git.kernel.org/stable/c/8d8dd8ae89eaa78b37fc85528e926029f5facbdf>

## Sources

- CVE List: [CVE-2026-89516](https://www.cve.org/CVERecord?id=CVE-2026-89516), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89516](https://nvd.nist.gov/vuln/detail/CVE-2026-89516), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89516 · Whole record: https://cve.day/CVE-2026-89516.json · Rebuilt by cve.day 2026-11-25T22:59:38.049Z
