Shellfeed logo Shellfeed

CVE-2026-98660 · UNKNOWN

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 10.6).

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [10b40ffba2f95cdeed47b731c5ad5ecc73e140e8 – fed876157271fc4bc28b8739ad73642553a5920e]
  • Linux Kernel [6.1.0 – 6.1.191] [6.2.0 – 6.6.160] [6.7.0 – 6.12.113] [6.13.0 – 6.18.56] [6.19.0 – 7.2.10]

References