CVE-2025-40047
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-40047 is a vulnerability discovered in the Linux kernel's iouring subsystem, specifically in the iowaitid_wait() function. The vulnerability was disclosed on October 28, 2025, affecting various Linux kernel versions. The issue involves a race condition that occurs when handling wait queue entries during cancellation processes (NVD, RedHat).

Technical details

The vulnerability exists in the iouring/waitid functionality where the wait queue entry is not properly pruned in iowaitid_wait(). The issue occurs when a cancellation is in progress, which can lead to a race condition with another invocation of the wait queue entry callback. The vulnerability has been assigned a CVSS v3.1 score of 7.0, indicating moderate severity (RedHat).

Impact

The vulnerability affects multiple versions of Red Hat Enterprise Linux, including RHEL 10 and RHEL 9, as well as their kernel-rt variants. The issue could potentially lead to system instability or security implications due to the race condition in the kernel's wait queue handling (RedHat).

Mitigation and workarounds

The vulnerability has been resolved in the Linux kernel by modifying the iowaitidwait() function to always remove the entry from the wait queue entry list for a successful return, regardless of whether a cancellation is in progress (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40085N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-whitelists
NoNoOct 29, 2025
CVE-2025-40083N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-internal
NoYesOct 29, 2025
CVE-2023-7324N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesOct 29, 2025
CVE-2025-40082N/AN/A
  • Linux KernelLinux Kernel
  • linux-fips
NoNoOct 28, 2025
CVE-2025-40081N/AN/A
  • Linux KernelLinux Kernel
  • kernel-selftests-internal
NoNoOct 28, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management