{"id":"AZL-117367","summary":"CVE-2026-99873 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: tear down KFD processes before early fini_sw on disconnect\n\nOn surprise removal, amdgpu_device_fini_hw() calls\namdgpu_amdkfd_device_fini_sw() when pci_dev_is_disconnected() is true.\nfini_sw frees kfd.dev, but KFD processes may still be alive and hold\nreferences to it: kfd_process_destroy() dereferences kfd.dev via\nkfd_processes_remove(), and svm_range_list_fini() /\nkfd_process_free_outstanding_kfd_bos() touch per-device SVM state.\n\nThe kfd_processes_count wait only happens later in\nkgd2kfd_teardown_processes(), called from the top-half remove path\nwell after fini_sw. In the observed failure the killed KFD process\n(SIGBUS on unplug) stuck in D state on its exit path, so\nkfd_processes_count never drained and the PCIe removal thread wedged\npermanently in cond_resched(), producing soft-lockup and hung-task\nsplats.\n\nTear KFD processes down before freeing kfd.dev on the disconnect\npath, and guard kgd2kfd_teardown_processes() against kfd.dev already\nbeing gone when it runs a second time.\n\n(cherry picked from commit 836f44ba87ed7b1d83e2b7bfc788f8c6437b03a7)","modified":"2026-12-01T14:17:41.840773978Z","published":"2026-11-30T14:20:21Z","upstream":["CVE-2026-99873"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99873"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117367.json"}}],"schema_version":"1.9.2"}