[GIT PULL] workqueue: Fixes for v7.1-rc3

From: Tejun Heo

Date: Wed May 13 2026 - 16:59:49 EST


Hello, Linus.

The following changes since commit 20e81c64c905bd765e69ef07920d2b1130dc79b6:

workqueue: Annotate alloc_workqueue_va() with __printf(1, 0) (2026-04-29 09:44:16 -1000)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git tags/wq-for-7.1-rc3-fixes

for you to fetch changes up to 0143033dc22cdff912cfc13419f5db92fea3b4cb:

workqueue: Fix wq->cpu_pwq leak in alloc_and_link_pwqs() WQ_UNBOUND path (2026-05-08 07:59:44 -1000)

----------------------------------------------------------------
workqueue: Fixes for v7.1-rc3

- Plug a wq->cpu_pwq leak on the WQ_UNBOUND allocation failure path.

- Fix a cancel_delayed_work_sync() livelock against drain_workqueue()
caused by the drain/destroy reject path leaving WORK_STRUCT_PENDING set
with no owner.

----------------------------------------------------------------
Breno Leitao (2):
workqueue: Release PENDING in __queue_work() drain/destroy reject path
workqueue: Fix wq->cpu_pwq leak in alloc_and_link_pwqs() WQ_UNBOUND path

kernel/workqueue.c | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)

Thanks.

--
tejun