CVE-2024-56567

ad7780: fix division by zero in ad7780_write_raw()

Medium · published December 27, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
13.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00236 · 13.8th percentile
Published
2024-12-27T14:23Z
EPSS history
Timeline
  • 27 DEC 14:23Z
    ad7780: fix division by zero in ad7780_write_raw()
    cvelistv5