CVE-2026-80559 (GCVE-0-2026-80559)
Vulnerability from cvelistv5
Published
2026-08-26 14:37
Modified
2026-08-27 05:01
Severity ?
VLAI Severity ?
EPSS score ?
Summary
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.
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Version: e831cd251fb91d6c25352d322743db0d17ea11dd Version: e831cd251fb91d6c25352d322743db0d17ea11dd Version: e831cd251fb91d6c25352d322743db0d17ea11dd Version: e831cd251fb91d6c25352d322743db0d17ea11dd Version: e831cd251fb91d6c25352d322743db0d17ea11dd Version: e831cd251fb91d6c25352d322743db0d17ea11dd Version: e831cd251fb91d6c25352d322743db0d17ea11dd Version: e831cd251fb91d6c25352d322743db0d17ea11dd |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/input/touchscreen/sur40.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "cd4ecce2fd87760c0ad9a9d28c9fc62ea1dbfd3d",
"status": "affected",
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
"versionType": "git"
},
{
"lessThan": "dab741c9da72102a37cc1020a929051b7c45f9fb",
"status": "affected",
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
"versionType": "git"
},
{
"lessThan": "764b507be7b51787e1f577ca3bf0bab7efe81ff8",
"status": "affected",
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
"versionType": "git"
},
{
"lessThan": "3e8ed76a4f3572e637653f0654cccdf617903231",
"status": "affected",
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
"versionType": "git"
},
{
"lessThan": "83aa12f9f2468a4fbef027c09224dc1011850fb0",
"status": "affected",
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
"versionType": "git"
},
{
"lessThan": "5c1c5227c93f18cd329dd754b4df5e0e2daece1e",
"status": "affected",
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
"versionType": "git"
},
{
"lessThan": "beb9b0bd6e6e23f5e9e42b7ef890a50f57f1f3aa",
"status": "affected",
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
"versionType": "git"
},
{
"lessThan": "9da976eb649c9e2f588a4499410e4d8af687925f",
"status": "affected",
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/input/touchscreen/sur40.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.1"
},
{
"lessThan": "4.1",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.266",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.217",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.184",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.153",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.105",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.46",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.10",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.266",
"versionStartIncluding": "4.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.217",
"versionStartIncluding": "4.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.184",
"versionStartIncluding": "4.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.153",
"versionStartIncluding": "4.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.105",
"versionStartIncluding": "4.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.46",
"versionStartIncluding": "4.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.10",
"versionStartIncluding": "4.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "4.1",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nInput: sur40 - fix input device registration ordering\n\nIn sur40_probe(), input_register_device() was previously called early before\nthe V4L2 video device and vb2_queue components were fully initialized. If\nuserspace opened the input device immediately upon registration, sur40_open()\nwould trigger and start the sur40_poll() worker thread. This worker thread\ninvokes sur40_process_video() and accesses the uninitialized vb2_queue\nstructure, leading to a data race and potential system crash.\n\nFurthermore, if V4L2 or video registration failed after input_register_device()\nsucceeded, the error path fell through to calling input_free_device() on a\nsuccessfully registered device instead of input_unregister_device(), corrupting\ninput core state.\n\nMove input_register_device() to the very end of sur40_probe(). This ensures\nthe V4L2 and video queue structures are fully initialized before polling can\nstart, and naturally resolves the error path bug since input_free_device()\nis now only called when input registration has not yet occurred.\n\nTo maintain strict LIFO (Last-In, First-Out) teardown ordering, also move\ninput_unregister_device() to the very beginning of sur40_disconnect(). This\nguarantees that the input polling worker thread is stopped before V4L2\nvideo components or control handlers are unregistered."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - Exploitation is via open() on /dev/input/eventX (evdev -\u003e input_open_device -\u003e sur40_open -\u003e sur40_poll -\u003e sur40_process_video) racing sur40_probe() before vb2_queue_init(); on permanently installed PixelSense/SUR40 kiosk tables no physical USB access is needed at attack time.\nAC:L - The attacker controls both sides of the race by monitoring udev/inotify for the new input node and immediately opening it during USB hotplug or reboot probe; polling starts synchronously in input_dev_poller_start, making the uninitialized vb2_queue access reliably triggerable without uncontrollable kernel preconditions.\nPR:L - Triggering sur40_open requires only local userspace access to the evdev node (typically membership in the input group or equivalent kiosk-app privileges opening /dev/input/event*), not real root in the init namespace; user namespaces cannot substitute for this device access.\nUI:N - No victim interaction is required beyond the attacker\u0027s own actions; they can open the input device themselves (or rely on an auto-opening compositor during reconnect) and time the race during probe without needing another user to touch the screen or perform any action.\nS:U - Impact is confined to kernel memory corruption and crashes within the host input/USB driver context on the same system; it does not cross VM, container, or IOMMU security boundaries despite potential local privilege escalation as a follow-on.\nC:H - Concurrent access to a partially initialized vb2_queue is a kernel data race that can read uninitialized queue state, and the probe error path calls input_free_device() on a registered device, corrupting input-core linked lists\u2014both are memory-corruption primitives leverageable for kernel information disclosure.\nI:H - The input_free_device() misuse corrupts global input-core list state (definite kernel structure corruption), and racing poll against vb2_queue_init can invoke vb2_buffer_done and list operations on uninitialized queue internals, enabling exploitable heap/control-structure writes.\nA:H - The fix commit explicitly cites a data race on the uninitialized vb2_queue leading to system crash; corrupting input-core registration state or racing teardown during USB disconnect can cause kernel oops/panic and deny service on interactive SUR40/PixelSense deployments."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-27T05:01:47.768Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/cd4ecce2fd87760c0ad9a9d28c9fc62ea1dbfd3d"
},
{
"url": "https://git.kernel.org/stable/c/dab741c9da72102a37cc1020a929051b7c45f9fb"
},
{
"url": "https://git.kernel.org/stable/c/764b507be7b51787e1f577ca3bf0bab7efe81ff8"
},
{
"url": "https://git.kernel.org/stable/c/3e8ed76a4f3572e637653f0654cccdf617903231"
},
{
"url": "https://git.kernel.org/stable/c/83aa12f9f2468a4fbef027c09224dc1011850fb0"
},
{
"url": "https://git.kernel.org/stable/c/5c1c5227c93f18cd329dd754b4df5e0e2daece1e"
},
{
"url": "https://git.kernel.org/stable/c/beb9b0bd6e6e23f5e9e42b7ef890a50f57f1f3aa"
},
{
"url": "https://git.kernel.org/stable/c/9da976eb649c9e2f588a4499410e4d8af687925f"
}
],
"title": "Input: sur40 - fix input device registration ordering",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-80559",
"datePublished": "2026-08-26T14:37:25.371Z",
"dateReserved": "2026-08-26T14:34:25.767Z",
"dateUpdated": "2026-08-27T05:01:47.768Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…