[GIT PULL] Workqueue fixes for v6.6-rc5

From: Tejun Heo
Date: Thu Oct 12 2023 - 19:16:08 EST


The following changes since commit dd64c873ed11cdae340be06dcd2364870fd3e4fc:

workqueue: Fix missed pwq_release_worker creation in wq_cpu_intensive_thresh_init() (2023-09-18 08:50:31 -1000)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git/ tags/wq-for-6.6-rc5-fixes

for you to fetch changes up to 5d9c7a1e3e8e18db8e10c546de648cda2a57be52:

workqueue: fix -Wformat-truncation in create_worker (2023-10-12 09:53:40 -1000)

----------------------------------------------------------------
workqueue: Fixes for v6.6-rc5

* Fix access-after-free in pwq allocation error path.

* Implicitly ordered unbound workqueues should lose the implicit ordering if
an attribute change which isn't compatible with ordered operation is
requested. However, attribute changes requested through the sysfs
interface weren't doing that leaving no way to override the implicit
ordering through the sysfs interface. Fix it.

* Other doc and misc updates.

----------------------------------------------------------------
Lucy Mielke (1):
workqueue: fix -Wformat-truncation in create_worker

Waiman Long (1):
workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()

WangJinchao (1):
workqueue: doc: Fix function and sysfs path errors

Zqiang (2):
workqueue: Fix UAF report by KASAN in pwq_release_workfn()
workqueue: Use the kmem_cache_free() instead of kfree() to release pwq

Documentation/core-api/workqueue.rst | 4 ++--
.../translations/zh_CN/core-api/workqueue.rst | 2 +-
kernel/workqueue.c | 24 +++++++++++++++++-----
3 files changed, 22 insertions(+), 8 deletions(-)

--
tejun