CVE-2024-50232
MEDIUMLinux Kernel 5.13-5.15.170, 5.16-6.1.115, 6.2-6.6.59, 6.7-6.11.6 - Division By Zero in ad7124_set_channel_odr()
Title source: llmDescription
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)
Core 6
Core References
Scores
CVSS v3
5.5
EPSS
0.0025
EPSS Percentile
15.8%
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 (18)
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
< 5.13
Linux/Linux
5.13
Linux/Linux
5.15.171 - 5.15.*
Linux/Linux
6.1.116 - 6.1.*
Linux/Linux
6.11.7 - 6.11.*
Linux/Linux
6.12
... and 8 more
Published
Nov 09, 2024
Tracked Since
Feb 18, 2026