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.