iio: chemical: sps30_i2c: fix buffer size in sps30_i2c_read_meas()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 08881d82f94deaa51800360029908863e5c4c39d, Kernel 165f12b40901c6a7aca15796da239726ddcdc5ad, Kernel 216345f98cae7fcc84f49728c67478ac00321c87 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: iio: chemical: sps30_i2c: fix buffer size in sps30_i2c_read_meas() sizeof(num) evaluates to sizeof(size_t) (8 bytes on 64-bit) instead of the intended __be32 element size (4 bytes). Use sizeof(*meas) to correctly match the buffer element type.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.14, >=8f3f130852785dac0759843835ca97c3bacc2b10 <08881d82f94deaa51800360029908863e5c4c39d, >=8f3f130852785dac0759843835ca97c3bacc2b10 <165f12b40901c6a7aca15796da239726ddcdc5ad, >=8f3f130852785dac0759843835ca97c3bacc2b10 <216345f98cae7fcc84f49728c67478ac00321c87, >=8f3f130852785dac0759843835ca97c3bacc2b10 <2a4d111a6a34afb8bb4f118009e7728ed2ec7e10, >=8f3f130852785dac0759843835ca97c3bacc2b10 <90e978ace598567e6e30de79805bddf37cf892ac, >=8f3f130852785dac0759843835ca97c3bacc2b10 <9aff2e9c2927ecd9652872a43a0725f101128104, >=8f3f130852785dac0759843835ca97c3bacc2b10 <dcdf1e92674efb6692f4ebe189e0aa9fde23a541 | 08881d82f94deaa51800360029908863e5c4c39d, 165f12b40901c6a7aca15796da239726ddcdc5ad, 216345f98cae7fcc84f49728c67478ac00321c87, 2a4d111a6a34afb8bb4f118009e7728ed2ec7e10, 90e978ace598567e6e30de79805bddf37cf892ac, 9aff2e9c2927ecd9652872a43a0725f101128104, dcdf1e92674efb6692f4ebe189e0aa9fde23a541 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket