CVE-2024-56567: ad7780: fix division by zero in ad7780_write_raw()
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.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56567?
CVE-2024-56567 is classified as a medium severity vulnerability due to the potential for a division by zero error in the Linux kernel.
How do I fix CVE-2024-56567?
To remediate CVE-2024-56567, update to a patched version of the Linux kernel, specifically 5.10.234-1, 6.1.128-1, or later.
Which Linux kernel versions are affected by CVE-2024-56567?
CVE-2024-56567 affects Linux kernel versions from 5.2 to 6.6, excluding the patched versions.
What components are impacted by CVE-2024-56567?
CVE-2024-56567 specifically impacts the ad7780 driver within the Linux kernel.
Is CVE-2024-56567 a remote or local vulnerability?
CVE-2024-56567 is primarily a local vulnerability, as it requires local access to exploit the division by zero error.