iio: pressure: bmp280: fix out-of-bounds access in sampling frequency lookup
Summary
| CVE | CVE-2026-98660 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-18 16:17:19 UTC |
| Updated | 2026-10-21 13:21:35 UTC |
| 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. |
Risk And Classification
EPSS: 0.002000000 probability, percentile 0.092990000 (date 2026-10-21)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 10b40ffba2f95cdeed47b731c5ad5ecc73e140e8 05ef1af381a0f4556c7e3c0dc6bc2428d16c707e git | Not specified |
| CNA | Linux | Linux | affected 10b40ffba2f95cdeed47b731c5ad5ecc73e140e8 9db6684fab228edd3b8861a172ccbce3236f027a git | Not specified |
| CNA | Linux | Linux | affected 10b40ffba2f95cdeed47b731c5ad5ecc73e140e8 4fd5a61e61d6899cbd45728a5fceba49a53c222d git | Not specified |
| CNA | Linux | Linux | affected 10b40ffba2f95cdeed47b731c5ad5ecc73e140e8 7dbb518f3328ebd9d5c6e970b4befad6deb5c7f1 git | Not specified |
| CNA | Linux | Linux | affected 10b40ffba2f95cdeed47b731c5ad5ecc73e140e8 56c423b233b214182c58c99861899327b45b0d6c git | Not specified |
| CNA | Linux | Linux | affected 6.1 | Not specified |
| CNA | Linux | Linux | unaffected 6.1 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.160 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.113 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.56 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2.10 7.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/05ef1af381a0f4556c7e3c0dc6bc2428d16c707e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/7dbb518f3328ebd9d5c6e970b4befad6deb5c7f1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/56c423b233b214182c58c99861899327b45b0d6c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/9db6684fab228edd3b8861a172ccbce3236f027a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/4fd5a61e61d6899cbd45728a5fceba49a53c222d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.