lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025122437-CVE-2023-54031-90af@gregkh>
Date: Wed, 24 Dec 2025 11:57:15 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-54031: vdpa: Add queue index attr to vdpa_nl_policy for nlattr length check

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

vdpa: Add queue index 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 queue index attr to avoid
such bugs.

The Linux kernel CVE team has assigned CVE-2023-54031 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.19 with commit 13b00b135665c92065a27c0c39dd97e0f380bd4f and fixed in 6.1.47 with commit 8ad9bc25cbdcec72e7ca43dd8281decb69ea9a70
	Issue introduced in 5.19 with commit 13b00b135665c92065a27c0c39dd97e0f380bd4f and fixed in 6.4.12 with commit ccb533b7070aeeb65c66ea5d590e9c62421dcd61
	Issue introduced in 5.19 with commit 13b00b135665c92065a27c0c39dd97e0f380bd4f and fixed in 6.5 with commit b3003e1b54e057f5f3124e437b80c3bef26ed3fe

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-54031
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/8ad9bc25cbdcec72e7ca43dd8281decb69ea9a70
	https://git.kernel.org/stable/c/ccb533b7070aeeb65c66ea5d590e9c62421dcd61
	https://git.kernel.org/stable/c/b3003e1b54e057f5f3124e437b80c3bef26ed3fe

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ