# CVE-2026-98680: iio: accel: kionix-kx022a: Prevent memory leak and fix state

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-10-18T15:45:39.927Z
- Modified: 2026-10-19T10:19:32.447Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e7123a4dfcd732c4d10620748588e3715f362802 before e3bc345d08639e62b629e0ec0799f7fb45e21372; from e7123a4dfcd732c4d10620748588e3715f362802 before 5c7ca8fe72064c1c3c7a7418031f692bb2bff260; from e7123a4dfcd732c4d10620748588e3715f362802 before 2ef953f7b54e1460718116b4c0a4c63b106348fc; from e7123a4dfcd732c4d10620748588e3715f362802 before e65e128b51a37dd1a9056ac3d1705d805a5c8bb0; 6.7 (not affected: before 6.7; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/e3bc345d08639e62b629e0ec0799f7fb45e21372>
- <https://git.kernel.org/stable/c/5c7ca8fe72064c1c3c7a7418031f692bb2bff260>
- <https://git.kernel.org/stable/c/2ef953f7b54e1460718116b4c0a4c63b106348fc>
- <https://git.kernel.org/stable/c/e65e128b51a37dd1a9056ac3d1705d805a5c8bb0>

## Sources

- CVE List: [CVE-2026-98680](https://www.cve.org/CVERecord?id=CVE-2026-98680), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98680](https://nvd.nist.gov/vuln/detail/CVE-2026-98680), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98680 · Whole record: https://cve.day/CVE-2026-98680.json · Rebuilt by cve.day 2026-11-25T22:59:45.265Z
