All reports
Medium

kernel: io_uring/waitid: always prune wait queue entry in io_waitid_wait()

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-40047

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-20

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring/waitid: always prune wait queue entry in io_waitid_wait() For a successful return, always remove our entry from the wait queue entry list. Previously this was skipped if a cancelation was in progress, but this can race with another invocation of the wait queue entry callback.

A flaw use after free in the Linux kernel IO_URING subsystem was found in the way local user uses io_uring interface (using IORING_OP_WAITID). A local user could use this flaw to crash the system or potentially escalate their privileges on the system.