CVE-2024-50233
staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
2.6.39
References 7
git.kernel.org
- stable/c/fcd6b59f7a774558e2525251c68aa37aff748e55
- stable/c/442f786c5bff8cfd756ebdeaa4aadbf05c22aa5a
- stable/c/2f39548f45693d86e950647012a214da6917dc9f
- stable/c/ccbc10647aafe2b7506edb4b10e19c6c2416c162
- stable/c/adfbc08b94e7df08b9ed5fa26b969cc1b54c84ec
- stable/c/dd9e1cf619c945f320e686dcaf13e37ef0b05fdd
- stable/c/6bd301819f8f69331a55ae2336c8b111fc933f3d