{"id":69588,"date":"2025-09-05T23:32:32","date_gmt":"2025-09-05T20:02:32","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-39719-iio-imu-bno055-fix-oob-access-of-hw_xlate-array\/"},"modified":"2025-09-05T23:32:32","modified_gmt":"2025-09-05T20:02:32","slug":"cve-2025-39719-iio-imu-bno055-fix-oob-access-of-hw_xlate-array","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-39719-iio-imu-bno055-fix-oob-access-of-hw_xlate-array\/","title":{"rendered":"CVE-2025-39719 &#8211; iio: imu: bno055: fix OOB access of hw_xlate array"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-39719<br \/>\n<br \/>\n<strong>Published : <\/strong> Sept. 5, 2025, 6:15 p.m. | 1\u00a0hour ago<br \/>\n<br \/>\n<strong>Description : <\/strong>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>iio: imu: bno055: fix OOB access of hw_xlate array<\/p>\n<p>Fix a potential out-of-bounds array access of the hw_xlate array in<br \/>\nbno055.c.<\/p>\n<p>In bno055_get_regmask(), hw_xlate was iterated over the length of the<br \/>\nvals array instead of the length of the hw_xlate array. In the case of<br \/>\nbno055_gyr_scale, the vals array is larger than the hw_xlate array,<br \/>\nso this could result in an out-of-bounds access. In practice, this<br \/>\nshouldn&#8217;t happen though because a match should always be found which<br \/>\nbreaks out of the for loop before it iterates beyond the end of the<br \/>\nhw_xlate array.<\/p>\n<p>By adding a new hw_xlate_len field to the bno055_sysfs_attr, we can be<br \/>\nsure we are iterating over the correct length.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 0.0 | NA<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-39719 Published : Sept. 5, 2025, 6:15 p.m. | 1\u00a0hour ago Description : In the Linux kernel, the following vulnerability has been resolved: iio: imu: bno055: fix OOB access of hw_xlate array Fix a potential out-of-bounds array access of the hw_xlate array in bno055.c. In bno055_get_regmask(), hw_xlate was iterated over the length &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-69588","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/69588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=69588"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/69588\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=69588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=69588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=69588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}