# CVE-2024-41089: drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_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:04.875Z
- Modified: 2026-06-17T07:47:15.497Z
- 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_hd_modes

In nv17_tv_get_hd_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(). The same applies to drm_cvt_mode().
Add a check to avoid null pointer dereference.

(As written by CVE List.)

## Affected

- Linux Linux: from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before ffabad4aa91e33ced3c6ae793fb37771b3e9cb51; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before 1c9f2e60150b4f13789064370e37f39e6e060f50; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before 56fc4d3b0bdef691831cd95715a7ca3ebea98b2d; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before 5eecb49a6c268dc229005bf6e8167d4001dc09a0; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before 30cbf6ffafbbdd8a6e4e5f0a2e9a9827ee83f3ad; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before 7ece609b0ce7a7ea8acdf512a77d1fee26621637; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before 6e49a157d541e7e97b815a56f4bdfcbc89844a59; from 6ee738610f41b59733f63718f0bdbcba7d3a3f12 before 6d411c8ccc0137a612e0044489030a194ff5c843; 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/ffabad4aa91e33ced3c6ae793fb37771b3e9cb51> (patch)
- <https://git.kernel.org/stable/c/1c9f2e60150b4f13789064370e37f39e6e060f50> (patch)
- <https://git.kernel.org/stable/c/56fc4d3b0bdef691831cd95715a7ca3ebea98b2d> (patch)
- <https://git.kernel.org/stable/c/5eecb49a6c268dc229005bf6e8167d4001dc09a0> (patch)
- <https://git.kernel.org/stable/c/30cbf6ffafbbdd8a6e4e5f0a2e9a9827ee83f3ad> (patch)
- <https://git.kernel.org/stable/c/7ece609b0ce7a7ea8acdf512a77d1fee26621637> (patch)
- <https://git.kernel.org/stable/c/6e49a157d541e7e97b815a56f4bdfcbc89844a59> (patch)
- <https://git.kernel.org/stable/c/6d411c8ccc0137a612e0044489030a194ff5c843> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

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

---

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