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

Summary

CVECVE-2026-98660
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-18 16:17:19 UTC
Updated2026-10-21 13:21:35 UTC
DescriptionIn 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

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report