# CVE-2024-43894: drm/client: fix null pointer dereference in drm_client_modeset_probe

- 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-26T10:10:49.340Z
- Modified: 2026-06-17T07:51:56.877Z
- 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/client: fix null pointer dereference in drm_client_modeset_probe

In drm_client_modeset_probe(), the return value of drm_mode_duplicate() is
assigned to modeset->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 cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before 24ddda932c43ffe156c7f3c568bed85131c63ae6; from cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before 5291d4f73452c91e8a11f71207617e3e234d418e; from cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before c763dfe09425152b6bb0e348900a637c62c2ce52; from cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before d64847c383100423aecb6ac5f18be5f4316d9d62; from cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before d64fc94f7bb24fc2be0d6bd5df8df926da461a6d; from cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before 612cae53e99ce32a58cb821b3b67199eb6e92dff; from cf13909aee054f5aa667d4b9da0ac7df4f6c1327 before 113fd6372a5bb3689aba8ef5b8a265ed1529a78f; 5.3 (not affected: before 5.3; 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.105 up to 6.1.*; from 6.6.46 up to 6.6.*; from 6.10.5 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 5.3 before 5.4.282; from 5.5 before 5.10.224; from 5.11 before 5.15.165; from 5.16 before 6.1.105; from 6.2 before 6.6.46; from 6.7 before 6.10.5; 6.11

## References

- <https://git.kernel.org/stable/c/24ddda932c43ffe156c7f3c568bed85131c63ae6> (patch)
- <https://git.kernel.org/stable/c/5291d4f73452c91e8a11f71207617e3e234d418e> (patch)
- <https://git.kernel.org/stable/c/c763dfe09425152b6bb0e348900a637c62c2ce52> (patch)
- <https://git.kernel.org/stable/c/d64847c383100423aecb6ac5f18be5f4316d9d62> (patch)
- <https://git.kernel.org/stable/c/d64fc94f7bb24fc2be0d6bd5df8df926da461a6d> (patch)
- <https://git.kernel.org/stable/c/612cae53e99ce32a58cb821b3b67199eb6e92dff> (patch)
- <https://git.kernel.org/stable/c/113fd6372a5bb3689aba8ef5b8a265ed1529a78f> (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-43894](https://www.cve.org/CVERecord?id=CVE-2024-43894), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-43894](https://nvd.nist.gov/vuln/detail/CVE-2024-43894), Public domain, modified 2026-06-17

---

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