CVE-2025-38677

Description

A flaw was found in the Flash-Friendly File System (F2FS) component of the Linux kernel. A local user can trigger an out-of-bounds memory access by mounting a specially crafted, corrupted file system image with conflicting node identifiers. This flaw causes the kernel to read beyond allocated memory during file write operations, resulting in a system crash and Denial of Service (DoS).

Statement

This vulnerability does not present an operational security risk to Red Hat Enterprise Linux because the Flash-Friendly File System (F2FS) is neither enabled nor built in supported enterprise kernels. Exploiting this flaw requires mounting a specially crafted, corrupted file system image to trigger out-of-bounds memory access during direct node processing. Consequently, standard Red Hat kernel deployments are unaffected by this issue.

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

An attacker could get secret values such as cryptographic keys, PII, memory addresses, or other information that could be used in additional attacks.

Confidentiality

Technical Impact: Bypass Protection Mechanism

Out-of-bounds memory could contain memory addresses or other information that can be used to bypass ASLR and other protection mechanisms in order to improve the reliability of exploiting a separate weakness for code execution.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

An attacker could cause a segmentation fault or crash by causing memory to be read outside of the bounds of the buffer. This is especially likely when the code reads a variable amount of data and assumes that a sentinel exists to stop the read operation, such as a NUL in a string.

Other

Technical Impact: Varies by Context

The read operation could produce other undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.