Linux
HID: wacom: fix crash in wacom_aes_battery_handler()
In the Linux kernel, the following vulnerability has been resolved: HID: wacom: fix crash in wacom_aes_battery_handler() Commit fd2a9b29dc9c ("HID: wacom: Remove AES power_supply after extended inactivity") introduced wacom_aes_battery_handler() which is scheduled as a delayed work (aes_battery_work). In wacom_remove(), aes_battery_work is not canceled. Consequently, if the device is removed while aes_battery_work is still pending, then hard crashes or "Oops: general protection fault..." are experienced when wacom_aes_battery_handler() is finally called. E.g., this happens with built-in USB devices after resume from hibernate when aes_battery_work was still pending at the time of hibernation. So, take care to cancel aes_battery_work in wacom_remove().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= fd2a9b29dc9c4c35def91d5d1c5b470843539de6, < a4f182ffa30c52ad1c8e12edfb8049ee748c0f1b
- >= fd2a9b29dc9c4c35def91d5d1c5b470843539de6, < 57a3d82200dbeccd002244b96acad570eeeb731f
- >= fd2a9b29dc9c4c35def91d5d1c5b470843539de6, < f3054152c12e2eed1e72704aff47b0ea58229584
Fixed in a4f182ffa30c52ad1c8e12edfb8049ee748c0f1b, 57a3d82200dbeccd002244b96acad570eeeb731f, f3054152c12e2eed1e72704aff47b0ea58229584
- 6.8
Fixed in 0, 6.12.36, 6.15.5, 6.16
Mitigation
Upgrade Linux to a4f182ffa30c52ad1c8e12edfb8049ee748c0f1b or 57a3d82200dbeccd002244b96acad570eeeb731f or f3054152c12e2eed1e72704aff47b0ea58229584 or later.
Upgrade Linux to 0 or 6.12.36 or 6.15.5 or 6.16 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.