All reports
Medium

kernel: vduse: hold vduse_lock across IDR lookup in open path

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-74313

Probability of exploitation in the next 30 days: 0.13%

FIRST EPSS · 2026-11-24

Description

In the Linux kernel, the following vulnerability has been resolved: vduse: hold vduse_lock across IDR lookup in open path vduse_dev_open() looks up struct vduse_dev through the IDR and then acquires dev->lock only after vduse_lock has been dropped. This leaves a window where a concurrent VDUSE_DESTROY_DEV can remove the same object from the IDR and free it before the open path locks the device, leading to a use-after-free. Close this race by keeping vduse_lock held until dev->lock has been acquired in the open path, matching the lock ordering already used by the destroy path.

A flaw was found in the Linux kernel's vduse component. A race condition in the vduse_dev_open() function allows a memory object to be freed while still in use. This use-after-free vulnerability could enable a local attacker to cause a system crash (denial of service) or potentially execute arbitrary code with elevated privileges.