iio: accel: kionix-kx022a: Prevent memory leak and fix state
Summary
| CVE | CVE-2026-98680 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-18 16:17:21 UTC |
| Updated | 2026-10-19 10:19:32 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
iio: accel: kionix-kx022a: Prevent memory leak and fix state
The driver allocates memory for samples at buffer enable path. If regmap
operation fails in the kx022a_fifo_enable() at the buffer enable path, the
allocated memory is never freed. Furthermore, the state information and
previous hardware configuration(s) aren't undone, potentially leaving
WMI interrupts and buffers enabled, or driver state flags wrong.
Free the memory and revert the hardware configuration and state flags on
error path. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected e7123a4dfcd732c4d10620748588e3715f362802 e3bc345d08639e62b629e0ec0799f7fb45e21372 git |
Not specified |
| CNA |
Linux |
Linux |
affected e7123a4dfcd732c4d10620748588e3715f362802 5c7ca8fe72064c1c3c7a7418031f692bb2bff260 git |
Not specified |
| CNA |
Linux |
Linux |
affected e7123a4dfcd732c4d10620748588e3715f362802 2ef953f7b54e1460718116b4c0a4c63b106348fc git |
Not specified |
| CNA |
Linux |
Linux |
affected e7123a4dfcd732c4d10620748588e3715f362802 e65e128b51a37dd1a9056ac3d1705d805a5c8bb0 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.7 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.7 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.113 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.56 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.10 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/2ef953f7b54e1460718116b4c0a4c63b106348fc |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/5c7ca8fe72064c1c3c7a7418031f692bb2bff260 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/e3bc345d08639e62b629e0ec0799f7fb45e21372 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/e65e128b51a37dd1a9056ac3d1705d805a5c8bb0 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.