{"id":"CVE-2026-43369","state":"PUBLISHED","title":"drm/amd: Fix NULL pointer dereference in device cleanup","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd: Fix NULL pointer dereference in device cleanup\n\nWhen GPU initialization fails due to an unsupported HW block\nIP blocks may have a NULL version pointer. During cleanup in\namdgpu_device_fini_hw, the code calls amdgpu_device_set_pg_state and\namdgpu_device_set_cg_state which iterate over all IP blocks and access\nadev->ip_blocks[i].version without NULL checks, leading to a kernel\nNULL pointer dereference.\n\nAdd NULL checks for adev->ip_blocks[i].version in both\namdgpu_device_set_cg_state and amdgpu_device_set_pg_state to prevent\ndereferencing NULL pointers during GPU teardown when initialization has\nfailed.\n\n(cherry picked from commit b7ac77468cda92eecae560b05f62f997a12fe2f2)","publishedAt":"2026-05-08T14:21:21.174Z","updatedAt":"2026-05-11T22:23:15.282Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fc58ef30e0a1524ce72a8e873d773ba3b0830c7d","status":"affected","lessThan":"43025c941aced9a9009f9ff20eea4eb78c61deb8","versionType":"git"},{"version":"6d7ac4a0ebb6b7bc885274aa8b2bd9971f07013c","status":"affected","lessThan":"767cd24d3c4ae847688877def4891943f6611ecd","versionType":"git"},{"version":"39fc2bc4da0082c226cbee331f0a5d44db3997da","status":"affected","lessThan":"062ea905fff7756b2e87143ffccaece5cdb44267","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_device.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6.18.16","status":"affected","lessThan":"6.18.19","versionType":"semver"},{"version":"6.19.6","status":"affected","lessThan":"6.19.9","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_device.c"]}],"references":["https://git.kernel.org/stable/c/43025c941aced9a9009f9ff20eea4eb78c61deb8","https://git.kernel.org/stable/c/767cd24d3c4ae847688877def4891943f6611ecd","https://git.kernel.org/stable/c/062ea905fff7756b2e87143ffccaece5cdb44267"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43369.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43369","state":"PUBLISHED","datePublished":"2026-05-08T14:21:21.174Z","dateUpdated":"2026-05-11T22:23:15.282Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-01T14:12:56.005Z"},"containers":{"cna":{"title":"drm/amd: Fix NULL pointer dereference in device cleanup","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd: Fix NULL pointer dereference in device cleanup\n\nWhen GPU initialization fails due to an unsupported HW block\nIP blocks may have a NULL version pointer. During cleanup in\namdgpu_device_fini_hw, the code calls amdgpu_device_set_pg_state and\namdgpu_device_set_cg_state which iterate over all IP blocks and access\nadev->ip_blocks[i].version without NULL checks, leading to a kernel\nNULL pointer dereference.\n\nAdd NULL checks for adev->ip_blocks[i].version in both\namdgpu_device_set_cg_state and amdgpu_device_set_pg_state to prevent\ndereferencing NULL pointers during GPU teardown when initialization has\nfailed.\n\n(cherry picked from commit b7ac77468cda92eecae560b05f62f997a12fe2f2)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fc58ef30e0a1524ce72a8e873d773ba3b0830c7d","status":"affected","lessThan":"43025c941aced9a9009f9ff20eea4eb78c61deb8","versionType":"git"},{"version":"6d7ac4a0ebb6b7bc885274aa8b2bd9971f07013c","status":"affected","lessThan":"767cd24d3c4ae847688877def4891943f6611ecd","versionType":"git"},{"version":"39fc2bc4da0082c226cbee331f0a5d44db3997da","status":"affected","lessThan":"062ea905fff7756b2e87143ffccaece5cdb44267","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_device.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6.18.16","status":"affected","lessThan":"6.18.19","versionType":"semver"},{"version":"6.19.6","status":"affected","lessThan":"6.19.9","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/amdgpu/amdgpu_device.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/43025c941aced9a9009f9ff20eea4eb78c61deb8"},{"url":"https://git.kernel.org/stable/c/767cd24d3c4ae847688877def4891943f6611ecd"},{"url":"https://git.kernel.org/stable/c/062ea905fff7756b2e87143ffccaece5cdb44267"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:23:15.282Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18.16","versionEndExcluding":"6.18.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19.6","versionEndExcluding":"6.19.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}