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.
https://git.kernel.org/stable/c/cf71a6ee1d4e36b8e65b81c064e2797a10247280
https://git.kernel.org/stable/c/c06cf54fe99b8c6bcf2017bb076c0e3918608cea
https://git.kernel.org/stable/c/6f9b740c31ba7e061b2ebb330d9a3d63f1358f29
https://git.kernel.org/stable/c/3c2f97343d4df2a75747f4c79effa0587509888f
https://git.kernel.org/stable/c/2b15e10aff95c78dbacc4fa32fa90c9098213e03