In the Linux kernel, the following vulnerability has been resolved: HID: alps: fix use-after-free on input2 registration failure… (CVE-2026-98501)
Description
A use-after-free vulnerability in the Linux kernel's HID alps driver was resolved. The flaw occurs when input device registration fails, causing a freed pointer to still be referenced, potentially leading to memory corruption. The fix involves only storing the input device pointer after successful registration and adding a null check to prevent dereferencing freed memory.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's HID alps driver had a use-after-free vulnerability triggered during input device registration failure. Specifically, alps_input_configured() stored a pointer to input2 before input_register_device() succeeded. If registration failed, input_free_device() freed the input device, but data->input2 still pointed to freed memory. Since URBs were active and raw_event could fire during this window, a U1_SP_ABSOLUTE_REPORT_ID report could cause u1_raw_event() to dereference the freed pointer, leading to use-after-free. The issue was fixed by storing input2 only after successful registration and adding a null guard in the raw_event path.
Potential Impact
This vulnerability could lead to use-after-free memory corruption in the Linux kernel, potentially causing system instability or crashes. No specific exploit in the wild is known. The impact is limited to systems running the vulnerable HID alps driver in the Linux kernel.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this use-after-free vulnerability. Users should update to the patched kernel version once available. No additional mitigation is required beyond applying the official fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-56g2-px47-cfcj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98501"]
Threat ID: 6ad520b02cdf04f656993b00
Added to database: 10/18/2026, 19:40:32 UTC
Last enriched: 10/18/2026, 20:04:28 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.