{"id":"CVE-2024-49916","published":"2024-10-21T18:01:43Z","modified":"2026-05-11T20:41:45Z","title":"drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn401_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 dcn401_init_hw\n\nThis commit addresses a potential null pointer dereference issue in the\n`dcn401_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/dcn401/dcn401_hwseq.c:416 dcn401_init_hw() error: we previously assumed 'dc->clk_mgr' could be null (see line 225)","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00265,"percentile":0.11436,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ac1c41e318074d8a9ea925787e366be15d7645e8","tags":[]},{"url":"https://git.kernel.org/stable/c/4b6377f0e96085cbec96eb7f0b282430ccdd3d75","tags":[]}],"priority":{"score":2.3,"factors":[{"name":"EPSS percentile","points":2.29}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < ac1c41e318074d8a9ea925787e366be15d7645e8",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 4b6377f0e96085cbec96eb7f0b282430ccdd3d75"]},{"vendor":"Linux","product":"Linux","versions":["4.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-22T13:40:59.452092Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-43607","exploited":false,"provenance":"source"}}