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.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Information Disclosure and Potential Denial of Service
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises from an out-of-bounds array index in the BMP280 pressure sensor driver. The sampling frequency lookup table is stored in a flat array, but the write function treats it as two-dimensional and uses an incorrect row count, enabling a read outside the bounds of the array. This flaw can expose arbitrary kernel memory or trigger a crash, leading to information disclosure or a denial-of-service condition.

Affected Systems

The issue appears in all Linux kernel releases that contain the unpatched bmp280 driver code. No specific kernel version range is supplied, so any deployment running a kernel built before the commit that introduced the fix is potentially vulnerable. Supports any architecture that includes the BMP280 iio driver.

Risk and Exploitability

The flaw requires local access to the BMP280 device interface—typically through sysfs entries exposed by the kernel's industrial I/O subsystem. An attacker with such access can set a sampling frequency value that triggers the out-of-bounds read, potentially reading sensitive memory or causing a kernel panic. While the CVSS score is not listed, the exploit probability is uncertain (EPSS not available) and the vulnerability is not currently in the CISA KEV list. Nevertheless, the possibility of denial-of-service or information disclosure warrants timely patching.

Generated by OpenCVE AI on October 18, 2026 at 18:58 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that contains the bmp280 driver patch or rebuild the kernel with the updated source.
  • If an update is not yet available, remove or disable the BMP280 IIO driver from the kernel configuration to eliminate the attack surface.
  • Restrict access to the device by setting sysfs permissions so that only trusted users or processes can write sampling frequencies (for example, chown /sys/bus/iio/devices/iio\:device*/sampling_frequency to root and set mode 640).

Generated by OpenCVE AI on October 18, 2026 at 18:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
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.
Title iio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:44:19.707Z

Reserved: 2026-09-25T10:25:14.362Z

Link: CVE-2026-98660

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:19.313

Modified: 2026-10-18T16:17:19.313

Link: CVE-2026-98660

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T19:00:11Z

Weaknesses