# CVE-2026-80559: Input: sur40 - fix input device registration ordering

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-08-26T14:37:25.371Z
- **Modified:** 2026-08-27T06:17:40.253Z

## Who should check

- Anyone running Linux \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< cd4ecce2fd87760c0ad9a9d28c9fc62ea1dbfd3d; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< dab741c9da72102a37cc1020a929051b7c45f9fb; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 764b507be7b51787e1f577ca3bf0bab7efe81ff8; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 3e8ed76a4f3572e637653f0654cccdf617903231; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 83aa12f9f2468a4fbef027c09224dc1011850fb0; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 5c1c5227c93f18cd329dd754b4df5e0e2daece1e; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< beb9b0bd6e6e23f5e9e42b7ef890a50f57f1f3aa; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 9da976eb649c9e2f588a4499410e4d8af687925f
- Anyone running Linux 4.1

## 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.

## Affected and fixed versions

- Linux: \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< cd4ecce2fd87760c0ad9a9d28c9fc62ea1dbfd3d; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< dab741c9da72102a37cc1020a929051b7c45f9fb; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 764b507be7b51787e1f577ca3bf0bab7efe81ff8; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 3e8ed76a4f3572e637653f0654cccdf617903231; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 83aa12f9f2468a4fbef027c09224dc1011850fb0; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 5c1c5227c93f18cd329dd754b4df5e0e2daece1e; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< beb9b0bd6e6e23f5e9e42b7ef890a50f57f1f3aa; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 9da976eb649c9e2f588a4499410e4d8af687925f (cvelist)
- Linux: 4.1 (cvelist)

## Mitigation

- Upgrade Linux to 9da976eb649c9e2f588a4499410e4d8af687925f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-80559. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80559.md
Affected: Linux >= e831cd251fb91d6c25352d322743db0d17ea11dd, < cd4ecce2fd87760c0ad9a9d28c9fc62ea1dbfd3d; >= e831cd251fb91d6c25352d322743db0d17ea11dd, < dab741c9da72102a37cc1020a929051b7c45f9fb; >= e831cd251fb91d6c25352d322743db0d17ea11dd, < 764b507be7b51787e1f577ca3bf0bab7efe81ff8; >= e831cd251fb91d6c25352d3…
Fixed in: Linux 764b507be7b51787e1f577ca3bf0bab7efe81ff8, Linux 3e8ed76a4f3572e637653f0654cccdf617903231, Linux 83aa12f9f2468a4fbef027c09224dc1011850fb0, Linux 5c1c5227c93f18cd329dd754b4df5e0e2daece1e, Linux 9da976eb649c9e2f588a4499410e4d8af687925f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-80559 being exploited?

There is no confirmed exploitation: CVE-2026-80559 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-80559?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-80559?

Linux \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< cd4ecce2fd87760c0ad9a9d28c9fc62ea1dbfd3d; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< dab741c9da72102a37cc1020a929051b7c45f9fb; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 764b507be7b51787e1f577ca3bf0bab7efe81ff8; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 3e8ed76a4f3572e637653f0654cccdf617903231; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 83aa12f9f2468a4fbef027c09224dc1011850fb0; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 5c1c5227c93f18cd329dd754b4df5e0e2daece1e; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< beb9b0bd6e6e23f5e9e42b7ef890a50f57f1f3aa; \>= e831cd251fb91d6c25352d322743db0d17ea11dd, \< 9da976eb649c9e2f588a4499410e4d8af687925f; Linux 4.1.

### Is there a fix for CVE-2026-80559?

Yes. Fixed in Linux 764b507be7b51787e1f577ca3bf0bab7efe81ff8, Linux 3e8ed76a4f3572e637653f0654cccdf617903231, Linux 83aa12f9f2468a4fbef027c09224dc1011850fb0, Linux 5c1c5227c93f18cd329dd754b4df5e0e2daece1e, Linux 9da976eb649c9e2f588a4499410e4d8af687925f. Upgrade Linux to 9da976eb649c9e2f588a4499410e4d8af687925f or later.

### How do I check if I'm affected by CVE-2026-80559?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/cd4ecce2fd87760c0ad9a9d28c9fc62ea1dbfd3d>
- other: <https://git.kernel.org/stable/c/dab741c9da72102a37cc1020a929051b7c45f9fb>
- other: <https://git.kernel.org/stable/c/764b507be7b51787e1f577ca3bf0bab7efe81ff8>
- other: <https://git.kernel.org/stable/c/3e8ed76a4f3572e637653f0654cccdf617903231>
- other: <https://git.kernel.org/stable/c/83aa12f9f2468a4fbef027c09224dc1011850fb0>
- other: <https://git.kernel.org/stable/c/5c1c5227c93f18cd329dd754b4df5e0e2daece1e>
- other: <https://git.kernel.org/stable/c/beb9b0bd6e6e23f5e9e42b7ef890a50f57f1f3aa>
- other: <https://git.kernel.org/stable/c/9da976eb649c9e2f588a4499410e4d8af687925f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-80559>

HTML: <https://flawdb.com/CVE-2026-80559> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-80559>
