# CVE-2026-74593: sched\_ext: Take cgroup\_lock() first in scx\_cgroup\_lock()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-08-22T15:31:44.160Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, \< 2ca6b43edf83f8fc368cc3094ee5f3b1e8e0b0f0; \>= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, \< a054c9ffa9b7a0dffb763837b91ac9d381ec6d10; \>= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, \< 5f8b69642d18e1f3e11996707842ac530444e959
- Anyone running Linux 6.18

## Description

In the Linux kernel, the following vulnerability has been resolved:

sched\_ext: Take cgroup\_lock() first in scx\_cgroup\_lock()

scx\_cgroup\_lock() write-locks scx\_cgroup\_ops\_rwsem and then takes
cgroup\_lock(), which can deadlock through kernfs:

  scx enable/disable         cgroup rmdir           cpu.weight write
  ------------------         ------------           ----------------
                             cgroup\_lock()
  percpu\_down\_write(rwsem)
  cgroup\_lock()
                                                    kernfs\_get\_active()
                                                    percpu\_down\_read(rwsem)
                             kernfs\_drain()

The enable path waits for the rmdir to release cgroup\_mutex. The rmdir,
deactivating the cpu controller's files, waits in kernfs\_drain() for the
write's active reference. The write, in scx\_group\_set\_weight(), waits for
the rwsem behind the pending writer.

Take cgroup\_lock() first. The set\_\* paths take no cgroup locks inside the
read side, so a pending write-lock then only waits for read sections that
always run to completion, and no dependency from the rwsem back to
cgroup\_mutex remains.

## Affected and fixed versions

- Linux: \>= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, \< 2ca6b43edf83f8fc368cc3094ee5f3b1e8e0b0f0; \>= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, \< a054c9ffa9b7a0dffb763837b91ac9d381ec6d10; \>= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, \< 5f8b69642d18e1f3e11996707842ac530444e959 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 5f8b69642d18e1f3e11996707842ac530444e959 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74593. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74593.md
Affected: Linux >= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, < 2ca6b43edf83f8fc368cc3094ee5f3b1e8e0b0f0; >= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, < a054c9ffa9b7a0dffb763837b91ac9d381ec6d10; >= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, < 5f8b69642d18e1f3e11996707842ac530444e959; Linux 6.18
Fixed in: Linux 2ca6b43edf83f8fc368cc3094ee5f3b1e8e0b0f0, Linux 5f8b69642d18e1f3e11996707842ac530444e959

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74593 being exploited?

There is no confirmed exploitation: CVE-2026-74593 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74593?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74593?

Linux \>= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, \< 2ca6b43edf83f8fc368cc3094ee5f3b1e8e0b0f0; \>= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, \< a054c9ffa9b7a0dffb763837b91ac9d381ec6d10; \>= a5bd6ba30b3364354269b81ac55c2edca9a96d6d, \< 5f8b69642d18e1f3e11996707842ac530444e959; Linux 6.18.

### Is there a fix for CVE-2026-74593?

Yes. Fixed in Linux 2ca6b43edf83f8fc368cc3094ee5f3b1e8e0b0f0, Linux 5f8b69642d18e1f3e11996707842ac530444e959. Upgrade Linux to 5f8b69642d18e1f3e11996707842ac530444e959 or later.

### How do I check if I'm affected by CVE-2026-74593?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/2ca6b43edf83f8fc368cc3094ee5f3b1e8e0b0f0>
- other: <https://git.kernel.org/stable/c/a054c9ffa9b7a0dffb763837b91ac9d381ec6d10>
- other: <https://git.kernel.org/stable/c/5f8b69642d18e1f3e11996707842ac530444e959>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74593>

HTML: <https://flawdb.com/CVE-2026-74593> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74593>
