{
  "cveId": "CVE-2024-39461",
  "url": "https://patchblox.com/security/cve/CVE-2024-39461",
  "summary": "CVE-2024-39461 is fixed in linux on 1 platform, first by DEBIAN-CVE-2024-39461, released June 25, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  clk: bcm: rpi: Assign -\u003Enum before accessing -\u003Eh...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  clk: bcm: rpi: Assign -\u003Enum before accessing -\u003Ehws  Commit f316cdff8d67 (\u0022clk: Annotate struct clk_hw_onecell_data with __counted_by\u0022) annotated the hws member of \u0027struct clk_hw_onecell_data\u0027 with __counted_by, which informs the bounds sanitizer about the number of elements in hws, so that it can warn when hws is accessed out of bounds. As noted in that change, the __counted_by member must be initialized with the number of elements before the first array access happens, otherwise there will be a warning from each access prior to the initialization because the number of elements is zero. This occurs in raspberrypi_discover_clocks() due to -\u003Enum being assigned after -\u003Ehws has been accessed:    UBSAN: array-index-out-of-bounds in drivers/clk/bcm/clk-raspberrypi.c:374:4   index 3 is out of range for type \u0027struct clk_hw *[] __counted_by(num)\u0027 (aka \u0027struct clk_hw *[]\u0027)  Move the -\u003Enum initialization to before the first access of -\u003Ehws, which clears up the warning.",
  "published": "2024-06-25T15:15:14Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00211,
  "epssPercentile": 0.11483,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.9.7-1",
      "fix": "DEBIAN-CVE-2024-39461",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-39461",
      "released": "2024-06-25T15:15:14Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.9.7-1",
      "fix": "DEBIAN-CVE-2024-39461",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-39461",
      "released": "2024-06-25T15:15:14Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}