In the Linux kernel, the following vulnerability has been resolved: sched_ext: Skip sub-disable teardown for never-linked sub-schedulers A… (CVE-2026-74731)
Description
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Skip sub-disable teardown for never-linked sub-schedulers A sub-scheduler enable can fail before scx_link_sched() links the sched into the hierarchy, e.g. when the parent is already being disabled, and cleanup still runs the full scx_sub_disable(). That is racy against root disable: drain_descendants() is the only ordering between a sub's disable-time task walk and root disable's all-task teardown, and an unlinked sub is invisible to it. Root's teardown can thus run between the never-linked sub's drain and its walk, exiting every task to no scheduler. The walk then trips the membership WARN and re-homes the exited tasks onto the dying hierarchy, a use-after-free. Skip the cgroup ownership reset and the task walk if @sch was never linked, indicated by the empty ->sibling as unlinking only happens later in the same function. The membership WARN remains valid: a linked sub is always waited on by an ancestor's drain.
CVSS v3.1
Score 7.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability occurs in the Linux kernel's scheduler extension (sched_ext) where a sub-scheduler enable operation can fail before the sub-scheduler is linked into the scheduling hierarchy. If the parent scheduler is being disabled concurrently, the cleanup routine still runs the full sub-scheduler disable function (scx_sub_disable). Because the sub-scheduler was never linked, it is invisible to the root disable's task walk ordering, allowing the root teardown to run between the sub-scheduler's drain and task walk. This results in tasks being exited without a scheduler and subsequently re-homed onto a dying hierarchy, causing a use-after-free. The fix involves skipping the cgroup ownership reset and task walk for sub-schedulers that were never linked, preventing the use-after-free while maintaining valid warnings for linked sub-schedulers.
Potential Impact
This vulnerability can cause kernel instability due to a use-after-free condition in the scheduler subsystem. While no direct exploit in the wild is known, the flaw could lead to system crashes or unpredictable behavior if triggered.
Mitigation Recommendations
A fix has been applied in the Linux kernel to skip the teardown steps for sub-schedulers that were never linked, preventing the use-after-free condition. Users should update to the fixed kernel version once available. Since no patch links were provided, check the official Linux kernel advisories or distribution updates for the specific fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-39hf-rf3c-rjqv
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74731"]
Threat ID: 6a8a27f0acd9273b499bc71c
Added to database: 08/22/2026, 22:51:28 UTC
Last enriched: 08/23/2026, 00:39:07 UTC
Last updated: 10/06/2026, 06:48:20 UTC
Views: 48
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.