# CVE-2025-39719: iio: imu: bno055: fix OOB access of hw\_xlate array

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-09-05T17:21:26.952Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< a0691ab6334f1769acc64ea9e319414a682ff45d; \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< 50e823a23816b792daf6e8405f8d6045952bb90e; \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< 4808ca3aa30ae857454d0b41d2d0bf161a312b45; \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< 5c2b601922c064f7be70ae8621277f18d1ffec59; \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< 399b883ec828e436f1a721bf8551b4da8727e65b
- Anyone running Linux 6.1

## 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 of the
vals array instead of the length of the hw\_xlate array. In the case of
bno055\_gyr\_scale, the vals array is larger than the hw\_xlate array,
so this could result in an out-of-bounds access. In practice, this
shouldn't happen though because a match should always be found which
breaks out of the for loop before it iterates beyond the end of the
hw\_xlate array.

By adding a new hw\_xlate\_len field to the bno055\_sysfs\_attr, we can be
sure we are iterating over the correct length.

## Affected and fixed versions

- Linux: \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< a0691ab6334f1769acc64ea9e319414a682ff45d; \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< 50e823a23816b792daf6e8405f8d6045952bb90e; \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< 4808ca3aa30ae857454d0b41d2d0bf161a312b45; \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< 5c2b601922c064f7be70ae8621277f18d1ffec59; \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< 399b883ec828e436f1a721bf8551b4da8727e65b (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 399b883ec828e436f1a721bf8551b4da8727e65b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39719. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39719.md
Affected: Linux >= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, < a0691ab6334f1769acc64ea9e319414a682ff45d; >= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, < 50e823a23816b792daf6e8405f8d6045952bb90e; >= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, < 4808ca3aa30ae857454d0b41d2d0bf161a312b45; >= 4aefe1c2bd0cb0223130671…
Fixed in: Linux 50e823a23816b792daf6e8405f8d6045952bb90e, Linux 4808ca3aa30ae857454d0b41d2d0bf161a312b45, Linux 5c2b601922c064f7be70ae8621277f18d1ffec59, Linux 399b883ec828e436f1a721bf8551b4da8727e65b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39719 being exploited?

There is no confirmed exploitation: CVE-2025-39719 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-39719?

High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-39719?

Linux \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< a0691ab6334f1769acc64ea9e319414a682ff45d; \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< 50e823a23816b792daf6e8405f8d6045952bb90e; \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< 4808ca3aa30ae857454d0b41d2d0bf161a312b45; \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< 5c2b601922c064f7be70ae8621277f18d1ffec59; \>= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \< 399b883ec828e436f1a721bf8551b4da8727e65b; Linux 6.1.

### Is there a fix for CVE-2025-39719?

Yes. Fixed in Linux 50e823a23816b792daf6e8405f8d6045952bb90e, Linux 4808ca3aa30ae857454d0b41d2d0bf161a312b45, Linux 5c2b601922c064f7be70ae8621277f18d1ffec59, Linux 399b883ec828e436f1a721bf8551b4da8727e65b. Upgrade Linux to 399b883ec828e436f1a721bf8551b4da8727e65b or later.

### How do I check if I'm affected by CVE-2025-39719?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/a0691ab6334f1769acc64ea9e319414a682ff45d>
- patch: <https://git.kernel.org/stable/c/50e823a23816b792daf6e8405f8d6045952bb90e>
- patch: <https://git.kernel.org/stable/c/4808ca3aa30ae857454d0b41d2d0bf161a312b45>
- patch: <https://git.kernel.org/stable/c/5c2b601922c064f7be70ae8621277f18d1ffec59>
- patch: <https://git.kernel.org/stable/c/399b883ec828e436f1a721bf8551b4da8727e65b>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39719>

HTML: <https://flawdb.com/CVE-2025-39719> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39719>
