In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Check null pointers before using dc->clk_mgr
[WHY & HOW] dc->clk_mgr is null checked previously in the same function, indicating it might be null.
Passing "dc" to "dc->hwss.applyidlepoweroptimizations", which dereferences null "dc->clkmgr". (The function pointer resolves to "dcn35applyidlepoweroptimizations".)
This fixes 1 FORWARD_NULL issue reported by Coverity.
{ "vanir_signatures": [ { "id": "CVE-2024-49907-0ca9a640", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c", "function": "dc_allow_idle_optimizations" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a545a9403e04c6e17fdc04a26a61d9feebbba106", "digest": { "function_hash": "302446057476734726573548110790177732285", "length": 507.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2024-49907-1e91b620", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f7e533c10db3d0158709a99e2129ff63add6bcd", "digest": { "threshold": 0.9, "line_hashes": [ "25004962470238258810942918251974013813", "291159283640407171464875388431750166909", "217487219441755132145426662124171273836", "304699783163413703563448290774532105403" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2024-49907-2da45014", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a2773e0a4b79e7a6463abdffaf8cc4f24428ba18", "digest": { "threshold": 0.9, "line_hashes": [ "25004962470238258810942918251974013813", "291159283640407171464875388431750166909", "217487219441755132145426662124171273836", "299486654086603175348850122021197547236" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2024-49907-346beda8", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c", "function": "dc_allow_idle_optimizations" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8d54001f8dccd56146973f23f3ab2ba037a21251", "digest": { "function_hash": "31260541471647896196079413405333155371", "length": 345.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2024-49907-3e824238", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a545a9403e04c6e17fdc04a26a61d9feebbba106", "digest": { "threshold": 0.9, "line_hashes": [ "25004962470238258810942918251974013813", "291159283640407171464875388431750166909", "217487219441755132145426662124171273836", "299486654086603175348850122021197547236" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2024-49907-84485429", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8d54001f8dccd56146973f23f3ab2ba037a21251", "digest": { "threshold": 0.9, "line_hashes": [ "25004962470238258810942918251974013813", "291159283640407171464875388431750166909", "217487219441755132145426662124171273836", "299486654086603175348850122021197547236" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2024-49907-84a21986", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9641bc4adf8446034e490ed543ae7e9833cfbdf5", "digest": { "threshold": 0.9, "line_hashes": [ "25004962470238258810942918251974013813", "291159283640407171464875388431750166909", "217487219441755132145426662124171273836", "299486654086603175348850122021197547236" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2024-49907-857bcec8", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c", "function": "dc_allow_idle_optimizations" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9641bc4adf8446034e490ed543ae7e9833cfbdf5", "digest": { "function_hash": "302446057476734726573548110790177732285", "length": 507.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2024-49907-8899b952", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ba3fbf75b243b2863a8be9e7c393e003d3b88f3", "digest": { "threshold": 0.9, "line_hashes": [ "25004962470238258810942918251974013813", "291159283640407171464875388431750166909", "217487219441755132145426662124171273836", "304699783163413703563448290774532105403" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2024-49907-94567bcc", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c", "function": "dc_allow_idle_optimizations_internal" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ba3fbf75b243b2863a8be9e7c393e003d3b88f3", "digest": { "function_hash": "244610851183222919395342718020584911863", "length": 811.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2024-49907-a3ad244b", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c", "function": "dc_allow_idle_optimizations_internal" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@95d9e0803e51d5a24276b7643b244c7477daf463", "digest": { "function_hash": "244610851183222919395342718020584911863", "length": 811.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2024-49907-e211f1b1", "signature_type": "Line", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@95d9e0803e51d5a24276b7643b244c7477daf463", "digest": { "threshold": 0.9, "line_hashes": [ "25004962470238258810942918251974013813", "291159283640407171464875388431750166909", "217487219441755132145426662124171273836", "304699783163413703563448290774532105403" ] }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2024-49907-ecb917f0", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c", "function": "dc_allow_idle_optimizations" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a2773e0a4b79e7a6463abdffaf8cc4f24428ba18", "digest": { "function_hash": "302446057476734726573548110790177732285", "length": 507.0 }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2024-49907-f3ed9a0a", "signature_type": "Function", "target": { "file": "drivers/gpu/drm/amd/display/dc/core/dc.c", "function": "dc_allow_idle_optimizations_internal" }, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f7e533c10db3d0158709a99e2129ff63add6bcd", "digest": { "function_hash": "244610851183222919395342718020584911863", "length": 811.0 }, "deprecated": false, "signature_version": "v1" } ] }