A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix dangling pointer in CRTC reset function
amdgpu_dm_crtc_reset_state() frees the old state before allocating a new one. If kzalloc() fails, the function returns without updating the state pointer, leaving a dangling pointer to already freed memory.
Fix this by allocating the new state first. On allocation failure, the old state remains untouched and the function safely returns.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[adjust for movement around current amd-staging-drm-next]
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/0aeed866cb938943908c3ba46422128e49d2d080
- git.kernel.org /stable/c/0c311d5fcfcd4e83c1aeeb4fccb04861be3357a9
- git.kernel.org /stable/c/32bd68edbc6cbcfac0e4033b64f0bcadbf0efef5
- git.kernel.org /stable/c/3a03827bb3cda1527aa923f18160c449f2b4cf2c
- git.kernel.org /stable/c/9de069b724f3614ed7dd55bfbb37c434db54e128
- git.kernel.org /stable/c/ef3293c87a79f734d506769ff86f99bf1bad522e
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning