CVE-2026-139744
cgroup: Make the offline drain interruptible
AI summary AI generated
A local user can leave cgroup control-file writes stuck in uninterruptible sleep while an exiting task waits, so the Linux kernel cgroup subsystem hangs; the drain is made interruptible.
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 1dffd95575eb05bc7ec20ec096ce73be4c5d1ed5, < 67757cbc8a5371e804a8229c41bf0f5bf767ff4a; >= 1dffd95575eb05bc7ec20ec096ce73be4c5d1ed5, < c367ce5b31ffd4d958f3f6c5fe1c9e820dc9f526
- Anyone running Linux 7.2
Vulnerability facts
- Affected
- Linux >= 1dffd95575eb05bc7ec20ec096ce73be4c5d1ed5, < 67757cbc8a5371e804a8229c41bf0f5bf767ff4a; >= 1dffd95575eb05bc7ec20ec096ce73be4c5d1ed5, < c367ce5b31ffd4d958f3f6c5fe1c9e820dc9f526; Linux 7.2
- Fixed in
- Linux 67757cbc8a5371e804a8229c41bf0f5bf767ff4a
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: cgroup: Make the offline drain interruptible cgroup_subtree_control_write() and cgroup_type_write() drain dying csses from the subtree before re-applying control, so that a controller being re-enabled gets a fresh css instead of adopting one that is still dying. The drain waits for offline_css() in TASK_UNINTERRUPTIBLE. Since 1dffd95575eb ("cgroup: Defer kill_css_finish() in cgroup_apply_control_disable()"), a disabled css offlines only after every task that still pins it has finished exiting. The root cause of the hang is an indefinite wait in a place where indefinite waits should not happen: a task past exit_signals() can block in its exit path for as long as, say, a FUSE daemon takes to answer a flush, and nothing can interrupt it because prepare_signal() drops every signal for an exiting group. The drain then escalated that into an uninterruptible wait for the writer, which sits in D state for as long as the exiting task does. That is the hang syzbot reports as "task hung in cgroup_subtree_control_write". Make the drain interruptible. Nothing has been modified when it runs, so the write restarts or fails with EINTR without side effects. cgroup1 mount and remount drain the same way and become interruptible too. cgroup_destroy_root() drains from a workqueue where no signal is ever pending and keeps waiting as before. This only stops the escalation. The write still waits for the exiting tasks, and the indefinite wait in the exit path remains a separate problem.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-139744. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-139744.md Affected: Linux >= 1dffd95575eb05bc7ec20ec096ce73be4c5d1ed5, < 67757cbc8a5371e804a8229c41bf0f5bf767ff4a; >= 1dffd95575eb05bc7ec20ec096ce73be4c5d1ed5, < c367ce5b31ffd4d958f3f6c5fe1c9e820dc9f526; Linux 7.2 Fixed in: Linux 67757cbc8a5371e804a8229c41bf0f5bf767ff4a 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.
Technologies
References
FAQ
Is CVE-2026-139744 being exploited?
There is no confirmed exploitation: CVE-2026-139744 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-139744?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-139744?
Linux >= 1dffd95575eb05bc7ec20ec096ce73be4c5d1ed5, < 67757cbc8a5371e804a8229c41bf0f5bf767ff4a; >= 1dffd95575eb05bc7ec20ec096ce73be4c5d1ed5, < c367ce5b31ffd4d958f3f6c5fe1c9e820dc9f526; Linux 7.2.
Is there a fix for CVE-2026-139744?
Yes. Fixed in Linux 67757cbc8a5371e804a8229c41bf0f5bf767ff4a. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-139744?
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |