Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2AD4626E6F6 for ; Sat, 4 Oct 2025 15:18:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759591080; cv=none; b=OQf9swsW9mg8UKilgKO9y1/VJ12rnaIbHwdoHmw5UIgXGVTlYfQj/SJNA5LFxPBsUT8II/iCqYKihenZ6EB8r/3d80iEiDIslur5HGBi8GBgHpySUHIk8CEcSyXAo5vZhFsAVDVdR3gwpe3VfOxVvC1U5/FxFXaxU81WOfiFnUA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759591080; c=relaxed/simple; bh=NAWFIP6FZ1oP8OqoJIe4O6mVvDQoWBxhYnprjQXDyN8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Klk6NLrhknqeVFTUYuKaBoFG2nDHrWBSI73yXd3KjmoBBXAtDcFZFc6S+zSxbDIY33gjabwDVGc9N4MKfnVUa1HR/1byLhMVmCp2MJHtgBa9gXqx60XLyZIop5NX5iQKCjopkkx8mJYCMCB8c7Ni7UeQPjII1gPy1zOJncfnXxc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YUJ3jKPB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YUJ3jKPB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3E6BC4CEF1; Sat, 4 Oct 2025 15:17:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759591080; bh=NAWFIP6FZ1oP8OqoJIe4O6mVvDQoWBxhYnprjQXDyN8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=YUJ3jKPBsmJpaHVug94xEU94iDMWRyIKDVo9quZ4hqzkrwx8ZKbftDJaSS0Mx5L3/ UK5xv6v1QbRB/A/itGDgYK452Fc0n7uXi8ecKdUA/jlf6ux6lXD1HE4l6cjgm3vAc3 GcBfvb2KYH5jBLiZJbyWG5lpeFe17PGqFgiXj8nU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53543: vdpa: Add max vqp attr to vdpa_nl_policy for nlattr length check Date: Sat, 4 Oct 2025 17:16:57 +0200 Message-ID: <2025100445-CVE-2023-53543-227c@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2467; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AanfXaGrKXgpz+EZjXsL8vghytk/XGUtFKNiLXQYTzc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPrWJXR9ru419dUTf/R5Kdar61+q63r49X8cks5Lgiv oyzK9mkI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbC85dhfpVuAdvxUj3lUNGC h1wd8z9OvpPIwjDfddWF3szkl0kKp33u6qxpu77aZ4YNAA== 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: Add max vqp attr to vdpa_nl_policy for nlattr length check The vdpa_nl_policy structure is used to validate the nlattr when parsing the incoming nlmsg. It will ensure the attribute being described produces a valid nlattr pointer in info->attrs before entering into each handler in vdpa_nl_ops. That is to say, the missing part in vdpa_nl_policy may lead to illegal nlattr after parsing, which could lead to OOB read just like CVE-2023-3773. This patch adds the missing nla_policy for vdpa max vqp attr to avoid such bugs. The Linux kernel CVE team has assigned CVE-2023-53543 to this issue. Affected and fixed versions =========================== Issue introduced in 5.16 with commit ad69dd0bf26b88ec6ab26f8bbe5cd74fbed7672a and fixed in 6.1.47 with commit ff71709445ac033e6e250d971683110e4781c068 Issue introduced in 5.16 with commit ad69dd0bf26b88ec6ab26f8bbe5cd74fbed7672a and fixed in 6.4.12 with commit ea65e8b5e6b1a34deda7564f09c90e9e80db436a Issue introduced in 5.16 with commit ad69dd0bf26b88ec6ab26f8bbe5cd74fbed7672a and fixed in 6.5 with commit 5d6ba607d6cb5c58a4ddf33381e18c83dbb4098f 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-2023-53543 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 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/ff71709445ac033e6e250d971683110e4781c068 https://git.kernel.org/stable/c/ea65e8b5e6b1a34deda7564f09c90e9e80db436a https://git.kernel.org/stable/c/5d6ba607d6cb5c58a4ddf33381e18c83dbb4098f