# CVE-2024-42309: drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-08-17T09:09:14.164Z
- Modified: 2026-06-17T07:49:13.820Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 89c78134cc54dff016c83367912eb055637fa50c before 13b5f3ee94bdbdc4b5f40582aab62977905aedee; from 89c78134cc54dff016c83367912eb055637fa50c before d6ad202f73f8edba0cbc0065aa57a79ffe8fdcdc; from 89c78134cc54dff016c83367912eb055637fa50c before 6735d02ead7dd3adf74eb8b70aebd09e0ce78ec9; from 89c78134cc54dff016c83367912eb055637fa50c before 7e52c62ff029f95005915c0a11863b5fb5185c8c; from 89c78134cc54dff016c83367912eb055637fa50c before f70ffeca546452d1acd3a70ada56ecb2f3e7f811; from 89c78134cc54dff016c83367912eb055637fa50c before 46d2ef272957879cbe30a884574320e7f7d78692; from 89c78134cc54dff016c83367912eb055637fa50c before 475a5b3b7c8edf6e583a9eb59cf28ea770602e14; from 89c78134cc54dff016c83367912eb055637fa50c before 2df7aac81070987b0f052985856aa325a38debf6; 3.3 (not affected: before 3.3; from 4.19.320 up to 4.19.*; from 5.4.282 up to 5.4.*; from 5.10.224 up to 5.10.*; from 5.15.165 up to 5.15.*; from 6.1.103 up to 6.1.*; from 6.6.44 up to 6.6.*; from 6.10.3 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 3.3 before 4.19.320; from 4.20 before 5.4.282; from 5.5 before 5.10.224; from 5.11 before 5.15.165; from 5.16 before 6.1.103; from 6.2 before 6.6.44; from 6.7 before 6.10.3

## References

- <https://git.kernel.org/stable/c/13b5f3ee94bdbdc4b5f40582aab62977905aedee> (patch)
- <https://git.kernel.org/stable/c/d6ad202f73f8edba0cbc0065aa57a79ffe8fdcdc> (patch)
- <https://git.kernel.org/stable/c/6735d02ead7dd3adf74eb8b70aebd09e0ce78ec9> (patch)
- <https://git.kernel.org/stable/c/7e52c62ff029f95005915c0a11863b5fb5185c8c> (patch)
- <https://git.kernel.org/stable/c/f70ffeca546452d1acd3a70ada56ecb2f3e7f811> (patch)
- <https://git.kernel.org/stable/c/46d2ef272957879cbe30a884574320e7f7d78692> (patch)
- <https://git.kernel.org/stable/c/475a5b3b7c8edf6e583a9eb59cf28ea770602e14> (patch)
- <https://git.kernel.org/stable/c/2df7aac81070987b0f052985856aa325a38debf6> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Sources

- CVE List: [CVE-2024-42309](https://www.cve.org/CVERecord?id=CVE-2024-42309), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-42309](https://nvd.nist.gov/vuln/detail/CVE-2024-42309), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42309 · Whole record: https://cve.day/CVE-2024-42309.json · Rebuilt by cve.day 2026-11-25T22:58:44.478Z
