Lucene search

K
cvelistLinuxCVELIST:CVE-2024-38548
HistoryJun 19, 2024 - 1:35 p.m.

CVE-2024-38548 drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference

2024-06-1913:35:21
Linux
www.cve.org
1
linux kernel
cdns-mhdp8546
null pointer dereference
drm bridge
vulnerability

0.0004 Low

EPSS

Percentile

10.3%

In the Linux kernel, the following vulnerability has been resolved:

drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference

In cdns_mhdp_atomic_enable(), the return value of drm_mode_duplicate() is
assigned to mhdp_state->current_mode, and there is a dereference of it in
drm_mode_set_name(), which will lead to a NULL pointer dereference on
failure of drm_mode_duplicate().

Fix this bug add a check of mhdp_state->current_mode.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c"
    ],
    "versions": [
      {
        "version": "fb43aa0acdfd",
        "lessThan": "85d1a27402f8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "fb43aa0acdfd",
        "lessThan": "89788cd9824c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "fb43aa0acdfd",
        "lessThan": "ca53b7efd4ba",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "fb43aa0acdfd",
        "lessThan": "dcf53e6103b2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "fb43aa0acdfd",
        "lessThan": "32fb2ef124c3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "fb43aa0acdfd",
        "lessThan": "47889711da20",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "fb43aa0acdfd",
        "lessThan": "935a92a1c400",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c"
    ],
    "versions": [
      {
        "version": "5.10",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.10",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.219",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.161",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.93",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.33",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.12",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.3",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10-rc1",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

0.0004 Low

EPSS

Percentile

10.3%

Related for CVELIST:CVE-2024-38548