HID Memory Leak Issues
2026-04-22
Memory leak and out-of-bounds read in the asus_report_fixup() HID driver function allows local authenticated attackers with limited privileges to cause denial of service through memory exhaustion. The vulnerability affects the ASUS HID device driver across multiple Linux kernel versions, where kmemdup()-allocated buffers were not freed properly and an out-of-bounds read could access memory beyond the original descriptor size. A patch is available from Linux kernel maintainers switching to devm_kzalloc() for proper memory lifecycle management.
Memory leak in the HID magicmouse driver's report_fixup() function allows local authenticated attackers to cause a denial of service through repeated device interactions. The magicmouse_report_fixup() function allocates memory via kmemdup() but fails to free the allocated buffer before returning, leading to exhaustion of kernel memory on systems with a Magic Mouse connected. Vendor patches are available across multiple stable branches.
Memory leak in the Linux kernel HID Apple driver causes gradual kernel memory exhaustion on systems connected to Apple HID peripherals. The `apple_report_fixup()` function in `drivers/hid/hid-apple.c` allocates a new buffer via `kmemdup()` each time an Apple device descriptor is processed, but the HID core caller never frees it because the API contract only guarantees lifetime management for pointers returned into the original descriptor buffer. Patches are available across all actively maintained stable branches (6.1, 6.6, 6.12, 6.18, 6.19, 7.0); no active exploitation has been confirmed and EPSS stands at 0.02%.