workqueue: Fix NULL current_pwq deref in chained work check
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 3.9.0, < 5.10.273→ 5.10.273 ≥ 5.11.0, < 5.15.224→ 5.15.224 ≥ 5.16.0, < 6.1.191→ 6.1.191 ≥ 6.2.0, < 6.6.160→ 6.6.160 ≥ 6.7.0, < 6.12.113→ 6.12.113 ≥ 6.13.0, < 6.18.57→ 6.18.57 ≥ 6.19.0, < 7.2.11→ 7.2.11 |
5.10.273 5.15.224 6.1.191 6.6.160 6.12.113 6.18.57 7.2.11 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99058 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99058 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99058 linux-vmware, linux-riscv-7.0, linux-riscv-6.8 +47 more Fix available
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
workqueue: Fix NULL current_pwq deref in chained work check
current_wq_worker() only tells us that %current is a kworker. It does
not guarantee that the worker is currently executing a work item, as
worker->current_pwq is populated only while process_one_work() is running
the work function.
is_chained_work() can be reached while queueing on a draining or
destroying workqueue. If a kworker outside work-item execution reaches
that path, current_wq_worker() returns a worker but worker->current_pwq is
NULL, and the chained-work test can fault before it emits the intended
warning.
Guard the chained-work test with worker->current_pwq. A kworker without
current_pwq is not executing work on the target workqueue, so the helper
should return false and let the draining/destroying warning fire.
Source: Linux kernel CVE announcements NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- LINUX-CVE-ANNOUNCE CVE-2026-99058: workqueue: Fix NULL current_pwq deref in chained work check
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org