Skip to contentSkip to conversation

CVE-2026-98945: HID: steam: Rearrange teardown sequence

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

HID: steam: Rearrange teardown sequence

This fixes a narrow window during the teardown sequence where callbacks could still be scheduled during cleanup that would then have a dangling pointer to the now-freed steam struct.

This also puts work canceling for rumble and mode switch in steam_unregister, as that shouldn't persist while the client hdev is open.

The Linux kernel CVE team has assigned CVE-2026-98945 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.6.160 with commit d2587923d50c8b141ce0ccb284c714cf6054d6a7
	Fixed in 6.12.113 with commit 81a8209c09f9be7eef860ca6cc154749a6b4d243
	Fixed in 6.18.57 with commit 86724f4bcf6049c3a322f7a7b1f968210059c46a
	Fixed in 7.2.11 with commit b5ea938ff776306798d3a11485c2475034f92131
	Fixed in 7.3 with commit ddce9641ce924ed91ec8304577e463823a29ffaf

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98945

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/hid/hid-steam.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	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