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

HID: alps: fix use-after-free on input2 registration failure

alps_input_configured() stores data->input2 before calling
input_register_device(). If registration fails, input_free_device()
frees the input device but data->input2 still points to the freed memory.
alps_input_configured() calls hid_hw_open() before allocating input2, so
URBs are already active and raw_event can fire during the failure window.
A U1_SP_ABSOLUTE_REPORT_ID report arriving then causes u1_raw_event()
to dereference the freed data->input2 -> use-after-free.

Fix by only storing input2 into drvdata after successful registration
and adding a NULL guard in the raw_event path.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Remote Code Execution / Privilege Escalation
Action: Immediate Patch
AI Analysis

Impact

A use-after-free flaw exists in the Linux kernel when the alps HID driver fails to register its second input device. The driver frees the device but leaves a dangling pointer. During the failure window, the device can still receive raw reports, which causes an event handler to dereference the freed memory. The resulting memory corruption can crash the kernel or may be leveraged by an attacker to execute arbitrary code with kernel privileges.

Affected Systems

All Linux kernel installations that include the alps HID driver are affected. No specific version numbers were supplied, so any kernel containing the vulnerable driver implementation is at risk.

Risk and Exploitability

The CVSS and EPSS metrics are not provided, and the vulnerability is not listed in the CISA KEV catalog. However, because the flaw occurs in kernel space, a local attacker who can supply a malicious HID device can trigger the use‑after‑free, potentially leading to a denial of service or escalation of privileges. The exploit requires direct interaction with the device and does not rely on network or remote input, making local exploitation the most likely attack vector.

Generated by OpenCVE AI on October 18, 2026 at 16:57 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the alps HID driver fix.
  • If a kernel upgrade is not immediately possible, disable the alps HID driver by blacklisting or unbinding it from the device.
  • Monitor for crash logs or suspicious kernel events to detect attempted exploitation attempts.

Generated by OpenCVE AI on October 18, 2026 at 16:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: HID: alps: fix use-after-free on input2 registration failure alps_input_configured() stores data->input2 before calling input_register_device(). If registration fails, input_free_device() frees the input device but data->input2 still points to the freed memory. alps_input_configured() calls hid_hw_open() before allocating input2, so URBs are already active and raw_event can fire during the failure window. A U1_SP_ABSOLUTE_REPORT_ID report arriving then causes u1_raw_event() to dereference the freed data->input2 -> use-after-free. Fix by only storing input2 into drvdata after successful registration and adding a NULL guard in the raw_event path.
Title HID: alps: fix use-after-free on input2 registration failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:16:46.205Z

Reserved: 2026-09-25T10:25:14.353Z

Link: CVE-2026-98501

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:01.143

Modified: 2026-10-18T16:17:01.143

Link: CVE-2026-98501

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T17:00:09Z

Weaknesses