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 E0B62330315 for ; Wed, 24 Jun 2026 16:41:00 +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=1782319261; cv=none; b=G9NH3nGMCb26SXyo6rnOVzjxSBRaZEu4j4bpVwVW0J6ytwsBalCKvpVW9ar06gk7U2ANuqjzgPLFlAZvngPD8VD3iO3NtutRkCnqGmybtWRcx5HSyBlUcsLrBtzq2BUy6tR3eSq8C5/NPAX7URtCL31PFQHQkQ6v8NE0Bi/Le5c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319261; c=relaxed/simple; bh=IE976Dl9N8XH5d12sQ3CjwZbmhj5pGPzz2GUmxdrTnA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TGBYlmlFh7TqnHZkgLSLN5+HcnLuL4nDpaH4Ra+jNzFc8xv+rYZQC4vtXML7fBqQLdC/E3zXWEDiciVARoH9es3q4cUEHMsj+FQ2cCBdLNiJqGA4gM5XCVfq/nV+0RME89aK1QIGBliPRWirU1qchi64wzFQRmWKUQESZXwWIiM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uT+pbi6V; 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="uT+pbi6V" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 299141F000E9; Wed, 24 Jun 2026 16:40:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782319260; bh=ibCef+GTNc/nG/yV6+l2O+9a14ms8PR81CCnNvYZ/UY=; h=From:To:Cc:Subject:Date:Reply-To; b=uT+pbi6VGGuxVn23RiurFTDqfG6NX8X5hnDtR1SbrrrUSnn4CiErzmLxuEnAx4MEa AaLx1u+wKlYNucp/LWaqKtZQLMOyQd10LzncoTXkE1K0FQOzcPr0shFIm6t9S1Fvp/ 6yrxmpg6lLKn1lqocl/nWAEkNgTY9IeBDFKwr84I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53118: vdpa: use generic driver_override infrastructure Date: Wed, 24 Jun 2026 17:32:22 +0100 Message-ID: <2026062415-CVE-2026-53118-a02a@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=2413; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pbqihf0W6XbzQU3ud2NPKmF9BJSie0HIYUaARzpbOMY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2bBKTZvqaMO/qTdw9e9+X9JnnFtQYuXv9/OhseUJ/2 UzjdZV7O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiToEM8929REO5szf4b8xQ f3r8p+3T7VbN8xgW3Jy39evcrN/z8k+xSyVk2X2dJTEhHAA= 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: vdpa: use generic driver_override infrastructure When a driver is probed through __driver_attach(), the bus' match() callback is called without the device lock held, thus accessing the driver_override field without a lock, which can cause a UAF. Fix this by using the driver-core driver_override infrastructure taking care of proper locking internally. Note that calling match() from __driver_attach() without the device lock held is intentional. [1] The Linux kernel CVE team has assigned CVE-2026-53118 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit 539fec78edb4e084e7c532affc56cc42d4ceea4b and fixed in 6.18.33 with commit 654ef9c33e138ede6734ac286282df9faf83cd11 Issue introduced in 5.17 with commit 539fec78edb4e084e7c532affc56cc42d4ceea4b and fixed in 7.0.10 with commit fb5cb4913ce333cc4647722e8c2b8378e12f2464 Issue introduced in 5.17 with commit 539fec78edb4e084e7c532affc56cc42d4ceea4b and fixed in 7.1 with commit 85bb534ff12aab6916058897b39c748940a7a4c6 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-53118 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/vdpa/vdpa.c include/linux/vdpa.h 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/654ef9c33e138ede6734ac286282df9faf83cd11 https://git.kernel.org/stable/c/fb5cb4913ce333cc4647722e8c2b8378e12f2464 https://git.kernel.org/stable/c/85bb534ff12aab6916058897b39c748940a7a4c6