In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Handle null 'streamstatus' in 'planeschangedforexisting_stream'
This commit adds a null check for 'streamstatus' in the function 'planeschangedforexistingstream'. Previously, the code assumed 'streamstatus' could be null, but did not handle the case where it was actually null. This could lead to a null pointer dereference.
Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dcresource.c:3784 planeschangedforexistingstream() error: we previously assumed 'streamstatus' could be null (see line 3774)