CVE-2026-99985: drm/amdkfd: don't drop an SVM CWSR reference that was never taken

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: don't drop an SVM CWSR reference that was never taken

When kfdqueueacquirebuffers() fails, its error path calls kfdqueuereleasebuffers(), which also drops a queuerefcount on the SVM range at ctxsaverestoreareaaddress. The SVM range is the last buffer acquired, and kfdqueuebuffersvmget() takes no reference when it fails, so on every error path this reference was never taken. If another queue of the process uses that CWSR range, its reference is dropped instead, and unmapping the range no longer evicts that queue while its CWSR area is unmapped from the GPU.

On navi31, with queue A using an SVM CWSR range: munmap() of the range logs

Freeing queue vital buffer 0x..., queue evicted

but after a CREATEQUEUE that reuses A's CWSR address with an unmapped write pointer (-EINVAL), the same munmap() leaves A running without the message.

Only put the BOs on the acquire error path. The warning and the eviction are back after the failed CREATEQUEUE.

(cherry picked from commit 9a08122e6361ef73f4b512d5db9596d561305519)

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 9a08122e6361ef73f4b512d5db9596d561305519

Event History

Nov 30, 2026
CVE Published
via MITRE·01:18 PM
Data Sourced
via MITRE·01:18 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203