VDB

CVE-2024-56567

CVE-2024-56567 PUBLISHED CVSS 5.5 MEDIUM

ad7780: fix division by zero in ad7780_write_raw()

Reported by linux · Published December 27, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.12.4, 6.6.64, 6.1.120, 5.15.174, 5.10.231, 5.4.287

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux9085daa4abcc3a1c19ae4eb00e609842ef28275a, 9085daa4abcc3a1c19ae4eb00e609842ef28275a, 9085daa4abcc3a1c19ae4eb00e609842ef28275a
LinuxLinux5.2, 0, 5.4.287
linuxlinux_kernel5.2, 5.2, 5.2
LinuxLinux9085daa4abcc3a1c19ae4eb00e609842ef28275a, 9085daa4abcc3a1c19ae4eb00e609842ef28275a, 9085daa4abcc3a1c19ae4eb00e609842ef28275a

Timeline

  • Dec 27, 2024 CVE Published
  • Dec 28, 2024 EPSS Score (30 in total, the first dated here)
  • Mar 14, 2025 Coalition ESS Score (5 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Dec 30, 2025 Security Advisory (438 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (356 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-56567
vulnetix vdb fixes CVE-2024-56567

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-56567/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›