Skip to contentSkip to conversation

CVE-2026-43248: vhost: move vdpa group bound check to vhost_vdpa

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

vhost: move vdpa group bound check to vhost_vdpa

Remove duplication by consolidating these here. This reduces the posibility of a parent driver missing them.

While we're at it, fix a bug in vdpa_sim where a valid ASID can be assigned to a group equal to ngroups, causing an out of bound write.

The Linux kernel CVE team has assigned CVE-2026-43248 to this issue.

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

	Issue introduced in 5.19 with commit bda324fd037a6b0d44da5699574ce741ca161bc4 and fixed in 6.12.75 with commit ddb57354634b6ba851b79da45f1de42c646f27d0
	Issue introduced in 5.19 with commit bda324fd037a6b0d44da5699574ce741ca161bc4 and fixed in 6.18.16 with commit 7441d35d14d9a3d66d925d90cb73c75394e6d454
	Issue introduced in 5.19 with commit bda324fd037a6b0d44da5699574ce741ca161bc4 and fixed in 6.19.6 with commit 406db68f9cb976a8ddfafd631197264f2307e9c9
	Issue introduced in 5.19 with commit bda324fd037a6b0d44da5699574ce741ca161bc4 and fixed in 7.0 with commit cd025c1e876b4e262e71398236a1550486a73ede

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-43248

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/mlx5/net/mlx5_vnet.c
drivers/vdpa/vdpa_sim/vdpa_sim.c
drivers/vhost/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/ddb57354634b6ba851b79da45f1de42c646f27d0
	https://git.kernel.org/stable/c/7441d35d14d9a3d66d925d90cb73c75394e6d454
	https://git.kernel.org/stable/c/406db68f9cb976a8ddfafd631197264f2307e9c9
	https://git.kernel.org/stable/c/cd025c1e876b4e262e71398236a1550486a73ede