CVE-2024-56567

Source
https://cve.org/CVERecord?id=CVE-2024-56567
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56567.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56567
Downstream
Related
Published
2024-12-27T14:23:10.861Z
Modified
2026-03-20T12:39:51.593564Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ad7780: fix division by zero in ad7780_write_raw()
Details

In the Linux kernel, the following vulnerability has been resolved:

ad7780: fix division by zero in ad7780writeraw()

In the ad7780writeraw() , val2 can be zero, which might lead to a division by zero error in DIVROUNDCLOSEST(). The ad7780writeraw() is based on iioinfo's writeraw. While val is explicitly declared that can be zero (in read mode), val2 is not specified to be non-zero.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56567.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9085daa4abcc3a1c19ae4eb00e609842ef28275a
Fixed
18fb33df1de83a014d7f784089f9b124facc157f
Fixed
afc1e3c00b3f5f0b4f1bc3e974fb9803cb938a90
Fixed
68e79b848196a0b0ec006009cc69da1f835d1ae8
Fixed
022e13518ba6cc1b4fdd291f49e4f57b2d5718e0
Fixed
7e3a8ea3d1ada7f707de5d9d504774b4191eab66
Fixed
f25a9f1df1f6738acf1fa05595fb6060a2c08ff1
Fixed
c174b53e95adf2eece2afc56cd9798374919f99a

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56567.json"