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 E06AB390CB5 for ; Sat, 25 Jul 2026 09:02:07 +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=1784970129; cv=none; b=nHEjtlGGU9uAxFifNLT3sRBBhtsPU4/3sAyEorQRwf0iBcfGVViHqU/BKMkxha30mshkd9mR/cjNlVkSGhdHmE8dlAhiRxLyrVgHAX017ztgIZuhwyZHo3s4ZGCjVcbGNuHy5nUzc7hEQHbKV2lh5iLrDXvsaivVZ6zJCvakPNc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784970129; c=relaxed/simple; bh=Ft7pvMWO3l9JzLZ91zZdsOOlic53Oz4C/lRteF3/pUQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AjtgUIHGOl8LgLIgogqUaAgDo5qzYwhIlAxo3Buw4Ea75bt6KVpTVvSLW87jVpNCrCtT2B7WE7VVvtj/WbA/Nzze+JAo5o80aa6R6RhLbOkE0sIRbvCu58aYGfR0zNmnvyjGlfYLSVzuA9F7R2ouWDCkLPFeEI5yB06e+9qUUno= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0x5KYt3D; 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="0x5KYt3D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DF791F000E9; Sat, 25 Jul 2026 09:02:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784970127; bh=JwVWPMKcgGnuJPzApq4sURP3SvVcFIBuVjEdxURCN4Q=; h=From:To:Cc:Subject:Date:Reply-To; b=0x5KYt3Du+awtqcezMKkgmpSIyxPEhJ47NGtlfWo/zGsvI+zk7H4Z681jNXHL6wzd GIyqQ4NBpT4thZoWETHp9jVL7qQZjBznsjTVbi9Yw0srmLRV1EXsDKFV3gFpOkf2zh WmuGiM11MnuMnwt7Ky1kZg7PZAeS94dxi6Gp2z3U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64475: vfio/pci: Release the VGA arbiter client on register_device() failure Date: Sat, 25 Jul 2026 10:51:32 +0200 Message-ID: <2026072546-CVE-2026-64475-8842@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=3863; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4w9sxhwx30BhvAREglDohTTT5kB0EYxm2lHhY3aIvyE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFXnV2s1dx3b6umh4rGk62p9wc/1C7/yL3TuLv78oU OoMP7q7I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbyN5Nhwa7wSy7f7LqarU4w zlQVe9EvOE3TkmF+yLLP778tzTCqYCi0enomWv/JFecLAA== 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: Release the VGA arbiter client on register_device() failure The re-order in the Fixes commit below displaced vfio_pci_vga_init() as the last failure point of what is now vfio_pci_core_register_device() without introducing an unwind for the VGA arbiter registration. In current kernels this is mostly benign because vfio_pci_set_decode() only uses pci_dev state, but the original failure path could leave a callback with a freed vdev cookie. The stale registration also becomes unsafe again once the callback follows drvdata to the vfio device. Add the required VGA unwind callout. The Linux kernel CVE team has assigned CVE-2026-64475 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10.37 with commit 87856f9af04eaacf9848710625a4ffee1d020fa9 and fixed in 5.10.261 with commit 0f2a35a0c7ea7da347b814750eaa78adf3582381 Issue introduced in 5.13 with commit 4aeec3984ddc853f7c65903bde472ffdef738bae and fixed in 5.15.212 with commit 8d65decde9afd2bd78bcfffdc0df73b82a0b5509 Issue introduced in 5.13 with commit 4aeec3984ddc853f7c65903bde472ffdef738bae and fixed in 6.1.178 with commit ef4c38d30b3744e89eb5048218904bb629ea8d47 Issue introduced in 5.13 with commit 4aeec3984ddc853f7c65903bde472ffdef738bae and fixed in 6.6.145 with commit 9e0a3f642e607848669235f5069f35640abbfc88 Issue introduced in 5.13 with commit 4aeec3984ddc853f7c65903bde472ffdef738bae and fixed in 6.12.96 with commit 42d758a09d2c46c42357ecde9a5492f015bde2e5 Issue introduced in 5.13 with commit 4aeec3984ddc853f7c65903bde472ffdef738bae and fixed in 6.18.39 with commit 52adb2dff7ce3d8430e2bdc5988b618a430def85 Issue introduced in 5.13 with commit 4aeec3984ddc853f7c65903bde472ffdef738bae and fixed in 7.1.4 with commit 278a5659c391fe5afe5f9ce1bad1fd24e90144f1 Issue introduced in 5.13 with commit 4aeec3984ddc853f7c65903bde472ffdef738bae and fixed in 7.2-rc2 with commit daedde7f024ecf88bc8e832ed40cf2c795f0796a Issue introduced in 5.11.21 with commit d62dccb417cf972c978bf3c68a7d5e846bcf953e Issue introduced in 5.12.4 with commit 6694b8daffac5a8661071f085608afc78f7acd08 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-64475 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/0f2a35a0c7ea7da347b814750eaa78adf3582381 https://git.kernel.org/stable/c/8d65decde9afd2bd78bcfffdc0df73b82a0b5509 https://git.kernel.org/stable/c/ef4c38d30b3744e89eb5048218904bb629ea8d47 https://git.kernel.org/stable/c/9e0a3f642e607848669235f5069f35640abbfc88 https://git.kernel.org/stable/c/42d758a09d2c46c42357ecde9a5492f015bde2e5 https://git.kernel.org/stable/c/52adb2dff7ce3d8430e2bdc5988b618a430def85 https://git.kernel.org/stable/c/278a5659c391fe5afe5f9ce1bad1fd24e90144f1 https://git.kernel.org/stable/c/daedde7f024ecf88bc8e832ed40cf2c795f0796a