CVE-2023-54031 vdpa: Add queue index attr to vdpa_nl_policy for nlattr length check

Not scored Published Updated

A missing netlink policy check in the Linux kernel VDPA subsystem allows local attackers to trigger out-of-bounds reads, potentially causing information disclosure or crashes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-54031?

CVE-2023-54031 is a memory corruption vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2023-54031?

How do I fix CVE-2023-54031?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-54031 being exploited?

There is no known exploitation of CVE-2023-54031 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2023-54031, DEBIAN-CVE-2023-54031, GHSA-8vph-jw2x-79f2, UBUNTU-CVE-2023-54031.

Is CVE-2023-54031 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free