ad7780: fix division by zero in ad7780_write_raw()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 022e13518ba6cc1b4fdd291f49e4f57b2d5718e0, Kernel 18fb33df1de83a014d7f784089f9b124facc157f, Kernel 68e79b848196a0b0ec006009cc69da1f835d1ae8 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.2, >=9085daa4abcc3a1c19ae4eb00e609842ef28275a <022e13518ba6cc1b4fdd291f49e4f57b2d5718e0, >=9085daa4abcc3a1c19ae4eb00e609842ef28275a <18fb33df1de83a014d7f784089f9b124facc157f, >=9085daa4abcc3a1c19ae4eb00e609842ef28275a <68e79b848196a0b0ec006009cc69da1f835d1ae8, >=9085daa4abcc3a1c19ae4eb00e609842ef28275a <7e3a8ea3d1ada7f707de5d9d504774b4191eab66, >=9085daa4abcc3a1c19ae4eb00e609842ef28275a <afc1e3c00b3f5f0b4f1bc3e974fb9803cb938a90, >=9085daa4abcc3a1c19ae4eb00e609842ef28275a <c174b53e95adf2eece2afc56cd9798374919f99a, >=9085daa4abcc3a1c19ae4eb00e609842ef28275a <f25a9f1df1f6738acf1fa05595fb6060a2c08ff1 | 022e13518ba6cc1b4fdd291f49e4f57b2d5718e0, 18fb33df1de83a014d7f784089f9b124facc157f, 68e79b848196a0b0ec006009cc69da1f835d1ae8, 7e3a8ea3d1ada7f707de5d9d504774b4191eab66, afc1e3c00b3f5f0b4f1bc3e974fb9803cb938a90, c174b53e95adf2eece2afc56cd9798374919f99a, f25a9f1df1f6738acf1fa05595fb6060a2c08ff1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket