CVE-2026-98680

iio: accel: kionix-kx022a: Prevent memory leak and fix state

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e7123a4dfcd732c4d10620748588e3715f362802 to before e3bc345d08639e62b629e0ec0799f7fb45e21372Affected
  • e7123a4dfcd732c4d10620748588e3715f362802 to before 5c7ca8fe72064c1c3c7a7418031f692bb2bff260Affected
  • e7123a4dfcd732c4d10620748588e3715f362802 to before 2ef953f7b54e1460718116b4c0a4c63b106348fcAffected
  • e7123a4dfcd732c4d10620748588e3715f362802 to before e65e128b51a37dd1a9056ac3d1705d805a5c8bb0Affected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.56 through 6.18.*Not affected
  • 7.2.10 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.