From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 92E303955E2 for ; Mon, 10 Aug 2026 12:11:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363916; cv=none; b=SoEL9YKUgzN4hopQhAeu0jkXvVHhyxO2G+Zi789UF+FwAojvdAn6BiyhngxZptMu2U37VRAi+3VK5QhUY/H/VhE8CpEr/fmRbIUMK6DPRdCdCHsziWRCBiZzQrPgC5ViYd4hgdENRTy70rep1mN983d8HfWGsCh6SVLdgPQ6jq0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363916; c=relaxed/simple; bh=e4xQHCwn8fagpymhU+nB8pjIc2OGzMzshmiLSuWGoJ4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ht6vWWZXGhslgeZChuJcTrLSySNn3xjPXg4UNIf3GavkWxfi5K0CSR0O1vKXiP6kddLGxHkQp0ijJU58JpUfq67Zc3j6XV7pfyERvWHA4Gctjbjqj4caGj0axQNBTt5kAR3gEndRjbfGHNFMJ1XKI3cCzeivXsYTziXreQ8EFyo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=o9qVsVXv; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="o9qVsVXv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 163911F000E9; Mon, 10 Aug 2026 12:11:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363915; bh=4xBnhNmBYhsLmEbEDmghRH8ziWk5XA67uBaevWku0tk=; h=From:To:Cc:Subject:Date:Reply-To; b=o9qVsVXvO0W8+4h+74Hjc2PGmcPiZeP1vK1h3T6TK0mRaJPvVEIT6f6JsxYWE3HEH Xf87rzuKw8FGIfcD2da25x8eFvi3i53MkQO0Mvwb+pvfLhdRRvZjFQnfqsfn7nZThW nHyO4NP9iHPVSJlrbFhJJxjNHSmS71JjcsBomILI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68319: pds_core: fix deadlock between reset thread and remove Date: Mon, 10 Aug 2026 14:00:36 +0200 Message-ID: <2026081033-CVE-2026-68319-4c02@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3255; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=V0WkIE/a2/cUJQUXegMZhswSyjmHYY4iM2zyEyIhebY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe9Y6a816VzNR6e2DTR3fp0ade35u4r3JLR6OKmXW+ 8qLi5hCOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiPIoM85QK5+16mt32R2fi 5cuHLR9Mjuwvy2JY0N/6/ELm+5ti3yJZFztY/RNIdZwvBAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: pds_core: fix deadlock between reset thread and remove pci_reset_function() acquires device_lock before performing the reset. pdsc_remove() is called by the PCI core with device_lock already held. If pdsc_pci_reset_thread() is running when pdsc_remove() is called, destroy_workqueue() will block waiting for the work to complete, while the work is blocked waiting for device_lock - deadlock. Use pci_try_reset_function() which uses pci_dev_trylock() internally. This acquires both the device lock and the PCI config access lock without blocking - if either lock is contended, it returns -EAGAIN immediately. This avoids the deadlock while also ensuring proper config space access serialization during the reset. The pci_dev_get/put calls are also removed as they were unnecessary - the driver-owned workqueue is destroyed in pdsc_remove(), guaranteeing the work completes before remove returns. The PCI core holds its reference to pci_dev throughout the entire unbind sequence. The Linux kernel CVE team has assigned CVE-2026-68319 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 81665adf25d28a00a986533f1d3a5df76b79cad9 and fixed in 6.12.101 with commit 90d9f3ef28843e6c35149324b8eefb427a7435c2 Issue introduced in 6.9 with commit 81665adf25d28a00a986533f1d3a5df76b79cad9 and fixed in 6.18.42 with commit 19ef775c91c6bf4bd2b60f6616f4e28b621cdd6a Issue introduced in 6.9 with commit 81665adf25d28a00a986533f1d3a5df76b79cad9 and fixed in 7.1.6 with commit 54f905821f26d385fba407a920b51f0a752c76dc Issue introduced in 6.9 with commit 81665adf25d28a00a986533f1d3a5df76b79cad9 and fixed in 7.2-rc5 with commit ab0eec0ff0a421737a37f510ceab5c6ea59cd05a Issue introduced in 6.8.7 with commit 38407914d48273d7f8ab765b9243658afe1c3ab6 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-68319 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/amd/pds_core/core.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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