{"id":"CVE-2024-49917","summary":"drm/amd/display: Add NULL check for clk_mgr and clk_mgr-\u003efuncs in dcn30_init_hw","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Add NULL check for clk_mgr and clk_mgr-\u003efuncs in dcn30_init_hw\n\nThis commit addresses a potential null pointer dereference issue in the\n`dcn30_init_hw` function. The issue could occur when `dc-\u003eclk_mgr` or\n`dc-\u003eclk_mgr-\u003efuncs` is null.\n\nThe fix adds a check to ensure `dc-\u003eclk_mgr` and `dc-\u003eclk_mgr-\u003efuncs` is\nnot null before accessing its functions. This prevents a potential null\npointer dereference.\n\nReported by smatch:\ndrivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn30/dcn30_hwseq.c:789 dcn30_init_hw() error: we previously assumed 'dc-\u003eclk_mgr' could be null (see line 628)","modified":"2026-04-02T12:21:08.169123Z","published":"2024-10-21T18:01:44.295Z","related":["SUSE-SU-2024:3983-1","SUSE-SU-2024:3984-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49917.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/205e3b96cc9aa9211fd2c849a16245cf236b2d36"},{"type":"WEB","url":"https://git.kernel.org/stable/c/23cb6139543580dc36743586ca86fbb3f7ab2c9d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5443c83eb8fd2f88c71ced38848fbf744d6206a2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/56c326577971adc3a230f29dfd3aa3abdd505f5d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cba7fec864172dadd953daefdd26e01742b71a6a"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49917.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49917"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c"},{"fixed":"23cb6139543580dc36743586ca86fbb3f7ab2c9d"},{"fixed":"205e3b96cc9aa9211fd2c849a16245cf236b2d36"},{"fixed":"5443c83eb8fd2f88c71ced38848fbf744d6206a2"},{"fixed":"56c326577971adc3a230f29dfd3aa3abdd505f5d"},{"fixed":"cba7fec864172dadd953daefdd26e01742b71a6a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49917.json"}}],"schema_version":"1.7.5"}