{"id":"CVE-2024-49908","published":"2024-10-21T18:01:38Z","modified":"2026-05-11T20:41:36Z","title":"drm/amd/display: Add null check for 'afb' in amdgpu_dm_update_cursor (v2)","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 'afb' in amdgpu_dm_update_cursor (v2)\n\nThis commit adds a null check for the 'afb' variable in the\namdgpu_dm_update_cursor function. Previously, 'afb' was assumed to be\nnull at line 8388, 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.c:8433 amdgpu_dm_update_cursor()\n\terror: we previously assumed 'afb' could be null (see line 8388)","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00208,"percentile":0.11138,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a742168b6a39ead257da53bcbe472384d6e14a1b","tags":[]},{"url":"https://git.kernel.org/stable/c/0fe20258b4989b9112b5e9470df33a0939403fd4","tags":[]}],"priority":{"score":2.2,"factors":[{"name":"EPSS percentile","points":2.23}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < a742168b6a39ead257da53bcbe472384d6e14a1b",">= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 0fe20258b4989b9112b5e9470df33a0939403fd4"]},{"vendor":"Linux","product":"Linux","versions":["4.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-22T13:41:59.337369Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-43603","exploited":false,"provenance":"source"}}