Skip to contentSkip to conversation

CVE-2026-97983: vduse: return compat ioctl results directly

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

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

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

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

vduse: return compat ioctl results directly

The compat handler handles VDUSE_IOTLB_GET_FD and VDUSE_VQ_GET_INFO, but then calls the native handler. Their different command sizes make native dispatch return -ENOIOCTLCMD.

For GET_FD, this overwrites receive_fd()'s return value after the descriptor is installed, leaking one fd per call. Return handled compat results directly and use native dispatch only for other commands.

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

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

	Issue introduced in 7.2 with commit 455a2a1af92651764e9eb42cec0d95ac142afc28 and fixed in 7.2.7 with commit 135ac58097fa5fc707bf392c5cececf59e4080c0
	Issue introduced in 7.2 with commit 455a2a1af92651764e9eb42cec0d95ac142afc28 and fixed in 7.3-rc3 with commit 48a4ee65e677559776349128e6a81a6041986c99
	Issue introduced in 7.1.5 with commit 7dd28904c42ee3b0728c0692dd3332c2c83e8f33

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

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_user/vduse_dev.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/135ac58097fa5fc707bf392c5cececf59e4080c0
	https://git.kernel.org/stable/c/48a4ee65e677559776349128e6a81a6041986c99