{"id":76057,"date":"2026-01-31T15:46:06","date_gmt":"2026-01-31T12:16:06","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-23034-drm-amdgpu-userq-fix-fence-reference-leak-on-queue-teardown-v2\/"},"modified":"2026-01-31T15:46:06","modified_gmt":"2026-01-31T12:16:06","slug":"cve-2026-23034-drm-amdgpu-userq-fix-fence-reference-leak-on-queue-teardown-v2","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-23034-drm-amdgpu-userq-fix-fence-reference-leak-on-queue-teardown-v2\/","title":{"rendered":"CVE-2026-23034 &#8211; drm\/amdgpu\/userq: Fix fence reference leak on queue teardown v2"},"content":{"rendered":"<p>CVE ID : CVE-2026-23034<\/p>\n<p>Published :  Jan. 31, 2026, 12:16 p.m. | 57\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>drm\/amdgpu\/userq: Fix fence reference leak on queue teardown v2<\/p>\n<p>The user mode queue keeps a pointer to the most recent fence in<br \/>\nuserq-&gt;last_fence. This pointer holds an extra dma_fence reference.<\/p>\n<p>When the queue is destroyed, we free the fence driver and its xarray,<br \/>\nbut we forgot to drop the last_fence reference.<\/p>\n<p>Because of the missing dma_fence_put(), the last fence object can stay<br \/>\nalive when the driver unloads. This leaves an allocated object in the<br \/>\namdgpu_userq_fence slab cache and triggers<\/p>\n<p>This is visible during driver unload as:<\/p>\n<p>  BUG amdgpu_userq_fence: Objects remaining on __kmem_cache_shutdown()<br \/>\n  kmem_cache_destroy amdgpu_userq_fence: Slab cache still has objects<br \/>\n  Call Trace:<br \/>\n    kmem_cache_destroy<br \/>\n    amdgpu_userq_fence_slab_fini<br \/>\n    amdgpu_exit<br \/>\n    __do_sys_delete_module<\/p>\n<p>Fix this by putting userq-&gt;last_fence and clearing the pointer during<br \/>\namdgpu_userq_fence_driver_free().<\/p>\n<p>This makes sure the fence reference is released and the slab cache is<br \/>\nempty when the module exits.<\/p>\n<p>v2: Update to only release userq-&gt;last_fence with dma_fence_put()<br \/>\n    (Christian)<\/p>\n<p>(cherry picked from commit 8e051e38a8d45caf6a866d4ff842105b577953bb)<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2026-23034 Published : Jan. 31, 2026, 12:16 p.m. | 57\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: drm\/amdgpu\/userq: Fix fence reference leak on queue teardown v2 The user mode queue keeps a pointer to the most recent fence in userq-&gt;last_fence. This pointer holds an extra dma_fence &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-76057","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/76057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=76057"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/76057\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=76057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=76057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=76057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}