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 819743BD643 for ; Fri, 26 Jun 2026 19:44: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=1782503053; cv=none; b=gvDv6AGFKjCvamioiqE18jkl1wfinQLi8DZt6egxTFWRif95EghHY9YWMIB/q4QQ2zHEfwIbY2SMxvW39dYZ9cWovzn2GKOGXTXCg/6olVi/bpY/0drjfLdtEbbcNjlJULwxfWVariEgCJwCUpN6EceVK0pvbec7frDESPIagZQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782503053; c=relaxed/simple; bh=Us7KJ7Nm9s0KhdBAZEU6O7SDH05IHky/4lp6zguGN94=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZS3oyWTSLwLh9p4PpWCr8sLB1ypIG8ZZpToSQsFPYiyvSPOE9DkWSjz+76+og2+7lNlKx1dJBCmVri2TbU6KgZ+d2FM6H6UeWIQLGBpxlYBYmpulxhmN8wxI5+Ot5Sb1aQiL3PcGA2V2NVrwlcWSJDgeUU3xBPfkBr/xfbm90hE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2TAimIiW; 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="2TAimIiW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CEF7F1F000E9; Fri, 26 Jun 2026 19:44:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782503052; bh=4OpYwW0Gb/nyIKddr11tWA+cS9HCsIzpZZTl+z2uSqc=; h=From:To:Cc:Subject:Date:Reply-To; b=2TAimIiWhjkIi1f2noNOZTAGUgAFaY3+0Lt+2Q9mCRpCd+6BIfuYx92IcyVHeQKNi pZ0LbA0wFmuDjITcticDldxpTGDaRI+ne3sUsIbhyJqoi2IBgwYoXlSLXkCYUqVEZ0 kkMx4iyS1OIsl4P07xtFum2nCWm77IXIMJf5mHeg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53322: vfio/pci: Clean up DMABUFs before disabling function Date: Fri, 26 Jun 2026 20:40:55 +0100 Message-ID: <2026062622-CVE-2026-53322-843f@gregkh> X-Mailer: git-send-email 2.54.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=2273; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ymnQQB6ReEOtHTrobhoO6Adhn6fa52BfC8Ny1ISBYYs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl2V5dXx+acsP+ePOf2niWvrmSd/K/X67+m7bLYWrfPj iuk7M81dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEpEwZ5tfdCy27Ht1Q/2eW 3/X4faldJ8V5chkWTC97tqvu7boDvGL30kyWnv7kl+/iAgA= 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: vfio/pci: Clean up DMABUFs before disabling function On device shutdown, make vfio_pci_core_close_device() call vfio_pci_dma_buf_cleanup() before the function is disabled via vfio_pci_core_disable(). This ensures that all access via DMABUFs is revoked before the function's BARs become inaccessible. This fixes an issue where, if the function is disabled first, a tiny window exists in which the function's MSE is cleared and yet BARs could still be accessed via the DMABUF. The resources would also be freed and up for grabs by a different driver. The Linux kernel CVE team has assigned CVE-2026-53322 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 5d74781ebc86c5fa9e9d6934024c505412de9b52 and fixed in 7.0.10 with commit 4f1000a30f67cf7d328059242776a858611d5ef9 Issue introduced in 6.19 with commit 5d74781ebc86c5fa9e9d6934024c505412de9b52 and fixed in 7.1 with commit d97708701434ce72968e771976aaf9d3438fcafd 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-53322 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/vfio/pci/vfio_pci_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/4f1000a30f67cf7d328059242776a858611d5ef9 https://git.kernel.org/stable/c/d97708701434ce72968e771976aaf9d3438fcafd