CVE-2025-38580
Description
A flaw was found in the Linux kernel's ext4 file system. Inconsistent validation during deferred input/output (I/O) completion processing allows a file data structure (inode) to be freed before background conversion work has completed. A local user could exploit this race condition during file operations to cause a use-after-free error, leading to memory corruption, a kernel crash, or Denial of Service (DoS).
Statement
This vulnerability does not impact Red Hat Enterprise Linux as the regressive code change is not present in Red Hat kernels. The flaw stems from improper handling of deferred completion queues within the ext4 file system, creating an asynchronous race condition that could trigger memory corruption or a system crash when handling file system errors. Because the vulnerable commit was introduced in newer upstream releases, supported Red Hat platforms remain unaffected.
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Memory
If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.
Integrity,Confidentiality,Availability
Technical Impact: Execute Unauthorized Code or Commands
If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.