CVE-2024-50233

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedNov 9, 2024
First seenNov 9, 2024
Weakness typeCWE-369CWE-369

How to fix

Update
  • linux linux_kernel5.4.285, 5.10.229, 5.15.171, 6.1.116, 6.6.60, 6.11.7 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel2.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.125.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.