Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
HID: wacom: use GFP_ATOMIC in wacom_wac_queue_flush()
In the Linux kernel, the following vulnerability has been resolved: HID: wacom: use GFP_ATOMIC in wacom_wac_queue_flush() wacom_wac_queue_flush() is called via the .raw_event callback (wacom_raw_event → wacom_wac_pen_serial_enforce → wacom_wac_queue_flush). For USB HID devices, this callback is invoked from hid_irq_in(), which is a URB completion handler running in atomic context. Using GFP_KERNEL in this path can sleep, leading to a "scheduling while atomic" bug. Use GFP_ATOMIC instead. The existing code already handles allocation failure by skipping the fifo entry and continuing.
References
Affected products
Linux
- <27c4dad1b7917b747bf080792a527997e3147c69
- =<*
- ==6.15
- <6.15
- =<6.18.*
- <bbe1e55629bfaabd4b2e8125b48dd3503d74ac8b
- =<7.1.*
- <55f1ad573e34abf9a0443c34bc5a63d74edba7d7