{
  "cveId": "CVE-2024-27040",
  "url": "https://patchblox.com/security/cve/CVE-2024-27040",
  "summary": "CVE-2024-27040 is fixed in linux on 1 platform, first by DEBIAN-CVE-2024-27040, released May 1, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  drm/amd/display: Add \u0027replay\u0027 NULL check in \u0027edp...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  drm/amd/display: Add \u0027replay\u0027 NULL check in \u0027edp_set_replay_allow_active()\u0027  In the first if statement, we\u0027re checking if \u0027replay\u0027 is NULL. But in the second if statement, we\u0027re not checking if \u0027replay\u0027 is NULL again before calling replay-\u003Efuncs-\u003Ereplay_set_power_opt().  if (replay == NULL \u0026\u0026 force_static)     return false;  ...  if (link-\u003Ereplay_settings.replay_feature_enabled \u0026\u0026     replay-\u003Efuncs-\u003Ereplay_set_power_opt) { \treplay-\u003Efuncs-\u003Ereplay_set_power_opt(replay, *power_opts, panel_inst); \tlink-\u003Ereplay_settings.replay_power_opt_active = *power_opts; }  If \u0027replay\u0027 is NULL, this will cause a null pointer dereference.  Fixes the below found by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c:895 edp_set_replay_allow_active() error: we previously assumed \u0027replay\u0027 could be null (see line 887)",
  "published": "2024-05-01T13:15:49Z",
  "severity": "medium",
  "cvss": 4.7,
  "cvssVector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00248,
  "epssPercentile": 0.16173,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.7.12-1",
      "fix": "DEBIAN-CVE-2024-27040",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-27040",
      "released": "2024-05-01T13:15:49Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.7.12-1",
      "fix": "DEBIAN-CVE-2024-27040",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-27040",
      "released": "2024-05-01T13:15:49Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}