Impact
The sur40 input driver in the Linux kernel contains a race condition and improper initialization bug. During probe, the driver registers the input device before the V4L2 and vb2_queue components are fully prepared. If a user‑space process opens the device immediately, the kernel starts the sur40_poll() thread which calls sur40_process_video() and uses the uninitialised vb2_queue structure. This race can lead to kernel memory corruption and a system crash, effectively a denial‑of‑service. An additional error path frees the device after successful registration, potentially corrupting input core state.
Affected Systems
Linux kernel drivers that use the sur40 input module are affected. Any kernel version containing the bug prior to the described commit is vulnerable; the exact version range is not specified.
Risk and Exploitability
The flaw results in a data race that can crash the system. No CVSS score, EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the likely attack vector is local: a user‑space application that opens the sur40 input device immediately after driver registration. Although no public exploit is documented, the crash potential makes the risk high for any system allowing such access.
OpenCVE Enrichment