CVE-2024-50232

Medium

Description

In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad7124: fix division by zero in ad7124_set_channel_odr() In the ad7124_write_raw() function, parameter val can potentially be zero. This may lead to a division by zero when DIV_ROUND_CLOSEST() is called within ad7124_set_channel_odr(). The ad7124_write_raw() function is invoked through the sequence: iio_write_channel_raw() -> iio_write_channel_attribute() -> iio_channel_write(), with no checks in place to ensure val is non-zero.

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.15.171, 6.1.116, 6.6.60, 6.11.7 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.13 ≤ v < 5.15.171, 5.16 ≤ v < 6.1.116, 6.2 ≤ v < 6.6.60, 6.7 ≤ v < 6.11.7, 6.125.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.