CVE-2024-38548

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

5.5 medium EPSS 0.25%

Published 19 Jun 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-38548

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-38548 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Severity (CVSS)

5.5 medium CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.5% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 20 Jun 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b, before 85d1a27402f81f2e04b0e67d20f749c2a14edbb3
affected from fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b, before 89788cd9824c28ffcdea40232c458233353d1896
affected from fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b, before ca53b7efd4ba6ae92fd2b3085cb099c745e96965
affected from fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b, before dcf53e6103b26e7458be71491d0641f49fbd5840
affected from fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b, before 32fb2ef124c3301656ac6c789a2ef35ef69a66da
affected from fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b, before 47889711da20be9b43e1e136e5cb68df37cbcc79
affected from fb43aa0acdfd600c75b8c877bdf9f6e9893ffc9b, before 935a92a1c400285545198ca2800a4c6c519c650a
Other versions: unaffected
Linux
affected 5.10
unaffected before 5.10
unaffected from 5.10.219 up to and including 5.10.*
unaffected from 5.15.161 up to and including 5.15.*
unaffected from 6.1.93 up to and including 6.1.*
unaffected from 6.6.33 up to and including 6.6.*
unaffected from 6.8.12 up to and including 6.8.*
unaffected from 6.9.3 up to and including 6.9.*
unaffected 6.10 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-38548 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-38548

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-38548
trivy image --scanners vuln IMAGE | grep CVE-2024-38548

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-38548 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.