{"identifier":"CVE-2026-99986","cve":{"id":"CVE-2026-99986","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: fix doorbell allocation race creating duplicate allocations\n\nThe check-and-allocate sequence on pdd->qpd.proc_doorbells is\nlockless at every call site of kfd_alloc_process_doorbells():\nkfd_get_process_doorbells() (mmap of /dev/kfd),\nkfd_ioctl_create_queue() and the CRIU restore path each test the\npointer under different locking (or none), so two racing threads can\nboth observe NULL and each allocate a doorbell BO and bitmap,\norphaning one allocation and handing the two mappings different\nbacking pages.\n\nMove the serialization into kfd_alloc_process_doorbells() itself,\nusing a new per-process-device mutex so all three call sites are\ncovered regardless of their own locking.  The device-global\nkfd->doorbell_mutex is not suitable here: it is acquired under\ndqm->lock on the kernel-doorbell path (start_cpsch() -> pm_init() ->\nkq_initialize() -> kfd_get_kernel_doorbell()), so holding it across\nthe sleeping allocations above would create a lock-ordering\ninversion with dqm->lock via TTM eviction, and it would also\nserialize doorbell setup of unrelated processes behind a\ndevice-wide lock for per-process state.\n\nThis issue was discovered by Tencent CodeBuddy Security.\n\nv3 (Felix Kuehling):\n- Removed unlocked check in kfd_get_process_doorbell flagged as\n  problematic by Sashiko Bot. Fall back to the locked check inside\n  kfd_alloc_process_doorbells\n- Added missing mutex_destroy\nv4 (Felix Kuehling):\n- Removed unlocked checks around other kfd_alloc_process_doorbells calls\n\n(cherry picked from commit 4e27ba5ad5f76932d4f6cbacd25c81c2dd40ec4a)","published":"2026-11-30T14:20:41.680000+00:00","modified":"2026-12-01T06:17:59.520000+00:00","status":"Received","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvss_version":"3.1","affected":[],"weaknesses":[],"references":[{"url":"https://git.kernel.org/stable/c/2081dc291247066cf174f9ad4b20eaffc5663dc0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/84d62591d343e1aa2c045cf4c5f079eee4500da7","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8b1cb368bce3a3a670e36b82372aa0033ffe3d85","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/99dfb16dd7cbe0e0c298b65e099e8d5b93ad8ac5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/bebad45050945a3d668d6701fb77ae2571c5d44b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f56f23b99d67b523c7b92ee0385851de079bbafe","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"kev":null,"kev_checked":true,"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[],"source":"nvd","retrieved_at":"2026-12-01T09:50:44.498011+00:00","exploited":false,"kev_stale":false,"products":[],"priority":{"label":"Assess exposure and vendor guidance","reasons":["No higher-priority signal is available in the current stored evidence."]},"epss":{"probability":0.00309,"percentile":0.25559,"date":"2026-12-04","stale":false},"version_assessment":null},"news":[],"campaigns":[],"domains":[{"domain":"git.kernel.org","source_url":"https://git.kernel.org/stable/c/2081dc291247066cf174f9ad4b20eaffc5663dc0","investigate_url":"https://investigate.aeglixmind.com/#git.kernel.org"}],"arsenal_url":"https://arsenal.aeglixmind.com/?cve=CVE-2026-99986","catalog_url":"https://cves.aeglixmind.com/cve/CVE-2026-99986","research_url":"https://investigate.aeglixmind.com/research/cve/CVE-2026-99986","coverage":{"news_candidates_checked":0,"campaign_candidates_checked":0,"bounded":false,"notice":"Exact CVE mentions in stored public excerpts and reviewed campaign content only. A mention is not proof of exploitation, attribution or tool suitability. Missing matches do not establish absence."}}