CyberRota Analysis
AI-GeneratedThe vulnerability in the Linux kernel affects the HID subsystem, where concurrent report processing during a failed probe can lead to a use-after-free condition. This occurs when driver resources are released while a report callback is still active, potentially allowing an attacker to exploit this flaw for arbitrary code execution or system instability. Linux system administrators and developers working with HID devices should prioritize addressing this issue to mitigate potential security risks.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: HID: synchronize input before cleaning up a failed probe hid_device_io_start() allows reports to run concurrently with probe. If the probe subsequently fails, __hid_device_probe() releases driver resources and clears hdev->driver without first excluding those report callbacks. For example, a report may enter hidraw_report_event() while the failure path frees the associated hidraw object, leading to a use-after-free when the report takes the object's list lock. Stop input before performing failed-probe cleanup. This reacquires driver_input_lock and waits for any report callback already in progress.