264 lines
15 KiB
JSON
264 lines
15 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-80559",
|
|
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "Linux",
|
|
"dateReserved": "2026-08-26T14:34:25.767Z",
|
|
"datePublished": "2026-08-26T14:37:25.371Z",
|
|
"dateUpdated": "2026-08-27T05:01:47.768Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"providerMetadata": {
|
|
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
|
|
"shortName": "Linux",
|
|
"dateUpdated": "2026-08-27T05:01:47.768Z"
|
|
},
|
|
"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": {
|
|
"version": "3.1",
|
|
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
|
|
"baseScore": 7.8,
|
|
"baseSeverity": "HIGH"
|
|
},
|
|
"scenarios": [
|
|
{
|
|
"lang": "en",
|
|
"value": "AV:L - Exploitation is via open() on /dev/input/eventX (evdev -> input_open_device -> sur40_open -> sur40_poll -> 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's 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—both 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."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"product": "Linux",
|
|
"vendor": "Linux",
|
|
"defaultStatus": "unaffected",
|
|
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
|
"programFiles": [
|
|
"drivers/input/touchscreen/sur40.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
|
|
"lessThan": "cd4ecce2fd87760c0ad9a9d28c9fc62ea1dbfd3d",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
|
|
"lessThan": "dab741c9da72102a37cc1020a929051b7c45f9fb",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
|
|
"lessThan": "764b507be7b51787e1f577ca3bf0bab7efe81ff8",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
|
|
"lessThan": "3e8ed76a4f3572e637653f0654cccdf617903231",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
|
|
"lessThan": "83aa12f9f2468a4fbef027c09224dc1011850fb0",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
|
|
"lessThan": "5c1c5227c93f18cd329dd754b4df5e0e2daece1e",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
|
|
"lessThan": "beb9b0bd6e6e23f5e9e42b7ef890a50f57f1f3aa",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
},
|
|
{
|
|
"version": "e831cd251fb91d6c25352d322743db0d17ea11dd",
|
|
"lessThan": "9da976eb649c9e2f588a4499410e4d8af687925f",
|
|
"status": "affected",
|
|
"versionType": "git"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"product": "Linux",
|
|
"vendor": "Linux",
|
|
"defaultStatus": "affected",
|
|
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
|
|
"programFiles": [
|
|
"drivers/input/touchscreen/sur40.c"
|
|
],
|
|
"versions": [
|
|
{
|
|
"version": "4.1",
|
|
"status": "affected"
|
|
},
|
|
{
|
|
"version": "0",
|
|
"lessThan": "4.1",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "5.10.266",
|
|
"lessThanOrEqual": "5.10.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "5.15.217",
|
|
"lessThanOrEqual": "5.15.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.1.184",
|
|
"lessThanOrEqual": "6.1.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.6.153",
|
|
"lessThanOrEqual": "6.6.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.12.105",
|
|
"lessThanOrEqual": "6.12.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "6.18.46",
|
|
"lessThanOrEqual": "6.18.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "7.1.10",
|
|
"lessThanOrEqual": "7.1.*",
|
|
"status": "unaffected",
|
|
"versionType": "semver"
|
|
},
|
|
{
|
|
"version": "7.2",
|
|
"lessThanOrEqual": "*",
|
|
"status": "unaffected",
|
|
"versionType": "original_commit_for_fix"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"cpeApplicability": [
|
|
{
|
|
"nodes": [
|
|
{
|
|
"operator": "OR",
|
|
"negate": false,
|
|
"cpeMatch": [
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "4.1",
|
|
"versionEndExcluding": "5.10.266"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "4.1",
|
|
"versionEndExcluding": "5.15.217"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "4.1",
|
|
"versionEndExcluding": "6.1.184"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "4.1",
|
|
"versionEndExcluding": "6.6.153"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "4.1",
|
|
"versionEndExcluding": "6.12.105"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "4.1",
|
|
"versionEndExcluding": "6.18.46"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "4.1",
|
|
"versionEndExcluding": "7.1.10"
|
|
},
|
|
{
|
|
"vulnerable": true,
|
|
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
|
|
"versionStartIncluding": "4.1",
|
|
"versionEndExcluding": "7.2"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
} |