CVE-2026-99058
workqueue: Fix NULL current_pwq deref in chained work check
Fetching some sources has been requested. Reload in about a minute to see them.
Description
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.
Affected products and packages
CNA (CVE.org)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | affected: 8d03ecfe471802d6afe97da97722b6924533aa82 … < 3dc61af2998cfc7312d6e59bbdcd5eed074483f2 affected: 8d03ecfe471802d6afe97da97722b6924533aa82 … < 729d576df89c7e4341e58c452f8890620a610ac2 affected: 8d03ecfe471802d6afe97da97722b6924533aa82 … < b12a25fb2b9d5dac80e419d695450cc17a51fdfd affected: 8d03ecfe471802d6afe97da97722b6924533aa82 … < 1a2668682e998039a027796b236319b380078a6a affected: 8d03ecfe471802d6afe97da97722b6924533aa82 … < 980db94e3eeefdd8a1c46f86412c33a7f7806f51 default: unaffected |
| Linux | Linux | affected: 3.9 unaffected: 0 … < 3.9 unaffected: 6.6.160 … <= 6.6.* unaffected: 6.12.113 … <= 6.12.* unaffected: 6.18.57 … <= 6.18.* unaffected: 7.2.11 … <= 7.2.* unaffected: 7.3 … <= * default: affected |
Open-source packages (GitHub Advisory / OSV)
workqueue: Fix NULL current_pwq deref in chained work check
| Ecosystem | Package | Affected versions | Fixed in |
|---|---|---|---|
| >= 8d03ecfe471802d6afe97da97722b6924533aa82, < 3dc61af2998cfc7312d6e59bbdcd5eed074483f2; < 729d576df89c7e4341e58c452f8890620a610ac2; < b12a25fb2b9d5dac80e419d695450cc17a51fdfd; < 1a2668682e998039a027796b236319b380078a6a; < 980db94e3eeefdd8a1c46f86412c33a7f7806f51 | 3dc61af2998cfc7312d6e59bbdcd5eed074483f2, 729d576df89c7e4341e58c452f8890620a610ac2, b12a25fb2b9d5dac80e419d695450cc17a51fdfd, 1a2668682e998039a027796b236319b380078a6a, 980db94e3eeefdd8a1c46f86412c33a7f7806f51 | ||
| Linux | Kernel | >= 3.9.0, < 6.6.160; >= 6.7.0, < 6.12.113; >= 6.13.0, < 6.18.57; >= 6.19.0, < 7.2.11 | 6.6.160, 6.12.113, 6.18.57, 7.2.11 |
Linux distribution status
References (8)
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git OSV
- https://git.kernel.org/stable/c/1a2668682e998039a027796b236319b380078a6a NVD, CNA, OSV
- https://git.kernel.org/stable/c/3dc61af2998cfc7312d6e59bbdcd5eed074483f2 NVD, CNA, OSV
- https://git.kernel.org/stable/c/729d576df89c7e4341e58c452f8890620a610ac2 NVD, CNA, OSV
- https://git.kernel.org/stable/c/980db94e3eeefdd8a1c46f86412c33a7f7806f51 NVD, CNA, OSV
- https://git.kernel.org/stable/c/b12a25fb2b9d5dac80e419d695450cc17a51fdfd NVD, CNA, OSV
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99058.json OSV
- https://nvd.nist.gov/vuln/detail/CVE-2026-99058 OSV