CVE-2024-42310

drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes

No CVSS score yet EPSS 0.23%

Published 17 Aug 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2024-42310

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-42310 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/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes

In cdv_intel_lvds_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd.

Exploitation

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

The assessment of CISA (SSVC, 10 Sep 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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe, before f392c36cebf4c1d6997a4cc2c0f205254acef42a
affected from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe, before a658ae2173ab74667c009e2550455e6de5b33ddc
affected from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe, before b6ac46a00188cde50ffba233e6efb366354a1de5
affected from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe, before 08f45102c81ad8bc9f85f7a25e9f64e128edb87d
affected from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe, before e74eb5e8089427c8c49e0dd5067e5f39ce3a4d56
affected from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe, before 2d209b2f862f6b8bff549ede541590a8d119da23
affected from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe, before 977ee4fe895e1729cd36cc26916bbb10084713d6
affected from 6a227d5fd6c4abe6a9226a40f6981825e9da5fbe, before cb520c3f366c77e8d69e4e2e2781a8ce48d98e79
Other versions: unaffected
Linux
affected 3.3
unaffected before 3.3
unaffected from 4.19.320 up to and including 4.19.*
unaffected from 5.4.282 up to and including 5.4.*
unaffected from 5.10.224 up to and including 5.10.*
unaffected from 5.15.165 up to and including 5.15.*
unaffected from 6.1.103 up to and including 6.1.*
unaffected from 6.6.44 up to and including 6.6.*
unaffected from 6.10.3 up to and including 6.10.*
unaffected 6.11 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-42310 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42310

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-42310
trivy image --scanners vuln IMAGE | grep CVE-2024-42310

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-42310 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.