CVE-2024-42309

drm/gma500: fix null pointer dereference in psb_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-42309

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-42309 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 psb_intel_lvds_get_modes

In psb_intel_lvds_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a possible 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 89c78134cc54dff016c83367912eb055637fa50c, before 13b5f3ee94bdbdc4b5f40582aab62977905aedee
affected from 89c78134cc54dff016c83367912eb055637fa50c, before d6ad202f73f8edba0cbc0065aa57a79ffe8fdcdc
affected from 89c78134cc54dff016c83367912eb055637fa50c, before 6735d02ead7dd3adf74eb8b70aebd09e0ce78ec9
affected from 89c78134cc54dff016c83367912eb055637fa50c, before 7e52c62ff029f95005915c0a11863b5fb5185c8c
affected from 89c78134cc54dff016c83367912eb055637fa50c, before f70ffeca546452d1acd3a70ada56ecb2f3e7f811
affected from 89c78134cc54dff016c83367912eb055637fa50c, before 46d2ef272957879cbe30a884574320e7f7d78692
affected from 89c78134cc54dff016c83367912eb055637fa50c, before 475a5b3b7c8edf6e583a9eb59cf28ea770602e14
affected from 89c78134cc54dff016c83367912eb055637fa50c, before 2df7aac81070987b0f052985856aa325a38debf6
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-42309 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42309

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

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-42309 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.