CVE-2025-38577

Description

A flaw was found in the Linux kernel's Flash-Friendly File System (F2FS). A race condition during inode cleanup operations in the f2fs_evict_inode function can lead to a use-after-free condition. A local attacker could exploit this flaw to cause a kernel crash, resulting in a Denial of Service (DoS).

Statement

This flaw presents no security risk to Red Hat Enterprise Linux as the Flash-Friendly File System (F2FS) is not enabled or compiled in supported kernel builds. The underlying issue involves a race condition leading to a use-after-free and system crash during inode cleanup in f2fs. Because the vulnerable filesystem driver is not included in shipped distributions, standard enterprise deployments 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

Want to get errata notifications? Sign up here.