2 matches found
CVE-2024-56567
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...
CVE-2024-56567
CVE-2024-56567 concerns the Linux kernel: in ad7780_write_raw(), a division by zero can occur if val2 is zero, since DIV_ROUND_CLOSEST() uses val2 without guaranteeing non-zero. The root cause is that while val can be zero, val2 is not specified to be non-zero, allowing a zero division path. A pa...