CVE Database›CVE-2025-40047

CVE-2025-40047

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

Loading…

Severity

Moderate

Red Hat Product Security

7.8

CVSS 3.1

Review impact separately from score.

Published · October 28, 2025

Updated · July 30, 2026

Description

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.

Statement

io_waitid_wait() didn’t always prune the wait-queue entry on success when a cancellation was in progress, leaving the entry on the list and racing with another callback, which could lead to double callbacks and list corruption (potential UAF). The IO_URING enabled only in latest versions of Red Hat Enterprise Linux (from 9.3).

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-662 · Improper Synchronization