{
  "id": "CVE-2025-39719",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-39719",
  "published_at": "2025-09-05T17:21:26.952Z",
  "title": "iio: imu: bno055: fix OOB access of hw_xlate array",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \u003c a0691ab6334f1769acc64ea9e319414a682ff45d",
          "\u003e= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \u003c 50e823a23816b792daf6e8405f8d6045952bb90e",
          "\u003e= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \u003c 4808ca3aa30ae857454d0b41d2d0bf161a312b45",
          "\u003e= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \u003c 5c2b601922c064f7be70ae8621277f18d1ffec59",
          "\u003e= 4aefe1c2bd0cb0223130671d459cd16efa3d3462, \u003c 399b883ec828e436f1a721bf8551b4da8727e65b"
        ],
        "fixed_in": [
          "a0691ab6334f1769acc64ea9e319414a682ff45d",
          "50e823a23816b792daf6e8405f8d6045952bb90e",
          "4808ca3aa30ae857454d0b41d2d0bf161a312b45",
          "5c2b601922c064f7be70ae8621277f18d1ffec59",
          "399b883ec828e436f1a721bf8551b4da8727e65b"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.1"
        ],
        "fixed_in": [
          "0",
          "6.1.149",
          "6.6.103",
          "6.12.44",
          "6.16.4",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a0691ab6334f1769acc64ea9e319414a682ff45d or 50e823a23816b792daf6e8405f8d6045952bb90e or 4808ca3aa30ae857454d0b41d2d0bf161a312b45 or 5c2b601922c064f7be70ae8621277f18d1ffec59 or 399b883ec828e436f1a721bf8551b4da8727e65b or later.",
      "Upgrade Linux to 0 or 6.1.149 or 6.6.103 or 6.12.44 or 6.16.4 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
