{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2024-36914",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2024-36914"
  ],
  "published": "2024-05-30T15:29:45Z",
  "summary": "drm/amd/display: Skip on writeback when it's not applicable",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Skip on writeback when it's not applicable\n\n[WHY]\ndynamic memory safety error detector (KASAN) catches and generates error\nmessages \"BUG: KASAN: slab-out-of-bounds\" as writeback connector does not\nsupport certain features which are not initialized.\n\n[HOW]\nSkip them when connector type is DRM_MODE_CONNECTOR_WRITEBACK.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.116",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-36914"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/87de0a741ef6d93fcb99983138a0d89a546a043c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/951a498fa993c5501994ec2df97c9297b02488c7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e9baa7110e9f3756bd5a812af376c288d9be894d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ecedd99a9369fb5cde601ae9abd58bca2739f1ae"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-05T11:52:36Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.8,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - Exploitation requires an open file descriptor on the local DRM primary node (/dev/dri/cardN) and issuing DRM_IOCTL_MODE_ATOMIC; there is no remote or adjacent-network reachability.\nAC:L - The attacker deterministically triggers the type confusion by binding/unbinding the writeback connector's CRTC_ID in a single atomic commit \u2014 no race, no timing window, and the affected hardware (all AMD DCN 3.0+ GPUs) registers the writeback connector unconditionally in the default configuration.\nPR:L - Only an unprivileged local user with access to the DRM card node and DRM-master status is needed \u2014 the typical logged-in desktop/kiosk user via the uaccess ACL or video group, and any local user when no compositor holds master; the atomic and writeback client caps require no capabilities at all.\nUI:N - The attacker performs the atomic modeset ioctl entirely on their own; no victim action is required for the amdgpu_dm_commit_audio() path.\nS:U - The heap corruption occurs in kernel slab memory belonging to the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The cast produces out-of-bounds reads roughly 1 KB into the adjacent kmalloc-4k object (audio_inst at 5032, mst_root at 4952, freesync_vid_base at 5104), and the resulting controllable heap corruption can be leveraged into broader kernel memory disclosure.\nI:H - amdgpu_dm_commit_audio() performs a cross-object out-of-bounds write of 0xFFFFFFFF at a fixed offset in the neighbouring slab object, and get_highest_refresh_rate_mode() writes 120 bytes of attacker-influenced mode timings out of bounds \u2014 classic heap-spray-and-overwrite primitives usable for control-flow hijack.\nA:H - The out-of-bounds accesses corrupt adjacent slab objects and dereference garbage pointers (dm_resume() reads a bogus dc_link and dereferences it on every resume), reliably producing KASAN splats, oopses, and kernel panics."
    }
  }
}
