# CVE-2026-98660: iio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup

- Severity: not scored yet
- 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.21%, higher than 11% of CVEs (2026-12-02)
- Published: 2026-10-18T15:44:19.707Z
- Modified: 2026-10-30T13:21:16.577Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

iio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup

The sampling frequency tables store each frequency as an integer part and
a fractional part in micro units. num_sampling_freq_avail is initialized
to the number of flattened integer elements because read_avail() returns
the table as a flat array.

bmp280_write_sampling_frequency(), however, indexes the same table as a
two-dimensional array and uses num_sampling_freq_avail as the number of
rows. Convert the flattened element count back to the number of rows
before iterating over the table.

(As written by CVE List.)

## Affected

- Linux Linux: from 10b40ffba2f95cdeed47b731c5ad5ecc73e140e8 before fed876157271fc4bc28b8739ad73642553a5920e; from 10b40ffba2f95cdeed47b731c5ad5ecc73e140e8 before 05ef1af381a0f4556c7e3c0dc6bc2428d16c707e; from 10b40ffba2f95cdeed47b731c5ad5ecc73e140e8 before 9db6684fab228edd3b8861a172ccbce3236f027a; from 10b40ffba2f95cdeed47b731c5ad5ecc73e140e8 before 4fd5a61e61d6899cbd45728a5fceba49a53c222d; from 10b40ffba2f95cdeed47b731c5ad5ecc73e140e8 before 7dbb518f3328ebd9d5c6e970b4befad6deb5c7f1; from 10b40ffba2f95cdeed47b731c5ad5ecc73e140e8 before 56c423b233b214182c58c99861899327b45b0d6c; 6.1 (not affected: before 6.1; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/fed876157271fc4bc28b8739ad73642553a5920e>
- <https://git.kernel.org/stable/c/05ef1af381a0f4556c7e3c0dc6bc2428d16c707e>
- <https://git.kernel.org/stable/c/9db6684fab228edd3b8861a172ccbce3236f027a>
- <https://git.kernel.org/stable/c/4fd5a61e61d6899cbd45728a5fceba49a53c222d>
- <https://git.kernel.org/stable/c/7dbb518f3328ebd9d5c6e970b4befad6deb5c7f1>
- <https://git.kernel.org/stable/c/56c423b233b214182c58c99861899327b45b0d6c>

## Sources

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

---

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