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.
References
Configurations
Configuration 1 (hide)
|
History
14 Jan 2025, 15:47
Type | Values Removed | Values Added |
---|---|---|
References | () https://git.kernel.org/stable/c/022e13518ba6cc1b4fdd291f49e4f57b2d5718e0 - Patch | |
References | () https://git.kernel.org/stable/c/18fb33df1de83a014d7f784089f9b124facc157f - Patch | |
References | () https://git.kernel.org/stable/c/68e79b848196a0b0ec006009cc69da1f835d1ae8 - Patch | |
References | () https://git.kernel.org/stable/c/7e3a8ea3d1ada7f707de5d9d504774b4191eab66 - Patch | |
References | () https://git.kernel.org/stable/c/afc1e3c00b3f5f0b4f1bc3e974fb9803cb938a90 - Patch | |
References | () https://git.kernel.org/stable/c/c174b53e95adf2eece2afc56cd9798374919f99a - Patch | |
References | () https://git.kernel.org/stable/c/f25a9f1df1f6738acf1fa05595fb6060a2c08ff1 - Patch | |
CWE | CWE-369 | |
Summary |
|
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
First Time |
Linux linux Kernel
Linux |
27 Dec 2024, 15:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-12-27 15:15
Updated : 2025-01-14 15:47
NVD link : CVE-2024-56567
Mitre link : CVE-2024-56567
CVE.ORG link : CVE-2024-56567
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-369
Divide By Zero