CVE-2026-98944: HID: steam: Refactor registration
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
HID: steam: Refactor registration
This refactors and simplifies the registration/unregistration flow. Since we now only perform registration when the client isn't opened anymore, the logic for handling that can be removed, and the rest of the function streamlined.
We also remove the previous assumption that we have a serial number to show we're registered, replacing it with a single purpose boolean.
In a previous refactor the code for unregistering a battery if later registration steps failed was accidentally left out. As a result, a lingering power_supply object could get left over after the steam object was torn down. This is also fixed here.
The Linux kernel CVE team has assigned CVE-2026-98944 to this issue.
Affected and fixed versions
===========================
Fixed in 6.6.160 with commit 3c2f97343d4df2a75747f4c79effa0587509888f Fixed in 6.12.113 with commit 2b15e10aff95c78dbacc4fa32fa90c9098213e03 Fixed in 6.18.57 with commit cf71a6ee1d4e36b8e65b81c064e2797a10247280 Fixed in 7.2.11 with commit c06cf54fe99b8c6bcf2017bb076c0e3918608cea Fixed in 7.3 with commit 6f9b740c31ba7e061b2ebb330d9a3d63f1358f29
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-98944
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/3c2f97343d4df2a75747f4c79effa0587509888f https://git.kernel.org/stable/c/2b15e10aff95c78dbacc4fa32fa90c9098213e03 https://git.kernel.org/stable/c/cf71a6ee1d4e36b8e65b81c064e2797a10247280 https://git.kernel.org/stable/c/c06cf54fe99b8c6bcf2017bb076c0e3918608cea https://git.kernel.org/stable/c/6f9b740c31ba7e061b2ebb330d9a3d63f1358f29