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)
A vulnerability in the Linux kernel scheduler subsystem was resolved that involved improper handling of sub-schedulers that were never linked into the scheduling hierarchy. This flaw could lead to a use-after-free condition when the kernel attempts to walk tasks of a never-linked sub-scheduler during teardown, potentially causing kernel warnings and instability.
AI Analysis
Technical Summary
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.
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
A vulnerability in the Linux kernel scheduler subsystem was resolved that involved improper handling of sub-schedulers that were never linked into the scheduling hierarchy. This flaw could lead to a use-after-free condition when the kernel attempts to walk tasks of a never-linked sub-scheduler during teardown, potentially causing kernel warnings and instability.
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"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8a27f0acd9273b499bc71c
Added to database: 08/22/2026, 22:51:28 UTC
Last enriched: 08/23/2026, 00:39:07 UTC
Last updated: 08/23/2026, 02:12:11 UTC
Views: 3
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.