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 AA1F72E425E for ; Tue, 7 Oct 2025 15:22:12 +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=1759850532; cv=none; b=KHJvKDyTKbFNbKiahvYu6mygMS+9OCCFg/zna0Lcb6XCyzLAiRKtqUYR5WYEgxsogQ7EJYAojqS9cMKcnv2Xzr2ekNnqV8GQilLTB9GY1VlcniG+nByp3zTpodqScT07CmgtneDQwlyYGjoJoaqA6DKrJcqSpGzZ0mOmbHCl8i8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759850532; c=relaxed/simple; bh=ADUDvcahW3Y8DcjaJFc+HaOGDgy9x9VlOjd5M6gMtOM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QqNTR70WcD0hWoGWGmEBRrNXHIMvouN9YRuhIjsIvmcM9nkDGweP1+up9wa717mkL0VVKEK7GeBD+UCIJuO8bhEhXDQLgKXi5NYr1kMNRlITKeqit3YyRiC1zTmUJmIPm6J9/u5GRWExgl010p+4hyUx1UVN0rRuWG8j4OsOHaY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wKUayFE9; 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="wKUayFE9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 370F7C4CEF7; Tue, 7 Oct 2025 15:22:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759850532; bh=ADUDvcahW3Y8DcjaJFc+HaOGDgy9x9VlOjd5M6gMtOM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wKUayFE9crGf2h8C5p6HwguAHO1YEBhme13drSzwXGtTlwdklMZuLQYsAeZrhObys ++cvX+syJSQk5ruLxzgLnvT6nFdZ7NZ7ln+vZUbZT7BaIYJdKKds+Ex4e5xktOKN+B xq71FJY+CcwQC3IM00pjrxPZ7uqAyDXgJ1XkirTo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53652: vdpa: Add features attr to vdpa_nl_policy for nlattr length check Date: Tue, 7 Oct 2025 17:19:57 +0200 Message-ID: <2025100719-CVE-2023-53652-d67a@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=2466; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=14kVApebaiUyjyMHpcSI0VPlYl5iXoiUxXfd3QpXMZk=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlP9cu3NiQWKNRcbrx6Y0bgycdrI1SuRbRcuS35dtKuH xc8mlb864hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJVIYwLNjRIX/omNIzZW15 VikWRsEoV/uL7xnmKV5aejbVY97/tL5jekJunK2cfm4HAQ== 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 features 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 features attr to avoid such bugs. The Linux kernel CVE team has assigned CVE-2023-53652 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit 90fea5a800c3dd80fb8ad9a02929bcef5fde42b8 and fixed in 6.1.47 with commit 44b508cc96889e61799cc0fc6c00766a54f3ab5a Issue introduced in 6.1 with commit 90fea5a800c3dd80fb8ad9a02929bcef5fde42b8 and fixed in 6.4.12 with commit 645d17e06c502e71b880b2b854930e5a64014640 Issue introduced in 6.1 with commit 90fea5a800c3dd80fb8ad9a02929bcef5fde42b8 and fixed in 6.5 with commit 79c8651587504ba263d2fd67fd4406240fb21f69 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-53652 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/44b508cc96889e61799cc0fc6c00766a54f3ab5a https://git.kernel.org/stable/c/645d17e06c502e71b880b2b854930e5a64014640 https://git.kernel.org/stable/c/79c8651587504ba263d2fd67fd4406240fb21f69