CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel, specifically in the `byd_disconnect()` function, which improperly deletes timers before freeing the driver's private data. This can lead to a race condition where a callback may access freed memory, potentially resulting in undefined behavior or system instability. Linux kernel maintainers and developers of affected drivers should prioritize this issue to prevent exploitation and ensure system integrity.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: Input: byd - synchronize timer deletion before freeing private data byd_disconnect() uses timer_delete() before freeing the driver's private data. This does not wait for a running byd_clear_touch() callback, which dereferences the private data and its psmouse pointer. A callback racing with disconnect can therefore access the private data after it has been freed. The timer can also still be re-armed by byd_process_byte() while the disconnect is in progress. Use timer_shutdown_sync() before freeing the private data: it waits for a running callback and turns any later re-arm attempt into a no-op.