CVE-2026-139144
published high CVSS 3.1 · 7.0blk-iolatency: flush enable_work after going offline
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8a177a36da6c54c98b8685d4f914cb3637d53c0d to < 291a540566035835f8da42c6e68a8bdb89b04d98 · 8a177a36da6c54c98b8685d4f914cb3637d53c0d to < 68a4ccb37c1249e8c03c8b9152dcc46a0f6d8cb7 · 8a177a36da6c54c98b8685d4f914cb3637d53c0d to < e35f02c7e7e2b248fa2c8034240eb31a48a9403b · 8a177a36da6c54c98b8685d4f914cb3637d53c0d to < 9debb2a0b8af1f13f30ef059bda305d4e95a6db8 · 8a177a36da6c54c98b8685d4f914cb3637d53c0d to < 020f61242d6ebeba5f8f2ef6e429aeffdd63f1c1 · 515d077ee3085ae343b6bea7fd031f9906645f38 · d19fa8f252000d141f9199ca32959c50314e1f05 · 77692c02e1517c54f2fd0535f41aa4286ac9f140 · a30acbb5dfb7bcc813ad6a18ca31011ac44e5547 · 968f7a239c590454ffba79c126fbe0e963a0ba78 · 5b0ff3ebbef791341695b718f8d2870869cf1d01 · 4.19.247 to < 4.20 · 5.4.198 to < 5.5 · 5.10.121 to < 5.11 · 5.15.46 to < 5.16 · 5.17.14 to < 5.18 · 5.18.3 to < 5.19 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.19 (affected) · 0 to < 5.19 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: blk-iolatency: flush enable_work after going offline blkcg_iolatency_exit() flushes enable_work before it deactivates the policy, but iolatency_pd_offline() schedules it again for the last group with a target, so the blk_iolatency is freed with the work queued. Flush it after the deactivation.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - Both ingredients are local. The io.latency target is written through cgroupfs (iolatency_set_limit), and disk deletion runs del_gendisk -> rq_qos_exit -> blkcg_iolatency_exit. No remote protocol carries the input. A remote NVMe-oF target can drop a namespace, but it cannot create the host io.latency setting this needs. AC:H - A non-root attacker needs the io controller delegated to their cgroup, which is an admin opt-in: systemd [email protected] delegates only pids, memory and cpu. With that in place the UAF is deterministic. iolatency_pd_offline() requeues enable_work during blkcg_deactivate_policy(), and kfree(blkiolat) follows before the kworker can run. PR:L - cgroup_file_write() and blkg_conf_open_bdev() do no capability or device-permission check, so an unprivileged owner of a delegated cgroup can set target= on any whole disk by MAJ:MIN. The udisks loop-setup and encrypted-unlock actions are allowed for active sessions. Locking the dm-crypt device then reaches cleanup_mapped_device() -> del_gendisk() without root. UI:N - The attacker performs every step: configuring io.latency in their own child cgroup, creating the dm-crypt disk on a loop image, and locking it to delete the disk. No victim action is needed. S:U - The freed blk_iolatency and the workqueue that runs enable_work are both in the same kernel. Corrupting them is a kernel privilege escalation inside one security authority, with no VM or IOMMU boundary crossed. C:H - blk_iolatency (kmalloc-128) is freed while its enable_work is still queued. blkiolatency_enable_work_fn() then reads enable_cnt, enabled and rqos.disk from the freed slot. If the slot is reallocated, the attacker controls those fields, which yields kernel read primitives. I:H - The kworker writes into the freed slot: it stores ->enabled and process_one_work stores the work data and pool bits, corrupting whatever object now lives there. It also calls blk_mq_freeze_queue on a disk pointer read from that memory. A reclaimed slot supplies work->func and the worklist pointers, giving control-flow hijack. A:H - Every deletion of a disk with an online io.latency group queues work on freed memory. The result is a KASAN slab-use-after-free, workqueue list corruption when init_on_free zeroes the entry, or an oops from a stale disk or queue dereference.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8a177a36da6c54c98b8685d4f914cb3637d53c0d to < 291a540566035835f8da42c6e68a8bdb89b04d98 (affected · git)8a177a36da6c54c98b8685d4f914cb3637d53c0d to < 68a4ccb37c1249e8c03c8b9152dcc46a0f6d8cb7 (affected · git)8a177a36da6c54c98b8685d4f914cb3637d53c0d to < e35f02c7e7e2b248fa2c8034240eb31a48a9403b (affected · git)8a177a36da6c54c98b8685d4f914cb3637d53c0d to < 9debb2a0b8af1f13f30ef059bda305d4e95a6db8 (affected · git)8a177a36da6c54c98b8685d4f914cb3637d53c0d to < 020f61242d6ebeba5f8f2ef6e429aeffdd63f1c1 (affected · git)515d077ee3085ae343b6bea7fd031f9906645f38 (affected · git)d19fa8f252000d141f9199ca32959c50314e1f05 (affected · git)77692c02e1517c54f2fd0535f41aa4286ac9f140 (affected · git)a30acbb5dfb7bcc813ad6a18ca31011ac44e5547 (affected · git)968f7a239c590454ffba79c126fbe0e963a0ba78 (affected · git)5b0ff3ebbef791341695b718f8d2870869cf1d01 (affected · git)4.19.247 to < 4.20 (affected · semver)5.4.198 to < 5.5 (affected · semver)5.10.121 to < 5.11 (affected · semver)5.15.46 to < 5.16 (affected · semver)5.17.14 to < 5.18 (affected · semver)5.18.3 to < 5.19 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.19 (affected)0 to < 5.19 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/020f61242d6ebeba5f8f2ef6e429aeffdd63f1c1
- https://git.kernel.org/stable/c/291a540566035835f8da42c6e68a8bdb89b04d98
- https://git.kernel.org/stable/c/68a4ccb37c1249e8c03c8b9152dcc46a0f6d8cb7
- https://git.kernel.org/stable/c/9debb2a0b8af1f13f30ef059bda305d4e95a6db8
- https://git.kernel.org/stable/c/e35f02c7e7e2b248fa2c8034240eb31a48a9403b
Provider assertions
1Linux · cna
blk-iolatency: flush enable_work after going offline
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f3cdcbb4f4ec37c4c548f6c115314227e996517b2f97def91f32fbe7e02a2a4a
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record