CVE-2024-56567

Medium

Description

In the Linux kernel, the following vulnerability has been resolved: ad7780: fix division by zero in ad7780_write_raw() In the ad7780_write_raw() , val2 can be zero, which might lead to a division by zero error in DIV_ROUND_CLOSEST(). The ad7780_write_raw() is based on iio_info's write_raw. While val is explicitly declared that can be zero (in read mode), val2 is not specified to be non-zero.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedDec 27, 2024
First seenDec 27, 2024
Weakness typeCWE-369CWE-369

How to fix

Update
  • linux linux_kernel5.4.287, 5.10.231, 5.15.174, 6.1.120, 6.6.64, 6.12.4 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.2 ≤ v < 5.4.287, 5.5 ≤ v < 5.10.231, 5.11 ≤ v < 5.15.174, 5.16 ≤ v < 6.1.120, 6.2 ≤ v < 6.6.64, 6.7 ≤ v < 6.12.45.4.287, 5.10.231, 5.15.174, 6.1.120, 6.6.64, 6.12.4

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.