{"id":"CVE-2026-99986","aliases":[],"cve":{"records":[{"id":"CVE-2026-99986","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.450Z","published":"2026-11-30T13:18:54.018Z","modified":"2026-11-30T13:18:54.018Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-30T13:18:54.018Z"}],"references":[{"url":"https://git.kernel.org/stable/c/99dfb16dd7cbe0e0c298b65e099e8d5b93ad8ac5","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/f56f23b99d67b523c7b92ee0385851de079bbafe","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/8b1cb368bce3a3a670e36b82372aa0033ffe3d85","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/2081dc291247066cf174f9ad4b20eaffc5663dc0","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/84d62591d343e1aa2c045cf4c5f079eee4500da7","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/bebad45050945a3d668d6701fb77ae2571c5d44b","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"7.4-rc1"}]}]}]}],"prioritization":[]},"title":"drm/amdkfd: fix doorbell allocation race creating duplicate allocations","titleSource":"Linux","descriptionSource":"Linux","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)","score":null,"severity":"unknown","published":"2026-11-30T13:18:54.018Z","modified":"2026-11-30T13:18:54.018Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"16f0013157bf8c95d10b9360491e3c920f85641e","status":"affected","lessThan":"99dfb16dd7cbe0e0c298b65e099e8d5b93ad8ac5","versionType":"git"},{"version":"16f0013157bf8c95d10b9360491e3c920f85641e","status":"affected","lessThan":"f56f23b99d67b523c7b92ee0385851de079bbafe","versionType":"git"},{"version":"16f0013157bf8c95d10b9360491e3c920f85641e","status":"affected","lessThan":"8b1cb368bce3a3a670e36b82372aa0033ffe3d85","versionType":"git"},{"version":"16f0013157bf8c95d10b9360491e3c920f85641e","status":"affected","lessThan":"2081dc291247066cf174f9ad4b20eaffc5663dc0","versionType":"git"},{"version":"16f0013157bf8c95d10b9360491e3c920f85641e","status":"affected","lessThan":"84d62591d343e1aa2c045cf4c5f079eee4500da7","versionType":"git"},{"version":"16f0013157bf8c95d10b9360491e3c920f85641e","status":"affected","lessThan":"bebad45050945a3d668d6701fb77ae2571c5d44b","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99986"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"6.1","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.1","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.63","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99986"}],"remediation":[],"references":["https://git.kernel.org/stable/c/99dfb16dd7cbe0e0c298b65e099e8d5b93ad8ac5","https://git.kernel.org/stable/c/f56f23b99d67b523c7b92ee0385851de079bbafe","https://git.kernel.org/stable/c/8b1cb368bce3a3a670e36b82372aa0033ffe3d85","https://git.kernel.org/stable/c/2081dc291247066cf174f9ad4b20eaffc5663dc0","https://git.kernel.org/stable/c/84d62591d343e1aa2c045cf4c5f079eee4500da7","https://git.kernel.org/stable/c/bebad45050945a3d668d6701fb77ae2571c5d44b"],"sources":[{"name":"CVE","id":"CVE-2026-99986","modified":"2026-11-30T13:18:54.018Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99986"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-30T14:01:46.229Z","kev":{"status":"not-listed","checkedAt":"2026-11-30T22:55:31.926Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}