Description
In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7124: fix division by zero in ad7124_set_channel_odr() In the ad7124_write_raw() function, parameter val can potentially be zero. This may lead to a division by zero when DIV_ROUND_CLOSEST() is called within ad7124_set_channel_odr(). The ad7124_write_raw() function is invoked through the sequence: iio_write_channel_raw() -> iio_write_channel_attribute() -> iio_channel_write(), with no checks in place to ensure val is non-zero.
References (6)
Scores
CVSS v3
5.5
EPSS
0.0001
EPSS Percentile
1.0%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-369
Status
published
Products (6)
linux/Kernel
5.13.0 - 5.15.171linux
linux/Kernel
5.16.0 - 6.1.116linux
linux/Kernel
6.2.0 - 6.6.60linux
linux/Kernel
6.7.0 - 6.11.7linux
linux/linux_kernel
6.12 rc1 (5 CPE variants)
linux/linux_kernel
5.13 - 5.15.171
Published
Nov 09, 2024
Tracked Since
Feb 18, 2026