iio: accel: kionix-kx022a: Prevent memory leak and fix state
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e65e128b51a37dd1a9056ac3d1705d805a5c8bb0, Kernel 2ef953f7b54e1460718116b4c0a4c63b106348fc, Kernel 5c7ca8fe72064c1c3c7a7418031f692bb2bff260 and 4 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=e7123a4dfcd732c4d10620748588e3715f362802 <e65e128b51a37dd1a9056ac3d1705d805a5c8bb0, >=e7123a4dfcd732c4d10620748588e3715f362802 <2ef953f7b54e1460718116b4c0a4c63b106348fc, >=e7123a4dfcd732c4d10620748588e3715f362802 <5c7ca8fe72064c1c3c7a7418031f692bb2bff260, >=e7123a4dfcd732c4d10620748588e3715f362802 <e3bc345d08639e62b629e0ec0799f7fb45e21372, =6.7 | e65e128b51a37dd1a9056ac3d1705d805a5c8bb0, 2ef953f7b54e1460718116b4c0a4c63b106348fc, 5c7ca8fe72064c1c3c7a7418031f692bb2bff260, e3bc345d08639e62b629e0ec0799f7fb45e21372 |
| linux-kernel: Kernel | >=6.19.0 <7.2.10, >=6.7.0 <6.12.113, >=6.13.0 <6.18.56 | 7.2.10, 6.12.113, 6.18.56 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket