Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 5e013ad206895e72d7da41bc1ae89d8cb499c3aa before bbe1e55629bfaabd4b2e8125b48dd3503d74ac8b; affected 5e013ad206895e72d7da41bc1ae89d8cb499c3aa before 27c4dad1b7917b747bf080792a527997e3147c69; affected 5e013ad206895e72d7da41bc1ae89d8cb499c3aa before 55f1ad573e34abf9a0443c34bc5a63d74edba7d7 |
| Linux / Linux | affected 6.15; unaffected 0 before 6.15; unaffected 6.18.39 through 6.18.*; unaffected 7.1.4 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.