drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_modes
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6ee738610f41b59733f63718f0bdbcba7d3a3f12 · < cb751e48bbcffd292090f7882b23b215111b3d72| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's nv17_tv_get_ld_modes() may dereference a NULL pointer if drm_mode_duplicate() fails. The input does not establish how an attacker could trigger the failure or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the affected drm/nouveau/dispnv04 code should check their versions; the input does not identify affected versions.