{"id":"CVE-2024-49917","aliases":["CVE-2024-49917"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn30_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 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)","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 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)","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 dcn30_init_hw Esta confirmación soluciona un posible problema de desreferencia de puntero nulo en la función `dcn30_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/dcn30/dcn30_hwseq.c:789 Error dcn30_init_hw(): previamente asumimos que 'dc-&gt;clk_mgr' podría ser nulo (ver línea 628)","source":"nvd"}],"published":"2024-10-21T18:01:44.295Z","modified":"2026-06-17T08:00:43.870Z","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":"23cb6139543580dc36743586ca86fbb3f7ab2c9d","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"205e3b96cc9aa9211fd2c849a16245cf236b2d36","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"5443c83eb8fd2f88c71ced38848fbf744d6206a2","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"56c326577971adc3a230f29dfd3aa3abdd505f5d","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"cba7fec864172dadd953daefdd26e01742b71a6a","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.1.120","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.64","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.14","lastAffected":"6.10.*","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.10.14"},{"status":"affected","introduced":"6.11","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/23cb6139543580dc36743586ca86fbb3f7ab2c9d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/205e3b96cc9aa9211fd2c849a16245cf236b2d36","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5443c83eb8fd2f88c71ced38848fbf744d6206a2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/56c326577971adc3a230f29dfd3aa3abdd505f5d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cba7fec864172dadd953daefdd26e01742b71a6a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T13:40:51.944Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-49917","url":"https://www.cve.org/CVERecord?id=CVE-2024-49917","licence":"CVE Terms of Use","modified":"2026-05-11T20:41:46.909Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-49917","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49917","licence":"Public domain","modified":"2026-06-17T08:00:43.870Z"}],"updatedAt":"2026-11-25T22:58:47.043Z","epss":{"score":0.00238,"percentile":0.15881,"date":"2026-12-01T12:00:22.000Z"}}