CVE-2024-50233
Description
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.
How to fix
- linux linux_kernel5.4.285, 5.10.229, 5.15.171, 6.1.116, 6.6.60, 6.11.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 2.6.39 ≤ v < 5.4.285, 5.5 ≤ v < 5.10.229, 5.11 ≤ v < 5.15.171, 5.16 ≤ v < 6.1.116, 6.2 ≤ v < 6.6.60, 6.7 ≤ v < 6.11.7, 6.12 | 5.4.285, 5.10.229, 5.15.171, 6.1.116, 6.6.60, 6.11.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.