In the Linux kernel, the following vulnerability has been resolved: sched_ext: Take cgroup_lock() first in scx_cgroup_lock() scx_cgroup_lock()… (CVE-2026-74593)
A deadlock vulnerability in the Linux kernel's sched_ext subsystem was resolved by changing the locking order in the scx_cgroup_lock() function. The issue involved a potential deadlock caused by acquiring cgroup_lock() after write-locking scx_cgroup_ops_rwsem, which could lead to circular wait conditions involving cgroup_mutex and kernfs locks. The fix ensures cgroup_lock() is taken first, preventing the deadlock scenario.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's sched_ext component was due to an incorrect locking order in the scx_cgroup_lock() function. The function originally write-locked scx_cgroup_ops_rwsem before acquiring cgroup_lock(), which could cause a deadlock involving cgroup_mutex and kernfs locks during operations such as enabling/disabling sched_ext, cgroup directory removal, and cpu.weight writes. The deadlock arises because the enable path waits for rmdir to release cgroup_mutex, rmdir waits in kernfs_drain() for an active reference held by the write operation, and the write operation waits on the rwsem locked by the pending writer. The fix changes the locking order to acquire cgroup_lock() first, ensuring that pending write-locks only wait for read sections that complete without circular dependencies, thus eliminating the deadlock.
Potential Impact
This vulnerability could cause a kernel deadlock, potentially leading to system hangs or denial of service conditions when the affected locking sequence is triggered. There is no indication of privilege escalation or code execution impact. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented that changes the locking order in scx_cgroup_lock() to acquire cgroup_lock() first, preventing the deadlock. Users should update their Linux kernel to a version that includes this fix once available. Patch status is not yet confirmed from vendor advisories; check official Linux kernel release notes or vendor advisories for the fixed versions and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Take cgroup_lock() first in scx_cgroup_lock() scx_cgroup_lock()… (CVE-2026-74593)
Description
A deadlock vulnerability in the Linux kernel's sched_ext subsystem was resolved by changing the locking order in the scx_cgroup_lock() function. The issue involved a potential deadlock caused by acquiring cgroup_lock() after write-locking scx_cgroup_ops_rwsem, which could lead to circular wait conditions involving cgroup_mutex and kernfs locks. The fix ensures cgroup_lock() is taken first, preventing the deadlock scenario.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's sched_ext component was due to an incorrect locking order in the scx_cgroup_lock() function. The function originally write-locked scx_cgroup_ops_rwsem before acquiring cgroup_lock(), which could cause a deadlock involving cgroup_mutex and kernfs locks during operations such as enabling/disabling sched_ext, cgroup directory removal, and cpu.weight writes. The deadlock arises because the enable path waits for rmdir to release cgroup_mutex, rmdir waits in kernfs_drain() for an active reference held by the write operation, and the write operation waits on the rwsem locked by the pending writer. The fix changes the locking order to acquire cgroup_lock() first, ensuring that pending write-locks only wait for read sections that complete without circular dependencies, thus eliminating the deadlock.
Potential Impact
This vulnerability could cause a kernel deadlock, potentially leading to system hangs or denial of service conditions when the affected locking sequence is triggered. There is no indication of privilege escalation or code execution impact. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented that changes the locking order in scx_cgroup_lock() to acquire cgroup_lock() first, preventing the deadlock. Users should update their Linux kernel to a version that includes this fix once available. Patch status is not yet confirmed from vendor advisories; check official Linux kernel release notes or vendor advisories for the fixed versions and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-jp6g-jm55-gwj8
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74593"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8a27f3acd9273b499bc8ae
Added to database: 08/22/2026, 22:51:31 UTC
Last enriched: 08/22/2026, 23:10:41 UTC
Last updated: 08/23/2026, 01:50:09 UTC
Views: 4
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.