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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
9085daa4abcc3a1c19ae4eb00e609842ef28275a to < 18fb33df1de83a014d7f784089f9b124facc157faffected9085daa4abcc3a1c19ae4eb00e609842ef28275a to < afc1e3c00b3f5f0b4f1bc3e974fb9803cb938a90affected9085daa4abcc3a1c19ae4eb00e609842ef28275a to < 68e79b848196a0b0ec006009cc69da1f835d1ae8affected9085daa4abcc3a1c19ae4eb00e609842ef28275a to < 022e13518ba6cc1b4fdd291f49e4f57b2d5718e0affected9085daa4abcc3a1c19ae4eb00e609842ef28275a to < 7e3a8ea3d1ada7f707de5d9d504774b4191eab66affected9085daa4abcc3a1c19ae4eb00e609842ef28275a to < f25a9f1df1f6738acf1fa05595fb6060a2c08ff1affected9085daa4abcc3a1c19ae4eb00e609842ef28275a to < c174b53e95adf2eece2afc56cd9798374919f99aaffected
Linux Linux
Default version status: affected
5.2affected0 to < 5.2unaffected5.4.287 to ≤ 5.4.*unaffected5.10.231 to ≤ 5.10.*unaffected5.15.174 to ≤ 5.15.*unaffected6.1.120 to ≤ 6.1.*unaffected6.6.64 to ≤ 6.6.*unaffected6.12.4 to ≤ 6.12.*unaffected6.13 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/18fb33df1de83a014d7f784089f9b124facc157f ↗
- https://git.kernel.org/stable/c/afc1e3c00b3f5f0b4f1bc3e974fb9803cb938a90 ↗
- https://git.kernel.org/stable/c/68e79b848196a0b0ec006009cc69da1f835d1ae8 ↗
- https://git.kernel.org/stable/c/022e13518ba6cc1b4fdd291f49e4f57b2d5718e0 ↗
- https://git.kernel.org/stable/c/7e3a8ea3d1ada7f707de5d9d504774b4191eab66 ↗
- https://git.kernel.org/stable/c/f25a9f1df1f6738acf1fa05595fb6060a2c08ff1 ↗
- https://git.kernel.org/stable/c/c174b53e95adf2eece2afc56cd9798374919f99a ↗
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html ↗
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html ↗