CVE-2024-50233
staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg()
CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Nov 9, 2024 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new medium vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
ea707584bac187c9c6c64c4eacd1c09bcc08f37b < fcd6b59f7a774558e2525251c68aa37aff748e55 ea707584bac187c9c6c64c4eacd1c09bcc08f37b < 442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a ea707584bac187c9c6c64c4eacd1c09bcc08f37b < 2f39548f45693d86e950647012a214da6917dc9f ea707584bac187c9c6c64c4eacd1c09bcc08f37b < ccbc10647aafe2b7506edb4b10e19c6c2416c162 ea707584bac187c9c6c64c4eacd1c09bcc08f37b < adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec ea707584bac187c9c6c64c4eacd1c09bcc08f37b < dd9e1cf619c945f320e686dcaf13e37ef0b05fdd ea707584bac187c9c6c64c4eacd1c09bcc08f37b < 6bd301819f8f69331a55ae2336c8b111fc933f3d
Linux / Linux
2.6.39
References
git.kernel.org: https://git.kernel.org/stable/c/fcd6b59f7a774558e2525251c68aa37aff748e55 git.kernel.org: https://git.kernel.org/stable/c/442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a git.kernel.org: https://git.kernel.org/stable/c/2f39548f45693d86e950647012a214da6917dc9f git.kernel.org: https://git.kernel.org/stable/c/ccbc10647aafe2b7506edb4b10e19c6c2416c162 git.kernel.org: https://git.kernel.org/stable/c/adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec git.kernel.org: https://git.kernel.org/stable/c/dd9e1cf619c945f320e686dcaf13e37ef0b05fdd git.kernel.org: https://git.kernel.org/stable/c/6bd301819f8f69331a55ae2336c8b111fc933f3d lists.debian.org: https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org: https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html