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: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Immediate Patch
AI Analysis

Impact

In the Linux kernel, the alps HID driver contains a use‑after‑free flaw that occurs when the second input device fails to register. The driver frees the device but leaves a dangling pointer in data->input2, which can be dereferenced by the raw event handler while the device is still active. This memory corruption can crash the kernel or be exploited by a locally connected device to execute arbitrary code with kernel privileges (CWE‑825).

Affected Systems

All Linux kernel builds that include the alps HID driver are affected. No specific kernel version numbers were provided, so any kernel containing the vulnerable code path is at risk.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity vulnerability, but the EPSS score is less than 1%, showing a low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is local; a malicious HID device can trigger the use‑after‑free by sending raw reports during the registration failure window, which may lead to a denial of service or privilege escalation. Based on the description, exploitation requires physical or local access to the device and does not rely on remote or network-based access.

Generated by OpenCVE AI on October 24, 2026 at 19:23 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 to correct the use‑after‑free and null‑guard bug.
  • If an update is not available, disable or blacklist the alps HID driver so that the vulnerable code path cannot execute, thereby mitigating the dangling pointer misuse.
  • Monitor kernel crash logs or device‑access events for signs of raw report anomalies that could indicate an attempted exploitation of the previously freed memory (CWE‑825).

Generated by OpenCVE AI on October 24, 2026 at 19:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Sat, 24 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 24 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Tue, 20 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


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-24T14:09:09.356Z

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-24T14:16:44.773

Link: CVE-2026-98501

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98501 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T19:30:07Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference