CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's handling of Roccat HID devices, where the destruction of a device does not properly free buffered reports, leading to memory leaks of up to ROCCAT_CBUF_SIZE report buffers. This could potentially allow for resource exhaustion or denial of service on systems utilizing these devices. Organizations using Linux systems with Roccat peripherals should prioritize addressing this issue to prevent unnecessary memory consumption and ensure system stability.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: HID: roccat: free buffered reports when destroying device roccat_report_event() duplicates each report with kmemdup() and stores the allocation in a circular-buffer slot. The allocation is released only when that slot is reused. The device destruction paths free struct roccat_device without releasing reports still stored in cbuf[]. This makes those allocations unreachable and leaks up to ROCCAT_CBUF_SIZE report buffers per device. Add a small destructor that frees every buffered report before freeing the device, and use it in both paths that can destroy a registered device.