drm/amd/display: Fix NULL pointer dereference in amdgpu_dm_crtc_set_vblank()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4a6bc92fac30070511d66bcce4ed9b7dac983180, Kernel 5045fb4c70bfde36a05e0f41cf35ddfb6d85d3af, Kernel f2a1c4c6fe0a6fcde02e59dde546dba28d283635 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix NULL pointer dereference in amdgpu_dm_crtc_set_vblank() amdgpu_dm_crtc_set_vblank() dereferences acrtc_state->stream when vblank is enabled/queried from DRM_IOCTL_MODE_CRTC_GET_SEQUENCE before a stream is attached to it. BUG: kernel NULL pointer dereference, address: 0000000000000008 RIP: amdgpu_dm_crtc_set_vblank+0x6b/0x4d0 [amdgpu] Call Trace: drm_vblank_enable drm_vblank_get drm_crtc_get_sequence_ioctl drm_ioctl_kernel drm_ioctl Reproduced by running VKCTS with WSI tests enabled on RADV. Guard the enable path on acrtc_state->stream being non-NULL, matching the existing checks in this function. (cherry picked from commit 7b1b31bf6942e6f43509b48da23f8e27269aac39)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.18, >=34d66bc7ff10e146a4cec76cf286979740a10954 <4a6bc92fac30070511d66bcce4ed9b7dac983180, >=34d66bc7ff10e146a4cec76cf286979740a10954 <5045fb4c70bfde36a05e0f41cf35ddfb6d85d3af, >=34d66bc7ff10e146a4cec76cf286979740a10954 <f2a1c4c6fe0a6fcde02e59dde546dba28d283635 | 4a6bc92fac30070511d66bcce4ed9b7dac983180, 5045fb4c70bfde36a05e0f41cf35ddfb6d85d3af, f2a1c4c6fe0a6fcde02e59dde546dba28d283635 |
| linux-kernel: Kernel | >=6.18.0 <6.18.46, >=6.19.0 <7.1.10 | 6.18.46, 7.1.10 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket