CVE-2024-56567
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.12.4, 6.6.64, 6.1.120, 5.15.174, 5.10.231, 5.4.287 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 9085daa4abcc3a1c19ae4eb00e609842ef28275a, 9085daa4abcc3a1c19ae4eb00e609842ef28275a, 9085daa4abcc3a1c19ae4eb00e609842ef28275a |
| Linux | Linux | 5.2, 0, 5.4.287 |
| linux | linux_kernel | 5.2, 5.2, 5.2 |
| Linux | Linux | 9085daa4abcc3a1c19ae4eb00e609842ef28275a, 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