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.
Metrics
Affected Vendors & Products
References
History
Tue, 14 Jan 2025 16:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Linux
Linux linux Kernel |
|
Weaknesses | CWE-369 | |
CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
Vendors & Products |
Linux
Linux linux Kernel |
Mon, 30 Dec 2024 01:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
cvssV3_1
|
Fri, 27 Dec 2024 14:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | 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. | |
Title | ad7780: fix division by zero in ad7780_write_raw() | |
References |
|
|
MITRE
Status: PUBLISHED
Assigner: Linux
Published: 2024-12-27T14:23:10.861Z
Updated: 2024-12-27T14:23:10.861Z
Reserved: 2024-12-27T14:03:05.996Z
Link: CVE-2024-56567
Vulnrichment
No data.
NVD
Status : Analyzed
Published: 2024-12-27T15:15:15.630
Modified: 2025-01-14T15:47:06.327
Link: CVE-2024-56567
Redhat