{"id":"CVE-2026-98945","state":"PUBLISHED","title":"HID: steam: Rearrange teardown sequence","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: steam: Rearrange teardown sequence\n\nThis fixes a narrow window during the teardown sequence where callbacks\ncould still be scheduled during cleanup that would then have a dangling\npointer to the now-freed steam struct.\n\nThis also puts work canceling for rumble and mode switch in\nsteam_unregister, as that shouldn't persist while the client hdev is open.","publishedAt":"2026-10-23T12:19:04.191Z","updatedAt":"2026-10-26T06:56:55.094Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9cd61c8179781344315c2a9816977ea415c5459e","status":"affected","lessThan":"d2587923d50c8b141ce0ccb284c714cf6054d6a7","versionType":"git"},{"version":"9cd61c8179781344315c2a9816977ea415c5459e","status":"affected","lessThan":"81a8209c09f9be7eef860ca6cc154749a6b4d243","versionType":"git"},{"version":"9cd61c8179781344315c2a9816977ea415c5459e","status":"affected","lessThan":"86724f4bcf6049c3a322f7a7b1f968210059c46a","versionType":"git"},{"version":"9cd61c8179781344315c2a9816977ea415c5459e","status":"affected","lessThan":"b5ea938ff776306798d3a11485c2475034f92131","versionType":"git"},{"version":"9cd61c8179781344315c2a9816977ea415c5459e","status":"affected","lessThan":"ddce9641ce924ed91ec8304577e463823a29ffaf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-steam.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.3","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.11","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-steam.c"]}],"references":["https://git.kernel.org/stable/c/d2587923d50c8b141ce0ccb284c714cf6054d6a7","https://git.kernel.org/stable/c/81a8209c09f9be7eef860ca6cc154749a6b4d243","https://git.kernel.org/stable/c/86724f4bcf6049c3a322f7a7b1f968210059c46a","https://git.kernel.org/stable/c/b5ea938ff776306798d3a11485c2475034f92131","https://git.kernel.org/stable/c/ddce9641ce924ed91ec8304577e463823a29ffaf"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98945.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98945","state":"PUBLISHED","datePublished":"2026-10-23T12:19:04.191Z","dateUpdated":"2026-10-26T06:56:55.094Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.381Z"},"containers":{"cna":{"title":"HID: steam: Rearrange teardown sequence","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: steam: Rearrange teardown sequence\n\nThis fixes a narrow window during the teardown sequence where callbacks\ncould still be scheduled during cleanup that would then have a dangling\npointer to the now-freed steam struct.\n\nThis also puts work canceling for rumble and mode switch in\nsteam_unregister, as that shouldn't persist while the client hdev is open."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9cd61c8179781344315c2a9816977ea415c5459e","status":"affected","lessThan":"d2587923d50c8b141ce0ccb284c714cf6054d6a7","versionType":"git"},{"version":"9cd61c8179781344315c2a9816977ea415c5459e","status":"affected","lessThan":"81a8209c09f9be7eef860ca6cc154749a6b4d243","versionType":"git"},{"version":"9cd61c8179781344315c2a9816977ea415c5459e","status":"affected","lessThan":"86724f4bcf6049c3a322f7a7b1f968210059c46a","versionType":"git"},{"version":"9cd61c8179781344315c2a9816977ea415c5459e","status":"affected","lessThan":"b5ea938ff776306798d3a11485c2475034f92131","versionType":"git"},{"version":"9cd61c8179781344315c2a9816977ea415c5459e","status":"affected","lessThan":"ddce9641ce924ed91ec8304577e463823a29ffaf","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-steam.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.3","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.11","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hid/hid-steam.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d2587923d50c8b141ce0ccb284c714cf6054d6a7"},{"url":"https://git.kernel.org/stable/c/81a8209c09f9be7eef860ca6cc154749a6b4d243"},{"url":"https://git.kernel.org/stable/c/86724f4bcf6049c3a322f7a7b1f968210059c46a"},{"url":"https://git.kernel.org/stable/c/b5ea938ff776306798d3a11485c2475034f92131"},{"url":"https://git.kernel.org/stable/c/ddce9641ce924ed91ec8304577e463823a29ffaf"}],"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 - `uhid_char_write()` accepts `UHID_CREATE2` with `BUS_USB` and Valve 0x28de:0x1205, causing `hid_add_device()` to bind `steam_probe()` and create the FF input device. The local actor races `evdev_write(EV_FF)` with `UHID_DESTROY`, whose `uhid_dev_destroy()` path reaches the patched `steam_remove()`.\nAC:L - `steam_play_effect()` queues `coalesce_rumble_work` for HZ/20; repeated EV_FF writes can queue it after old `steam_remove()` cancels work but before `steam_input_unregister()` removes evdev. The attacker controls both EV_FF submission and UHID teardown, making the race repeatable.\nPR:L - `uhid_char_write()`, `uhid_dev_create2()`, and `evdev_write()` contain no capability or namespace-admin check; access is governed by device-node DAC. An ordinary logged-in user granted `/dev/uhid` and the created `/dev/input/event*` therefore needs only low privileges.\nUI:N - The attacking process creates the forged Steam Deck, uploads and plays rumble, and destroys its own UHID device; the delayed work then runs automatically. No victim must plug in hardware, open a file, or approve an action.\nS:U - `steam_remove()` releases the devm-allocated `struct steam_device`, and the stale work item subsequently accesses memory within the same host kernel. No VM, IOMMU, or other security-authority boundary is crossed.\nC:H - `steam_coalesce_rumble_cb()` reads freed `rumble_left/right`, then `steam_haptic_rumble()` follows the freed `steam->hdev` into HID report metadata. Reclaiming these slabs makes the UAF reads attacker-directed, supporting high confidentiality impact.\nI:H - `steam_coalesce_rumble_cb()` locks the freed `report_mutex`, can requeue the embedded freed work item, and `steam_send_report()` dispatches through `steam->hdev->ll_driver->raw_request`. Controlled slab reuse therefore permits write and control-flow corruption.\nA:H - The delayed `steam_coalesce_rumble_cb()` or `steam_haptic_rumble_cb()` can run after devres frees `steam`, so its mutex, workqueue, and HID dereferences can oops or panic the kernel. The actor can recreate the UHID device and repeat the teardown."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-26T06:56:55.094Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.12.113"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.18.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.2.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}