CVE-2026-80559
Received Received - Intake

Input Device Registration Ordering Flaw in sur40 Linux Kernel Driver

Vulnerability report for CVE-2026-80559, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-26

Last updated on: 2026-08-27

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: Input: sur40 - fix input device registration ordering In sur40_probe(), input_register_device() was previously called early before the V4L2 video device and vb2_queue components were fully initialized. If userspace opened the input device immediately upon registration, sur40_open() would trigger and start the sur40_poll() worker thread. This worker thread invokes sur40_process_video() and accesses the uninitialized vb2_queue structure, leading to a data race and potential system crash. Furthermore, if V4L2 or video registration failed after input_register_device() succeeded, the error path fell through to calling input_free_device() on a successfully registered device instead of input_unregister_device(), corrupting input core state. Move input_register_device() to the very end of sur40_probe(). This ensures the V4L2 and video queue structures are fully initialized before polling can start, and naturally resolves the error path bug since input_free_device() is now only called when input registration has not yet occurred. To maintain strict LIFO (Last-In, First-Out) teardown ordering, also move input_unregister_device() to the very beginning of sur40_disconnect(). This guarantees that the input polling worker thread is stopped before V4L2 video components or control handlers are unregistered.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-26
Last Modified
2026-08-27
Generated
2026-09-15
AI Q&A
2026-08-26
EPSS Evaluated
2026-09-14
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves improper input device registration in the sur40 driver. The input_register_device() function was called too early in the initialization process, before video components were fully set up. This could allow userspace to open the input device prematurely, triggering a worker thread that accesses uninitialized memory, causing crashes or data races.

Detection Guidance

This vulnerability is specific to the Linux kernel's sur40 driver and does not have network-based detection methods. To check if your system is affected, verify the kernel version and whether the sur40 driver is loaded. Use commands like 'uname -a' to check the kernel version and 'lsmod | grep sur40' to see if the driver is loaded.

Impact Analysis

If exploited, this flaw could crash the system or corrupt kernel state, potentially leading to denial-of-service conditions. Systems using the sur40 driver might become unstable or require rebooting.

Compliance Impact

This vulnerability does not directly affect compliance with GDPR, HIPAA, or similar standards as it pertains to a Linux kernel driver (sur40) for a specific hardware device. The issue involves a race condition leading to system crashes but does not involve data exposure, unauthorized access, or privacy violations that these regulations typically address.

Mitigation Strategies

Update your Linux kernel to the latest stable version where this vulnerability is patched. If you cannot update immediately, consider disabling the sur40 driver by blacklisting it with 'echo 'blacklist sur40' >> /etc/modprobe.d/blacklist.conf' followed by 'update-initramfs -u' and rebooting.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-80559. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart