HID: wacom: use GFP_ATOMIC in wacom_wac_queue_flush()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 27c4dad1b7917b747bf080792a527997e3147c69, Kernel 55f1ad573e34abf9a0443c34bc5a63d74edba7d7 and Kernel bbe1e55629bfaabd4b2e8125b48dd3503d74ac8b.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.15, >=5e013ad206895e72d7da41bc1ae89d8cb499c3aa <27c4dad1b7917b747bf080792a527997e3147c69, >=5e013ad206895e72d7da41bc1ae89d8cb499c3aa <55f1ad573e34abf9a0443c34bc5a63d74edba7d7, >=5e013ad206895e72d7da41bc1ae89d8cb499c3aa <bbe1e55629bfaabd4b2e8125b48dd3503d74ac8b | 27c4dad1b7917b747bf080792a527997e3147c69, 55f1ad573e34abf9a0443c34bc5a63d74edba7d7, bbe1e55629bfaabd4b2e8125b48dd3503d74ac8b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket