{"api_version":"1","generated_at":"2026-05-28T16:29:43+00:00","cve":"CVE-2026-46220","urls":{"html":"https://cve.report/CVE-2026-46220","api":"https://cve.report/api/cve/CVE-2026-46220.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-46220","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-46220"},"summary":{"title":"drm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission\n\nsdma_v4_0_ring_emit_fence() contains two BUG_ON(addr & 0x3) assertions\nthat verify fence writeback addresses are dword-aligned.  These\nassertions can be reached from unprivileged userspace via crafted\nDRM_IOCTL_AMDGPU_CS submissions, causing a fatal kernel panic in a\nscheduler worker thread.\n\nReplace both BUG_ON() calls with WARN_ON() to log the condition without\ncrashing the kernel.  A misaligned fence address at this point indicates\na driver bug, but crashing the kernel is never the correct response when\nthe assertion is reachable from userspace.\n\nThe CS IOCTL path is the correct place to filter invalid submissions;\nthe ring emission callback is too late to do anything about it.\n\n(cherry picked from commit b90250bd933afd1ba94d86d6b13821997b22b18e)","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-28 10:16:37","updated_at":"2026-05-28 13:44:01"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d331fb241a4602253976ddd65144a8ba2b05665d","name":"https://git.kernel.org/stable/c/d331fb241a4602253976ddd65144a8ba2b05665d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0b91ea46bb68abf98a082bf239092253bbd6aaa2","name":"https://git.kernel.org/stable/c/0b91ea46bb68abf98a082bf239092253bbd6aaa2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/78d2e624fa073c14970aa097adcf3ea31c157a66","name":"https://git.kernel.org/stable/c/78d2e624fa073c14970aa097adcf3ea31c157a66","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4f7ca00fa91daf0795ec6b3b130c5ebba1f155fe","name":"https://git.kernel.org/stable/c/4f7ca00fa91daf0795ec6b3b130c5ebba1f155fe","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a4fd82fb0757c180bf622907397c528b89a827b2","name":"https://git.kernel.org/stable/c/a4fd82fb0757c180bf622907397c528b89a827b2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46220","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46220","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 4f7ca00fa91daf0795ec6b3b130c5ebba1f155fe git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 d331fb241a4602253976ddd65144a8ba2b05665d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 0b91ea46bb68abf98a082bf239092253bbd6aaa2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 a4fd82fb0757c180bf622907397c528b89a827b2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 78d2e624fa073c14970aa097adcf3ea31c157a66 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.140 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.90 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.32 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.9 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"4f7ca00fa91daf0795ec6b3b130c5ebba1f155fe","status":"affected","version":"2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7","versionType":"git"},{"lessThan":"d331fb241a4602253976ddd65144a8ba2b05665d","status":"affected","version":"2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7","versionType":"git"},{"lessThan":"0b91ea46bb68abf98a082bf239092253bbd6aaa2","status":"affected","version":"2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7","versionType":"git"},{"lessThan":"a4fd82fb0757c180bf622907397c528b89a827b2","status":"affected","version":"2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7","versionType":"git"},{"lessThan":"78d2e624fa073c14970aa097adcf3ea31c157a66","status":"affected","version":"2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.12"},{"lessThan":"4.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.140","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.90","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.32","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.9","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.140","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.90","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.32","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.9","versionStartIncluding":"4.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1-rc3","versionStartIncluding":"4.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission\n\nsdma_v4_0_ring_emit_fence() contains two BUG_ON(addr & 0x3) assertions\nthat verify fence writeback addresses are dword-aligned.  These\nassertions can be reached from unprivileged userspace via crafted\nDRM_IOCTL_AMDGPU_CS submissions, causing a fatal kernel panic in a\nscheduler worker thread.\n\nReplace both BUG_ON() calls with WARN_ON() to log the condition without\ncrashing the kernel.  A misaligned fence address at this point indicates\na driver bug, but crashing the kernel is never the correct response when\nthe assertion is reachable from userspace.\n\nThe CS IOCTL path is the correct place to filter invalid submissions;\nthe ring emission callback is too late to do anything about it.\n\n(cherry picked from commit b90250bd933afd1ba94d86d6b13821997b22b18e)"}],"providerMetadata":{"dateUpdated":"2026-05-28T09:40:35.971Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/4f7ca00fa91daf0795ec6b3b130c5ebba1f155fe"},{"url":"https://git.kernel.org/stable/c/d331fb241a4602253976ddd65144a8ba2b05665d"},{"url":"https://git.kernel.org/stable/c/0b91ea46bb68abf98a082bf239092253bbd6aaa2"},{"url":"https://git.kernel.org/stable/c/a4fd82fb0757c180bf622907397c528b89a827b2"},{"url":"https://git.kernel.org/stable/c/78d2e624fa073c14970aa097adcf3ea31c157a66"}],"title":"drm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-46220","datePublished":"2026-05-28T09:40:35.971Z","dateReserved":"2026-05-13T15:03:33.106Z","dateUpdated":"2026-05-28T09:40:35.971Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-28 10:16:37","lastModifiedDate":"2026-05-28 13:44:01","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"46220","Ordinal":"1","Title":"drm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission","CVE":"CVE-2026-46220","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"46220","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission\n\nsdma_v4_0_ring_emit_fence() contains two BUG_ON(addr & 0x3) assertions\nthat verify fence writeback addresses are dword-aligned.  These\nassertions can be reached from unprivileged userspace via crafted\nDRM_IOCTL_AMDGPU_CS submissions, causing a fatal kernel panic in a\nscheduler worker thread.\n\nReplace both BUG_ON() calls with WARN_ON() to log the condition without\ncrashing the kernel.  A misaligned fence address at this point indicates\na driver bug, but crashing the kernel is never the correct response when\nthe assertion is reachable from userspace.\n\nThe CS IOCTL path is the correct place to filter invalid submissions;\nthe ring emission callback is too late to do anything about it.\n\n(cherry picked from commit b90250bd933afd1ba94d86d6b13821997b22b18e)","Type":"Description","Title":"drm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission"}]}}}