Linux Kernel HID: Sony Controller Probe Failure Releases Freed Memory
CVE-2026-90041 Published on September 16, 2026
HID: sony: clean up device list on probe failure
In the Linux kernel, the following vulnerability has been resolved:
HID: sony: clean up device list on probe failure
sony_input_configured() adds some controllers to sony_device_list before
HID core registers their input devices. input_register_device() can fail
after the callback returns successfully. sony_probe() then observes that
HID_CLAIMED_INPUT is clear and unwinds, but only stops the HID hardware.
The devres-managed sony_sc is freed while its list node remains linked, so
the next matching controller traverses freed memory.
Initialize the list node and device ID to inactive states. Make list
removal idempotent and run the driver-private cleanup on every probe
failure path. This also makes a second cleanup safe when
sony_input_configured() already unwound a partial initialization before
sony_probe() handles the missing input claim.
Found by 0sec (https://0sec.ai) using automated source analysis;
verified against the HID input registration and probe unwind paths.
Products Associated with CVE-2026-90041
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 4f967f6d73746f66514528cc1191025f0b5d69b3 and below 3b4709e4864908bb06c48c500cc8db8d3d55d139 is affected.
- Version 4f967f6d73746f66514528cc1191025f0b5d69b3 and below d044d796e2a369c6051c7e83dce88c7baa2494d4 is affected.
- Version 4f967f6d73746f66514528cc1191025f0b5d69b3 and below 7c65699a3a311198a07659a614fe64d45924839e is affected.
- Version 4.10 is affected.
- Before 4.10 is unaffected.
- Version 6.18.51, <= 6.18.* is unaffected.
- Version 7.2.5, <= 7.2.* is unaffected.
- Version 7.3-rc1, <= * is unaffected.