In the Linux kernel, the following vulnerability has been resolved: workqueue: Fix NULL current_pwq deref in chained work check current_wq_worker()...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12linux |
< 6.1.192-1→ 6.1.192-1 |
6.1.192-1 |
| Debian:13linux |
< 6.12.113-1→ 6.12.113-1 |
6.12.113-1 |
| Debian:14linux |
< 7.2.11-1→ 7.2.11-1 |
7.2.11-1 |
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: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org