In the Linux kernel, the following vulnerability has been resolved: iio: accel: kionix-kx022a: Prevent memory leak and fix state The driver… (CVE-2026-98680)
Description
A vulnerability in the Linux kernel driver for the Kionix KX022A accelerometer (iio: accel: kionix-kx022a) has been resolved. The issue involved a memory leak when regmap operations failed during the buffer enable path, causing allocated memory not to be freed. Additionally, hardware state and configuration were not properly reverted on error, potentially leaving interrupts and buffers enabled incorrectly. The fix ensures memory is freed and hardware state is restored on error.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel driver for the Kionix KX022A accelerometer allocated memory for samples during the buffer enable path. If a regmap operation failed in the kx022a_fifo_enable() function, the allocated memory was not freed, causing a memory leak. Moreover, the driver did not revert state information or previous hardware configurations on error, which could leave WMI interrupts and buffers enabled or driver state flags in an incorrect state. The vulnerability has been resolved by adding code to free allocated memory and revert hardware configuration and state flags on the error path.
Potential Impact
The vulnerability could lead to a memory leak in the kernel driver, which may degrade system stability or performance over time. Incorrect hardware state and driver flags could cause unintended behavior related to interrupts and buffer management. There is no indication of direct code execution or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been implemented in the Linux kernel driver to free allocated memory and revert hardware state on error. Users should update to the fixed kernel version containing this patch. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-qmhh-5mg8-h75r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98680"]
Threat ID: 6ad520ac2cdf04f656993a2d
Added to database: 10/18/2026, 19:40:28 UTC
Last enriched: 10/18/2026, 22:28:07 UTC
Last updated: 10/19/2026, 01:28:19 UTC
Views: 2
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.