# CVE-2024-42310: drm/gma500: fix null pointer dereference in cdv\_intel\_lvds\_get\_modes

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-08-17 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-42310, DEBIAN-CVE-2024-42310
- Record: https://cvemate.com/vulnerability/CVE-2024-42310 · JSON: https://cvemate.com/vulnerability/CVE-2024-42310/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.226%, percentile 14.207%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 133)

- debian linux (Debian): \< 6.1.106-1 \| \< 6.10.3-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-261.295 \| \< 4.15.0-231.243 \| \< 5.4.0-200.220 \| \< 5.15.0-125.135 \| \< 6.8.0-50.51
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1138.144 \| \< 4.4.0-1176.191 \| \< 4.15.0-1175.188 \| \< 5.4.0-1135.145 \| \< 5.15.0-1072.78 \| \< 6.8.0-1020.22
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1072.78~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1135.145~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1020.22~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2113.119 \| All versions (No fix recorded) \| \< 5.4.0-1135.145+fips1 \| \< 5.15.0-1072.78+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1175.188~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1183.198~14.04.1 \| \< 4.15.0-1183.198~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1140.147 \| \< 5.15.0-1075.84 \| \< 6.8.0-1020.23
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1183.198
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 35)

- <https://git.kernel.org/stable/c/f392c36cebf4c1d6997a4cc2c0f205254acef42a>
- <https://git.kernel.org/stable/c/a658ae2173ab74667c009e2550455e6de5b33ddc>
- <https://git.kernel.org/stable/c/b6ac46a00188cde50ffba233e6efb366354a1de5>
- <https://git.kernel.org/stable/c/08f45102c81ad8bc9f85f7a25e9f64e128edb87d>
- <https://git.kernel.org/stable/c/e74eb5e8089427c8c49e0dd5067e5f39ce3a4d56>
- <https://git.kernel.org/stable/c/2d209b2f862f6b8bff549ede541590a8d119da23>
- <https://git.kernel.org/stable/c/977ee4fe895e1729cd36cc26916bbb10084713d6>
- <https://git.kernel.org/stable/c/cb520c3f366c77e8d69e4e2e2781a8ce48d98e79>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- <https://ubuntu.com/security/CVE-2024-42310>
- <https://www.cve.org/CVERecord?id=CVE-2024-42310>
- <https://git.kernel.org/linus/cb520c3f366c77e8d69e4e2e2781a8ce48d98e79>
- <https://ubuntu.com/security/notices/USN-7088-1>
- <https://ubuntu.com/security/notices/USN-7088-2>
- <https://ubuntu.com/security/notices/USN-7088-3>
- <https://ubuntu.com/security/notices/USN-7088-4>
- <https://ubuntu.com/security/notices/USN-7100-1>
- <https://ubuntu.com/security/notices/USN-7100-2>
- <https://ubuntu.com/security/notices/USN-7088-5>

---

Data as of 2026-12-05T04:24:07.741Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
