iio: adc: ad4030: fix invalid oversampling_ratio validation
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6b0cc4e32599f59c994a60743f53fc72cb2979f4, Kernel 6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1 and Kernel d615210564205993e8f0e7ccb57cc2e66b7d5706.
In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad4030: fix invalid oversampling_ratio validation In ad4030_set_avg_frame_len(), the logarithm is calculated before input validation. Passing zero or negative values leads to an undefined result from ilog2(). Validate that the input is strictly positive prior to computing its logarithm.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.15, >=949abd1ca5a4342d9fb8c774035222e65dd1cfe4 <6b0cc4e32599f59c994a60743f53fc72cb2979f4, >=949abd1ca5a4342d9fb8c774035222e65dd1cfe4 <6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1, >=949abd1ca5a4342d9fb8c774035222e65dd1cfe4 <d615210564205993e8f0e7ccb57cc2e66b7d5706 | 6b0cc4e32599f59c994a60743f53fc72cb2979f4, 6ca6dcbaa68c5e6dc4df171a32c5822e1a4c66c1, d615210564205993e8f0e7ccb57cc2e66b7d5706 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket