{"id":"CVE-2026-89516","state":"PUBLISHED","title":"sched_ext: Don't BUG_ON a destroyed DSQ in process_deferred_reenq_users","description":"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.","publishedAt":"2026-09-11T19:43:59.941Z","updatedAt":"2026-10-19T08:48:07.582Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"84b1a0ea0b7c23dec240783a592e480780efe459","status":"affected","lessThan":"c480961a1e790b46ffd8c20c4b6754d65ec6572d","versionType":"git"},{"version":"84b1a0ea0b7c23dec240783a592e480780efe459","status":"affected","lessThan":"8d8dd8ae89eaa78b37fc85528e926029f5facbdf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/ext/ext.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.1","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/ext/ext.c"]}],"references":["https://git.kernel.org/stable/c/c480961a1e790b46ffd8c20c4b6754d65ec6572d","https://git.kernel.org/stable/c/8d8dd8ae89eaa78b37fc85528e926029f5facbdf"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89516.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89516","state":"PUBLISHED","datePublished":"2026-09-11T19:43:59.941Z","dateUpdated":"2026-10-19T08:48:07.582Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.717Z"},"containers":{"cna":{"title":"sched_ext: Don't BUG_ON a destroyed DSQ in process_deferred_reenq_users","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":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"84b1a0ea0b7c23dec240783a592e480780efe459","status":"affected","lessThan":"c480961a1e790b46ffd8c20c4b6754d65ec6572d","versionType":"git"},{"version":"84b1a0ea0b7c23dec240783a592e480780efe459","status":"affected","lessThan":"8d8dd8ae89eaa78b37fc85528e926029f5facbdf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/ext/ext.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.1","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["kernel/sched/ext/ext.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c480961a1e790b46ffd8c20c4b6754d65ec6572d"},{"url":"https://git.kernel.org/stable/c/8d8dd8ae89eaa78b37fc85528e926029f5facbdf"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:48:07.582Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.2.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}