Skip to contentSkip to conversation

CVE-2026-72306: vduse: Fix race in vduse_dev_msg_sync and vduse_dev_read_iter

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

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: Fix race in vduse_dev_msg_sync and vduse_dev_read_iter

There is one race case in vduse_dev_msg_sync and vduse_dev_read_iter:

vduse_dev_read_iter():

    lock(msg_lock);
    dequeue_msg(send_list);
    unlock(msg_lock);
vduse_dev_msg_sync():
    wait_timeout() finish
    lock(msg_lock);
    check msg->complete is false
        list_del(msg);   <- double list_del() crash!

To fix this case, we shall ensure vduse_msg is on send_list or recv_list outside the msg_lock critical section.

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

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

	Issue introduced in 5.15 with commit c8a6153b6c59d95c0e091f053f6f180952ade91e and fixed in 5.15.212 with commit c83ad3dfa6d9953d5ce6839416bf5a1bfc50285a
	Issue introduced in 5.15 with commit c8a6153b6c59d95c0e091f053f6f180952ade91e and fixed in 6.1.178 with commit 09723f26ed801c083e914cec4cc0e1af4b933dc7
	Issue introduced in 5.15 with commit c8a6153b6c59d95c0e091f053f6f180952ade91e and fixed in 6.6.145 with commit d7e7c813834c6c05c26033456ab7169e2f9c99eb
	Issue introduced in 5.15 with commit c8a6153b6c59d95c0e091f053f6f180952ade91e and fixed in 6.12.97 with commit 3755965adbb617f4283ac6ccd351ed0676843cba
	Issue introduced in 5.15 with commit c8a6153b6c59d95c0e091f053f6f180952ade91e and fixed in 6.18.40 with commit d8715b5a8fdb23fef576700e71d0c253dbeddad4
	Issue introduced in 5.15 with commit c8a6153b6c59d95c0e091f053f6f180952ade91e and fixed in 7.1.5 with commit 8062ff9d366c4bc4ae775e14eac9a769f20c60dd
	Issue introduced in 5.15 with commit c8a6153b6c59d95c0e091f053f6f180952ade91e and fixed in 7.2-rc1 with commit ae9c13b6fd79087cc5a216ee1649b6f012c2a238

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

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/c83ad3dfa6d9953d5ce6839416bf5a1bfc50285a
	https://git.kernel.org/stable/c/09723f26ed801c083e914cec4cc0e1af4b933dc7
	https://git.kernel.org/stable/c/d7e7c813834c6c05c26033456ab7169e2f9c99eb
	https://git.kernel.org/stable/c/3755965adbb617f4283ac6ccd351ed0676843cba
	https://git.kernel.org/stable/c/d8715b5a8fdb23fef576700e71d0c253dbeddad4
	https://git.kernel.org/stable/c/8062ff9d366c4bc4ae775e14eac9a769f20c60dd
	https://git.kernel.org/stable/c/ae9c13b6fd79087cc5a216ee1649b6f012c2a238