CVE-2026-93826: HID: hidpp: fix potential UAF in hidpp_connect_event()

Published Sep 24, 2026
·
Updated

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

HID: hidpp: fix potential UAF in hidppconnectevent()

If inputregisterdevice() fails, we call inputfreedevice(), but keep stale pointer to the old device in hidpp->input, which could potentially lead to UAF. Fix that by resetting it to NULL before returning from hidppconnectevent().

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Reset hidpp->input to NULL before returning when input_register_device() fails, after calling input_free_device(), to prevent a use-after-free.

    Linux kernel HID++ driver hidpp->input = NULL

Event History

Sep 24, 2026
CVE Published
via MITRE·04:03 PM
Data Sourced
via MITRE·04:03 PM
Description
Data Sourced
via NVD·05:17 PM
Description

Frequently Asked Questions

1

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.

2

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203