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 plane reset function
amdgpu_dm_plane_drm_plane_reset() 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/0999a267bdc13648b6b0db893e7eabe30bc13e7c
- git.kernel.org /stable/c/154883749cae674fb38e83c1b3a096ce71122229
- git.kernel.org /stable/c/3d8391d3149a1aeb93505a4f9fb9ed8364882c42
- git.kernel.org /stable/c/80c0f51aced43d6eaf72f95a2833b0a77cf7880d
- git.kernel.org /stable/c/98cad4bd1443975d972f4c7f705980da03722a22
- git.kernel.org /stable/c/cda8af27b787d79eadc4eb8109d9f2e856dadac2
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning