CVE-2024-56567

ad7780: fix division by zero in ad7780_write_raw()

MEDIUM
5.5
CVSS Score
Published: December 27, 2024 at 02:23 PM UTC
Updated: June 17, 2026 at 08:12 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1745.16 ≤ v < 6.1.1205.2 ≤ v < 5.10.2315.2 ≤ v < 5.15.1745.2 ≤ v < 5.4.2875.2 ≤ v < 6.1.1205.2 ≤ v < 6.12.45.2 ≤ v < 6.135.2 ≤ v < 6.6.645.5 ≤ v < 5.10.2316.2 ≤ v < 6.6.646.7 ≤ v < 6.12.45.29085daa4abcc3a1c19ae4eb00e609842ef28275a
Vendor states this is fixed in 022e13518ba6cc1b4fdd291f49e4f57b2d5718e0 (fixed)
Vendor states this is fixed in 18fb33df1de83a014d7f784089f9b124facc157f (fixed)
Vendor states this is fixed in 68e79b848196a0b0ec006009cc69da1f835d1ae8 (fixed)
Vendor states this is fixed in 7e3a8ea3d1ada7f707de5d9d504774b4191eab66 (fixed)
Vendor states this is fixed in afc1e3c00b3f5f0b4f1bc3e974fb9803cb938a90 (fixed)
Vendor states this is fixed in c174b53e95adf2eece2afc56cd9798374919f99a (fixed)
Vendor states this is fixed in f25a9f1df1f6738acf1fa05595fb6060a2c08ff1 (fixed)
Vendor states this is fixed in 5.10.231 (unaffected)
Vendor states this is fixed in 5.15.174 (unaffected)
Vendor states this is fixed in 5.2 (unaffected)
Vendor states this is fixed in 5.4.287 (unaffected)
Vendor states this is fixed in 6.1.120 (unaffected)
Vendor states this is fixed in 6.12.4 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.6.64 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/022e13518ba6cc1b4fdd291f49e4f57b2d5718e0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/18fb33df1de83a014d7f784089f9b124facc157f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/68e79b848196a0b0ec006009cc69da1f835d1ae8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7e3a8ea3d1ada7f707de5d9d504774b4191eab66
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/afc1e3c00b3f5f0b4f1bc3e974fb9803cb938a90
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c174b53e95adf2eece2afc56cd9798374919f99a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f25a9f1df1f6738acf1fa05595fb6060a2c08ff1
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-369

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card