Re: [PATCH] workqueue: Fix NULL current_pwq deref in flush dependency check

From: Tejun Heo

Date: Sun Sep 27 2026 - 04:31:05 EST


Applied to wq/for-7.3-fixes.

- is_chained_work() has the same problem. It dereferences
worker->current_pwq after checking only worker. It is only reached when
queueing on a draining or destroying workqueue, but a kworker outside a
work item would crash there the same way. Can you send a fix for that
one too?

Thanks.

--
tejun