{"id":"CVE-2024-49905","aliases":["CVE-2024-49905"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amd/display: Add null check for 'afb' in amdgpu_dm_plane_handle_cursor_update (v2)","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Add null check for 'afb' in amdgpu_dm_plane_handle_cursor_update (v2)\n\nThis commit adds a null check for the 'afb' variable in the\namdgpu_dm_plane_handle_cursor_update function. Previously, 'afb' was\nassumed to be null, but was used later in the code without a null check.\nThis could potentially lead to a null pointer dereference.\n\nChanges since v1:\n- Moved the null check for 'afb' to the line where 'afb' is used. (Alex)\n\nFixes the below:\ndrivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1298 amdgpu_dm_plane_handle_cursor_update() error: we previously assumed 'afb' could be null (see line 1252)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Add null check for 'afb' in amdgpu_dm_plane_handle_cursor_update (v2)\n\nThis commit adds a null check for the 'afb' variable in the\namdgpu_dm_plane_handle_cursor_update function. Previously, 'afb' was\nassumed to be null, but was used later in the code without a null check.\nThis could potentially lead to a null pointer dereference.\n\nChanges since v1:\n- Moved the null check for 'afb' to the line where 'afb' is used. (Alex)\n\nFixes the below:\ndrivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1298 amdgpu_dm_plane_handle_cursor_update() error: we previously assumed 'afb' could be null (see line 1252)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: Agregar comprobación NULL para 'afb' en amdgpu_dm_plane_handle_cursor_update (v2) Esta confirmación agrega una comprobación NULL para la variable 'afb' en la función amdgpu_dm_plane_handle_cursor_update. Anteriormente, se suponía que 'afb' era nulo, pero se usó más adelante en el código sin una comprobación NULL. Esto podría conducir potencialmente a una desreferencia de puntero nulo. Cambios desde v1: - Se movió la comprobación NULL para 'afb' a la línea donde se usa 'afb'. (Alex) Corrige lo siguiente: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1298 Error amdgpu_dm_plane_handle_cursor_update(): anteriormente asumimos que 'afb' podía ser nulo (ver línea 1252)","source":"nvd"}],"published":"2024-10-21T18:01:36.038Z","modified":"2026-06-17T08:00:42.450Z","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":"bd0e24e5e608ccb9fdda300bb974496d6d8cf57d","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"75839e2365b666ff4e1b9047e442cab138eac4f6","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"9132882eaae4d21d2fc5843b3308379a481ebdf0","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"e4e26cbe34d7c1c1db5fb7b3101573c29866439f","status":"affected"},{"type":"git","introduced":"4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c","fixed":"cd9e9e0852d501f169aa3bb34e4b413d2eb48c37","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.113","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.55","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.1.113"},{"status":"affected","introduced":"6.2","fixed":"6.6.55"},{"status":"affected","introduced":"6.7","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/bd0e24e5e608ccb9fdda300bb974496d6d8cf57d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/75839e2365b666ff4e1b9047e442cab138eac4f6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9132882eaae4d21d2fc5843b3308379a481ebdf0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e4e26cbe34d7c1c1db5fb7b3101573c29866439f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd9e9e0852d501f169aa3bb34e4b413d2eb48c37","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T13:42:22.532Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-49905","url":"https://www.cve.org/CVERecord?id=CVE-2024-49905","licence":"CVE Terms of Use","modified":"2026-05-11T20:41:32.695Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-49905","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49905","licence":"Public domain","modified":"2026-06-17T08:00:42.450Z"}],"updatedAt":"2026-11-25T22:58:47.038Z","epss":{"score":0.00238,"percentile":0.15881,"date":"2026-12-01T12:00:22.000Z"}}