[PATCH v2 0/3] HID: Replace deprecated create_singlethread_workqueue
From: George Karagounis
Date: Wed Oct 28 2026 - 17:27:06 EST
Hi maintainers,
This patch series replaces the deprecated create_singlethread_workqueue()
with the more efficient alloc_ordered_workqueue() in three HID drivers.
Changes in v2:
- Addressed Sashiko bot review regarding WQ_MEM_RECLAIM misuse. Changed
flags to 0 since these queues do not participate in memory reclaim.
- Fixed a critical format string vulnerability in hid-haptic.c by passing
the format string directly to alloc_ordered_workqueue() and removing
the unnecessary kmalloc/sprintf.
- Verified runtime behavior by compiling a minimal kernel and booting in
QEMU. Confirmed successful initialization and safe HID descriptor parsing
via a uhid fuzzer. But needs testing on real hardware.
Best regards,
George
George Karagounis (3):
HID: haptic: Replace create_singlethread_workqueue with
alloc_ordered_workqueue
HID: elo: Replace create_singlethread_workqueue with
alloc_ordered_workqueue
HID: logitech-hidpp: Replace create_singlethread_workqueue with
alloc_ordered_workqueue
drivers/hid/hid-elo.c | 2 +-
drivers/hid/hid-haptic.c | 8 +-------
drivers/hid/hid-logitech-hidpp.c | 2 +-
3 files changed, 3 insertions(+), 9 deletions(-)
--
2.56.0