{"id":"CVE-2026-68319","state":"PUBLISHED","title":"pds_core: fix deadlock between reset thread and remove","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npds_core: fix deadlock between reset thread and remove\n\npci_reset_function() acquires device_lock before performing the reset.\npdsc_remove() is called by the PCI core with device_lock already held.\nIf pdsc_pci_reset_thread() is running when pdsc_remove() is called,\ndestroy_workqueue() will block waiting for the work to complete, while\nthe work is blocked waiting for device_lock - deadlock.\n\nUse pci_try_reset_function() which uses pci_dev_trylock() internally.\nThis acquires both the device lock and the PCI config access lock\nwithout blocking - if either lock is contended, it returns -EAGAIN\nimmediately. This avoids the deadlock while also ensuring proper\nconfig space access serialization during the reset.\n\nThe pci_dev_get/put calls are also removed as they were unnecessary -\nthe driver-owned workqueue is destroyed in pdsc_remove(), guaranteeing\nthe work completes before remove returns. The PCI core holds its\nreference to pci_dev throughout the entire unbind sequence.","publishedAt":"2026-08-10T12:02:54.173Z","updatedAt":"2026-08-17T05:03:16.659Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"81665adf25d28a00a986533f1d3a5df76b79cad9","status":"affected","lessThan":"90d9f3ef28843e6c35149324b8eefb427a7435c2","versionType":"git"},{"version":"81665adf25d28a00a986533f1d3a5df76b79cad9","status":"affected","lessThan":"19ef775c91c6bf4bd2b60f6616f4e28b621cdd6a","versionType":"git"},{"version":"81665adf25d28a00a986533f1d3a5df76b79cad9","status":"affected","lessThan":"54f905821f26d385fba407a920b51f0a752c76dc","versionType":"git"},{"version":"81665adf25d28a00a986533f1d3a5df76b79cad9","status":"affected","lessThan":"ab0eec0ff0a421737a37f510ceab5c6ea59cd05a","versionType":"git"},{"version":"38407914d48273d7f8ab765b9243658afe1c3ab6","status":"affected","versionType":"git"},{"version":"6.8.7","status":"affected","lessThan":"6.9","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/amd/pds_core/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/amd/pds_core/core.c"]}],"references":["https://git.kernel.org/stable/c/90d9f3ef28843e6c35149324b8eefb427a7435c2","https://git.kernel.org/stable/c/19ef775c91c6bf4bd2b60f6616f4e28b621cdd6a","https://git.kernel.org/stable/c/54f905821f26d385fba407a920b51f0a752c76dc","https://git.kernel.org/stable/c/ab0eec0ff0a421737a37f510ceab5c6ea59cd05a"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68319.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68319","state":"PUBLISHED","datePublished":"2026-08-10T12:02:54.173Z","dateUpdated":"2026-08-17T05:03:16.659Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.382Z"},"containers":{"cna":{"title":"pds_core: fix deadlock between reset thread and remove","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npds_core: fix deadlock between reset thread and remove\n\npci_reset_function() acquires device_lock before performing the reset.\npdsc_remove() is called by the PCI core with device_lock already held.\nIf pdsc_pci_reset_thread() is running when pdsc_remove() is called,\ndestroy_workqueue() will block waiting for the work to complete, while\nthe work is blocked waiting for device_lock - deadlock.\n\nUse pci_try_reset_function() which uses pci_dev_trylock() internally.\nThis acquires both the device lock and the PCI config access lock\nwithout blocking - if either lock is contended, it returns -EAGAIN\nimmediately. This avoids the deadlock while also ensuring proper\nconfig space access serialization during the reset.\n\nThe pci_dev_get/put calls are also removed as they were unnecessary -\nthe driver-owned workqueue is destroyed in pdsc_remove(), guaranteeing\nthe work completes before remove returns. The PCI core holds its\nreference to pci_dev throughout the entire unbind sequence."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"81665adf25d28a00a986533f1d3a5df76b79cad9","status":"affected","lessThan":"90d9f3ef28843e6c35149324b8eefb427a7435c2","versionType":"git"},{"version":"81665adf25d28a00a986533f1d3a5df76b79cad9","status":"affected","lessThan":"19ef775c91c6bf4bd2b60f6616f4e28b621cdd6a","versionType":"git"},{"version":"81665adf25d28a00a986533f1d3a5df76b79cad9","status":"affected","lessThan":"54f905821f26d385fba407a920b51f0a752c76dc","versionType":"git"},{"version":"81665adf25d28a00a986533f1d3a5df76b79cad9","status":"affected","lessThan":"ab0eec0ff0a421737a37f510ceab5c6ea59cd05a","versionType":"git"},{"version":"38407914d48273d7f8ab765b9243658afe1c3ab6","status":"affected","versionType":"git"},{"version":"6.8.7","status":"affected","lessThan":"6.9","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/amd/pds_core/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.9","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/amd/pds_core/core.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/90d9f3ef28843e6c35149324b8eefb427a7435c2"},{"url":"https://git.kernel.org/stable/c/19ef775c91c6bf4bd2b60f6616f4e28b621cdd6a"},{"url":"https://git.kernel.org/stable/c/54f905821f26d385fba407a920b51f0a752c76dc"},{"url":"https://git.kernel.org/stable/c/ab0eec0ff0a421737a37f510ceab5c6ea59cd05a"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:03:16.659Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.12.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9","versionEndExcluding":"7.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8.7"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}