# CVE-2024-41095: drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_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.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-07-29T15:48:08.324Z
- Modified: 2026-06-17T07:47:16.470Z
- 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/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_modes

In nv17_tv_get_ld_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 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before 9289cd3450d1da3e271ef4b054d4d2932c41243e; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before dbd75f32252508ed6c46c3288a282c301a57ceeb; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before 259549b2ccf795b7f91f7b5aba47286addcfa389; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before 0d17604f2e44b3df21e218fe8fb3b836d41bac49; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before f95ed0f54b3d3faecae1140ddab854f904a6e7c8; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before cb751e48bbcffd292090f7882b23b215111b3d72; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before bdda5072494f2a7215d94fc4124ad1949a218714; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before 66edf3fb331b6c55439b10f9862987b0916b3726; 2.6.33 (not affected: before 2.6.33; from 4.19.317 up to 4.19.*; from 5.4.279 up to 5.4.*; from 5.10.221 up to 5.10.*; from 5.15.162 up to 5.15.*; from 6.1.97 up to 6.1.*; from 6.6.37 up to 6.6.*; from 6.9.8 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: before 4.19.317; from 4.20 before 5.4.279; from 5.5 before 5.10.221; from 5.11 before 5.15.162; from 5.16 before 6.1.97; from 6.2 before 6.6.37; from 6.7 before 6.9.8

## References

- <https://git.kernel.org/stable/c/9289cd3450d1da3e271ef4b054d4d2932c41243e> (patch)
- <https://git.kernel.org/stable/c/dbd75f32252508ed6c46c3288a282c301a57ceeb> (patch)
- <https://git.kernel.org/stable/c/259549b2ccf795b7f91f7b5aba47286addcfa389> (patch)
- <https://git.kernel.org/stable/c/0d17604f2e44b3df21e218fe8fb3b836d41bac49> (patch)
- <https://git.kernel.org/stable/c/f95ed0f54b3d3faecae1140ddab854f904a6e7c8> (patch)
- <https://git.kernel.org/stable/c/cb751e48bbcffd292090f7882b23b215111b3d72> (patch)
- <https://git.kernel.org/stable/c/bdda5072494f2a7215d94fc4124ad1949a218714> (patch)
- <https://git.kernel.org/stable/c/66edf3fb331b6c55439b10f9862987b0916b3726> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

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

---

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