CVE-2026-93826: HID: hidpp: fix potential UAF in hidpp_connect_event()
HID: hidpp: fix potential UAF in hidppconnectevent()
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.158.1-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.190-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1 - Upgrade
Upgrade
debian/linux-6.12to a version that resolves this vulnerability.Fixed in 6.12.113-1~deb12u1 - Configuration
Reset hidpp->input to NULL before returning from hidpp_connect_event() when input_register_device() fails, after input_free_device(), to prevent a stale pointer and potential use-after-free.
Linux kernel HID hidpp hidpp->input = NULL
Event History
Frequently Asked Questions
Is successful HID input-device registration enough to trigger this issue?
The stale pointer is created only when input_register_device() fails and the associated input device is freed. The provided information does not indicate that the successful registration path is affected.
How can maintainers verify that a kernel contains the fix?
Check whether the hidpp_connect_event() failure path clears hidpp->input to NULL before returning after input_register_device() fails. The referenced stable commits can also be used to compare source or backports, but no fixed kernel versions are provided.