HID: uclogic: Correct devm device reference for hidinput input_dev name
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4c2707dfee5847dc0b5ecfbe512c29c93832fdc4, Kernel 51f49e3927ad545cec0c0afb86856ccacd9f085d, Kernel 58f0d1c0e494a88f301bf455da7df4366f179bbb and 3 more.
In the Linux kernel, the following vulnerability has been resolved: HID: uclogic: Correct devm device reference for hidinput input_dev name Reference the HID device rather than the input device for the devm allocation of the input_dev name. Referencing the input_dev would lead to a use-after-free when the input_dev was unregistered and subsequently fires a uevent that depends on the name. At the point of firing the uevent, the name would be freed by devres management. Use devm_kasprintf to simplify the logic for allocating memory and formatting the input_dev name string.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.1, >=cce2dbdf258e6b27b2b100f511531edabb77f427 <4c2707dfee5847dc0b5ecfbe512c29c93832fdc4, >=cce2dbdf258e6b27b2b100f511531edabb77f427 <51f49e3927ad545cec0c0afb86856ccacd9f085d, >=cce2dbdf258e6b27b2b100f511531edabb77f427 <58f0d1c0e494a88f301bf455da7df4366f179bbb, >=cce2dbdf258e6b27b2b100f511531edabb77f427 <dd613a4e45f8d35f49a63a2064e5308fa5619e29, >=cce2dbdf258e6b27b2b100f511531edabb77f427 <f283805d984343b2f216e2f4c6c7af265b9542ae, >=cce2dbdf258e6b27b2b100f511531edabb77f427 <f78bb490b16ecb506d4904be4b00bf9aad6588f9 | 4c2707dfee5847dc0b5ecfbe512c29c93832fdc4, 51f49e3927ad545cec0c0afb86856ccacd9f085d, 58f0d1c0e494a88f301bf455da7df4366f179bbb, dd613a4e45f8d35f49a63a2064e5308fa5619e29, f283805d984343b2f216e2f4c6c7af265b9542ae, f78bb490b16ecb506d4904be4b00bf9aad6588f9 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket