CVE-2024-50233
MEDIUMLinux Kernel - Division By Zero in ad9832_calc_freqreg()
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg() In the ad9832_write_frequency() function, clk_get_rate() might return 0. This can lead to a division by zero when calling ad9832_calc_freqreg(). The check if (fout > (clk_get_rate(st->mclk) / 2)) does not protect against the case when fout is 0. The ad9832_write_frequency() function is called from ad9832_write(), and fout is derived from a text buffer, which can contain any value.
References (9)
Core 9
Core References
Scores
CVSS v3
5.5
EPSS
0.0027
EPSS Percentile
17.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 (24)
linux/Kernel
2.6.39 - 5.4.285linux
linux/Kernel
5.11.0 - 5.15.171linux
linux/Kernel
5.16.0 - 6.1.116linux
linux/Kernel
5.5.0 - 5.10.229linux
linux/Kernel
6.2.0 - 6.6.60linux
linux/Kernel
6.7.0 - 6.11.7linux
Linux/Linux
< 2.6.39
Linux/Linux
2.6.39
Linux/Linux
5.10.229 - 5.10.*
Linux/Linux
5.15.171 - 5.15.*
... and 14 more
Published
Nov 09, 2024
Tracked Since
Feb 18, 2026