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-49917

drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn30_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 dcn30_init_hw This commit addresses a potential null pointer dereference issue in the `dcn30_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/dcn30/dcn30_hwseq.c:789 dcn30_init_hw() error: we previously assumed 'dc->clk_mgr' could be null (see line 628)

Reserved 2024-10-21 | Published 2024-10-21 | Updated 2024-12-19 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 23cb6139543580dc36743586ca86fbb3f7ab2c9d
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 205e3b96cc9aa9211fd2c849a16245cf236b2d36
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5443c83eb8fd2f88c71ced38848fbf744d6206a2
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 56c326577971adc3a230f29dfd3aa3abdd505f5d
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before cba7fec864172dadd953daefdd26e01742b71a6a
affected

Default status
affected

6.1.120
unaffected

6.6.64
unaffected

6.10.14
unaffected

6.11.3
unaffected

6.12
unaffected

References

git.kernel.org/...c/23cb6139543580dc36743586ca86fbb3f7ab2c9d

git.kernel.org/...c/205e3b96cc9aa9211fd2c849a16245cf236b2d36

git.kernel.org/...c/5443c83eb8fd2f88c71ced38848fbf744d6206a2

git.kernel.org/...c/56c326577971adc3a230f29dfd3aa3abdd505f5d

git.kernel.org/...c/cba7fec864172dadd953daefdd26e01742b71a6a

cve.org (CVE-2024-49917)

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

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-49917

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.