In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Check null pointers before using them
[WHAT & HOW] These pointers are null checked previously in the same function, indicating they might be null as reported by Coverity. As a result, they need to be checked when used again.
This fixes 3 FORWARD_NULL issue reported by Coverity.
{ "vanir_signatures": [ { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c", "function": "amdgpu_dm_atomic_commit_tail" }, "id": "CVE-2024-49922-0538314f", "digest": { "length": 7815.0, "function_hash": "68825893971054610762432908305850980830" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e9386baa3033c369564d55de4bab62423e8a1d3" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c", "function": "create_validate_stream_for_sink" }, "id": "CVE-2024-49922-475fc100", "digest": { "length": 1276.0, "function_hash": "186985629292909641857047341326413786361" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e9386baa3033c369564d55de4bab62423e8a1d3" }, { "signature_version": "v1", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c" }, "id": "CVE-2024-49922-57276f5c", "digest": { "line_hashes": [ "112867448764902359822599920021698928086", "63085036942483015333473887136771718453", "156457067060322573912212847434654025616", "72636865263254752466220875971147405204", "169917680550057358175914968939131395209", "234043524116949468902538070100488419290", "86491749277029223716302396932887054081", "49096165993815786612080817130755846231", "150592158250908421971104011052322022658", "4822798392411545691889159068998480925", "60091795235073987112060578272889357160", "168928437988232348877004108528758602485", "24538079228941977324418027068082598482" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e9386baa3033c369564d55de4bab62423e8a1d3" }, { "signature_version": "v1", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c", "function": "amdgpu_dm_commit_streams" }, "id": "CVE-2024-49922-97a181b6", "digest": { "length": 3240.0, "function_hash": "218985844140096988243394006874457680354" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5e9386baa3033c369564d55de4bab62423e8a1d3" } ] }