{"id":"CVE-2024-49916","aliases":["CVE-2024-49916"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn401_init_hw","summary":"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)","summarySource":"cvelist","descriptions":[{"lang":"en","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)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: Agregar comprobación NULL para clk_mgr y clk_mgr-&gt;funcs en dcn401_init_hw Esta confirmación soluciona un posible problema de desreferencia de puntero nulo en la función `dcn401_init_hw`. El problema podría ocurrir cuando `dc-&gt;clk_mgr` o `dc-&gt;clk_mgr-&gt;funcs` es nulo. La corrección agrega una comprobación para garantizar que `dc-&gt;clk_mgr` y `dc-&gt;clk_mgr-&gt;funcs` no sean nulos antes de acceder a sus funciones. Esto evita una posible desreferencia de puntero nulo. Reportado por smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn401/dcn401_hwseq.c:416 Error dcn401_init_hw(): previamente asumimos que 'dc-&gt;clk_mgr' podría ser nulo (ver línea 225)","source":"nvd"}],"published":"2024-10-21T18:01:43.547Z","modified":"2026-06-17T08:00:43.763Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"ac1c41e318074d8a9ea925787e366be15d7645e8","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"4b6377f0e96085cbec96eb7f0b282430ccdd3d75","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.15","status":"unaffected"},{"type":"semver","introduced":"6.11.3","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.11.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ac1c41e318074d8a9ea925787e366be15d7645e8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4b6377f0e96085cbec96eb7f0b282430ccdd3d75","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T13:40:59.452Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-49916","url":"https://www.cve.org/CVERecord?id=CVE-2024-49916","licence":"CVE Terms of Use","modified":"2026-05-11T20:41:45.706Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-49916","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49916","licence":"Public domain","modified":"2026-06-17T08:00:43.763Z"}],"updatedAt":"2026-11-25T22:58:47.043Z","epss":{"score":0.00208,"percentile":0.11571,"date":"2026-12-01T12:00:22.000Z"}}