{"id":"CVE-2024-49917","published":"2024-10-21T18:01:44Z","modified":"2026-05-11T20:41:46Z","title":"drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn30_init_hw","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs 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->clk_mgr` or\n`dc->clk_mgr->funcs` is null.\n\nThe fix adds a check to ensure `dc->clk_mgr` and `dc->clk_mgr->funcs` 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->clk_mgr' could be null (see line 628)","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00304,"percentile":0.15547,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/23cb6139543580dc36743586ca86fbb3f7ab2c9d","tags":[]},{"url":"https://git.kernel.org/stable/c/205e3b96cc9aa9211fd2c849a16245cf236b2d36","tags":[]},{"url":"https://git.kernel.org/stable/c/5443c83eb8fd2f88c71ced38848fbf744d6206a2","tags":[]},{"url":"https://git.kernel.org/stable/c/56c326577971adc3a230f29dfd3aa3abdd505f5d","tags":[]},{"url":"https://git.kernel.org/stable/c/cba7fec864172dadd953daefdd26e01742b71a6a","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]}],"priority":{"score":3.1,"factors":[{"name":"EPSS percentile","points":3.11}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 23cb6139543580dc36743586ca86fbb3f7ab2c9d",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 205e3b96cc9aa9211fd2c849a16245cf236b2d36",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 5443c83eb8fd2f88c71ced38848fbf744d6206a2",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 56c326577971adc3a230f29dfd3aa3abdd505f5d",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < cba7fec864172dadd953daefdd26e01742b71a6a"]},{"vendor":"Linux","product":"Linux","versions":["4.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-22T13:40:51.944829Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-43846","exploited":false,"provenance":"source"}}