# CVE-2026-43476: iio: chemical: sps30_i2c: fix buffer size in sps30_i2c_read_meas()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-13T15:08:26.152Z
- Modified: 2026-08-05T12:28:11.813Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8f3f130852785dac0759843835ca97c3bacc2b10 before 9aff2e9c2927ecd9652872a43a0725f101128104; from 8f3f130852785dac0759843835ca97c3bacc2b10 before 08881d82f94deaa51800360029908863e5c4c39d; from 8f3f130852785dac0759843835ca97c3bacc2b10 before dcdf1e92674efb6692f4ebe189e0aa9fde23a541; from 8f3f130852785dac0759843835ca97c3bacc2b10 before 2a4d111a6a34afb8bb4f118009e7728ed2ec7e10; from 8f3f130852785dac0759843835ca97c3bacc2b10 before 90e978ace598567e6e30de79805bddf37cf892ac; from 8f3f130852785dac0759843835ca97c3bacc2b10 before 165f12b40901c6a7aca15796da239726ddcdc5ad; from 8f3f130852785dac0759843835ca97c3bacc2b10 before 216345f98cae7fcc84f49728c67478ac00321c87; 5.14 (not affected: before 5.14; from 5.15.203 up to 5.15.*; from 6.1.167 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.78 up to 6.12.*; from 6.18.19 up to 6.18.*; from 6.19.9 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.14 before 5.15.203; from 5.16 before 6.1.167; from 6.2 before 6.6.130; from 6.7 before 6.12.78; from 6.13 before 6.18.19; from 6.19 before 6.19.9; 7.0

## References

- <https://git.kernel.org/stable/c/9aff2e9c2927ecd9652872a43a0725f101128104> (patch)
- <https://git.kernel.org/stable/c/08881d82f94deaa51800360029908863e5c4c39d> (patch)
- <https://git.kernel.org/stable/c/dcdf1e92674efb6692f4ebe189e0aa9fde23a541> (patch)
- <https://git.kernel.org/stable/c/2a4d111a6a34afb8bb4f118009e7728ed2ec7e10> (patch)
- <https://git.kernel.org/stable/c/90e978ace598567e6e30de79805bddf37cf892ac> (patch)
- <https://git.kernel.org/stable/c/165f12b40901c6a7aca15796da239726ddcdc5ad> (patch)
- <https://git.kernel.org/stable/c/216345f98cae7fcc84f49728c67478ac00321c87> (patch)

## Sources

- CVE List: [CVE-2026-43476](https://www.cve.org/CVERecord?id=CVE-2026-43476), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-43476](https://nvd.nist.gov/vuln/detail/CVE-2026-43476), Public domain, modified 2026-06-26

---

Page: https://cve.day/CVE-2026-43476 · Whole record: https://cve.day/CVE-2026-43476.json · Rebuilt by cve.day 2026-11-25T22:59:21.584Z
