We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-49916

drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn401_init_hw



Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn401_init_hw This commit addresses a potential null pointer dereference issue in the `dcn401_init_hw` function. The issue could occur when `dc->clk_mgr` or `dc->clk_mgr->funcs` is null. The fix adds a check to ensure `dc->clk_mgr` and `dc->clk_mgr->funcs` is not null before accessing its functions. This prevents a potential null pointer dereference. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn401/dcn401_hwseq.c:416 dcn401_init_hw() error: we previously assumed 'dc->clk_mgr' could be null (see line 225)

Reserved 2024-10-21 | Published 2024-10-21 | Updated 2025-05-04 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ac1c41e318074d8a9ea925787e366be15d7645e8
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4b6377f0e96085cbec96eb7f0b282430ccdd3d75
affected

Default status
affected

6.11.3
unaffected

6.12
unaffected

References

git.kernel.org/...c/ac1c41e318074d8a9ea925787e366be15d7645e8

git.kernel.org/...c/4b6377f0e96085cbec96eb7f0b282430ccdd3d75

cve.org (CVE-2024-49916)

nvd.nist.gov (CVE-2024-49916)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2024-49916

Support options

Helpdesk Chat, Email, Knowledgebase