HID: hid-oxp: use cancel_delayed_work_sync() in remove
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel abd24922c2a9797d6184be0561dd85e7bcdfd091 and Kernel eed737d89fa368251018a62e1d698958ef7dc635.
In the Linux kernel, the following vulnerability has been resolved: HID: hid-oxp: use cancel_delayed_work_sync() in remove oxp_hid_remove() uses cancel_delayed_work() for all three delayed work items. cancel_delayed_work() only dequeues a pending work item without waiting for a currently executing callback to finish. If any of the work callbacks (oxp_rgb_queue_fn, oxp_btn_queue_fn, oxp_mcu_init_fn) is running at the time of removal, the callback continues executing concurrently with hid_hw_close() and hid_hw_stop(), accessing the HID device after it has been closed and stopped. Use cancel_delayed_work_sync() instead to ensure that any in-progress work callback completes before device teardown proceeds.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.2, >=84910c459d65ab3a1aeac7f936169fb71334dd46 <abd24922c2a9797d6184be0561dd85e7bcdfd091, >=84910c459d65ab3a1aeac7f936169fb71334dd46 <eed737d89fa368251018a62e1d698958ef7dc635 | abd24922c2a9797d6184be0561dd85e7bcdfd091, eed737d89fa368251018a62e1d698958ef7dc635 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket