{"id":"CVE-2025-39719","aliases":["CVE-2025-39719"],"related":[],"kind":"vulnerability","state":"published","title":"iio: imu: bno055: fix OOB access of hw_xlate array","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: imu: bno055: fix OOB access of hw_xlate array\n\nFix a potential out-of-bounds array access of the hw_xlate array in\nbno055.c.\n\nIn bno055_get_regmask(), hw_xlate was iterated over the length of the\nvals array instead of the length of the hw_xlate array. In the case of\nbno055_gyr_scale, the vals array is larger than the hw_xlate array,\nso this could result in an out-of-bounds access. In practice, this\nshouldn't happen though because a match should always be found which\nbreaks out of the for loop before it iterates beyond the end of the\nhw_xlate array.\n\nBy adding a new hw_xlate_len field to the bno055_sysfs_attr, we can be\nsure we are iterating over the correct length.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: imu: bno055: fix OOB access of hw_xlate array\n\nFix a potential out-of-bounds array access of the hw_xlate array in\nbno055.c.\n\nIn bno055_get_regmask(), hw_xlate was iterated over the length of the\nvals array instead of the length of the hw_xlate array. In the case of\nbno055_gyr_scale, the vals array is larger than the hw_xlate array,\nso this could result in an out-of-bounds access. In practice, this\nshouldn't happen though because a match should always be found which\nbreaks out of the for loop before it iterates beyond the end of the\nhw_xlate array.\n\nBy adding a new hw_xlate_len field to the bno055_sysfs_attr, we can be\nsure we are iterating over the correct length.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\niio: imu: bno055: corrige el acceso fuera de límites del array hw_xlate\n\nSoluciona un potencial acceso a array fuera de límites del array hw_xlate en bno055.c.\n\nEn bno055_get_regmask(), hw_xlate fue iterado sobre la longitud del array vals en lugar de la longitud del array hw_xlate. En el caso de bno055_gyr_scale, el array vals es más grande que el array hw_xlate, por lo que esto podría resultar en un acceso fuera de límites. En la práctica, esto no debería ocurrir, sin embargo, porque siempre debería encontrarse una coincidencia que sale del bucle for antes de que itere más allá del final del array hw_xlate.\n\nAl añadir un nuevo campo hw_xlate_len a la bno055_sysfs_attr, podemos estar seguros de que estamos iterando sobre la longitud correcta.","source":"nvd"}],"published":"2025-09-05T17:21:26.952Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"4aefe1c2bd0cb0223130671d459cd16efa3d3462","fixed":"a0691ab6334f1769acc64ea9e319414a682ff45d","status":"affected"},{"type":"git","introduced":"4aefe1c2bd0cb0223130671d459cd16efa3d3462","fixed":"50e823a23816b792daf6e8405f8d6045952bb90e","status":"affected"},{"type":"git","introduced":"4aefe1c2bd0cb0223130671d459cd16efa3d3462","fixed":"4808ca3aa30ae857454d0b41d2d0bf161a312b45","status":"affected"},{"type":"git","introduced":"4aefe1c2bd0cb0223130671d459cd16efa3d3462","fixed":"5c2b601922c064f7be70ae8621277f18d1ffec59","status":"affected"},{"type":"git","introduced":"4aefe1c2bd0cb0223130671d459cd16efa3d3462","fixed":"399b883ec828e436f1a721bf8551b4da8727e65b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"6.1.149","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.103","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.44","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.4","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1","fixed":"6.1.149"},{"status":"affected","introduced":"6.2","fixed":"6.6.103"},{"status":"affected","introduced":"6.7","fixed":"6.12.44"},{"status":"affected","introduced":"6.13","fixed":"6.16.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a0691ab6334f1769acc64ea9e319414a682ff45d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50e823a23816b792daf6e8405f8d6045952bb90e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4808ca3aa30ae857454d0b41d2d0bf161a312b45","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5c2b601922c064f7be70ae8621277f18d1ffec59","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/399b883ec828e436f1a721bf8551b4da8727e65b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39719","url":"https://www.cve.org/CVERecord?id=CVE-2025-39719","licence":"CVE Terms of Use","modified":"2026-05-12T12:06:35.861Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39719","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39719","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:04.280Z","epss":{"score":0.0017,"percentile":0.06635,"date":"2026-12-02T12:00:21.000Z"}}