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 1C8C5226D05 for ; Thu, 24 Sep 2026 16:11:12 +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=1790266281; cv=none; b=hSv5MrbWSNQVCzOYc06f0H3Wv1hov5DwZczJ9+2X36eMZZQRbUIbYQbW4WEkwWPmD7qjxtgHzar+oc++IJYEMZUMfa/AEeOWjPPbmyzEhHZFbdCPQEOzgKDkhact86D3XXU2T7j2aL5Oz0kIDDO+wtieQwVK2tjv5PGfWuX1h0E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266281; c=relaxed/simple; bh=k4x0YluwCgV5ZVRka58742xkKqZM1Z+D81OHE5q52c0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=B20GSv70izf7uvNwBrLmPRVrSgKZLHjb/tASW5NH7dDqbu0b//wq8msNlav2rvIqFdMAMUXB6pgd2Coql3n45i03cvhOdNpCFeIw7sC1wamxez1DkF52ZRqiVlFgVeROjbi1WFDyoHP24psWr80Ebvjz23ihw9qFMQSTyvs9hQI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XQXgq8zB; 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="XQXgq8zB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFD5B1F000FF; Thu, 24 Sep 2026 16:11:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790266272; bh=0wtOy9rasUMTjfxBMzss1tZRx5NoJeSs/gJeuqTANpA=; h=From:To:Cc:Subject:Date:Reply-To; b=XQXgq8zBu0/LarIEKX0BkujewGMm2s4OIHTquBxM0PUFuMImLyDxZUHncSuCenYD8 Hc1MywsexveK+rV4ZugHqPHmhlLCbCH1/RYfm/CeMRM8J/70fLXixRMEQ1BRPje76B /ZlHgAl8vsRJgzv0/5zFEzlmjxzIHf05jhCNGLHs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97412: pds_core: quiesce DMA before freeing resources Date: Thu, 24 Sep 2026 18:03:12 +0200 Message-ID: <2026092426-CVE-2026-97412-ac39@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=2246; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tuUMXP9tC1XuUxqCk4BGYBYyhG906uRZyKljYhViWTg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbPSctV329r+PpikPNS3uuLfl587yw9M9N8T6SzBqf5 /0R0JiT3BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT2aDJsKBrh419w+fvD7+6 vX9ftmzyuZg0tRaGBVuCT7171NAXNSugOPlipcE21ilfmwA= 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: quiesce DMA before freeing resources pdsc_teardown() frees DMA buffers but does not disable bus mastering, leaving the device able to perform DMA after the buffers are freed. This can lead to use-after-free if the device writes to freed memory. Add pci_clear_master() to pdsc_teardown() to disable bus mastering before freeing resources, ensuring all DMA is quiesced. Add pci_set_master() to pdsc_setup() to re-enable bus mastering, which is needed for the firmware recovery path since pdsc_teardown() now disables it. The Linux kernel CVE team has assigned CVE-2026-97412 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit cc8beb70e70fc90e54efdbc1128cf7de799e6be4 Fixed in 6.18.53 with commit 9eee6b90bee3df496ed9094d9e76d5e478d72d0a Fixed in 7.2 with commit 6443f4f20bdae726fe01cf5946fba9742a0ffda6 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-97412 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/cc8beb70e70fc90e54efdbc1128cf7de799e6be4 https://git.kernel.org/stable/c/9eee6b90bee3df496ed9094d9e76d5e478d72d0a https://git.kernel.org/stable/c/6443f4f20bdae726fe01cf5946fba9742a0ffda6