CVE-2025-38652
Description
A flaw was found in the Linux kernel's Flash-Friendly File System (F2FS). A local user can trigger an out-of-bounds read by mounting a volume with a device path that reaches the maximum buffer limit, leaving the path string without null termination. This issue can cause a Denial of Service (DoS) through a system crash or lead to information disclosure of adjacent kernel memory.
Statement
This vulnerability poses no risk to Red Hat Enterprise Linux as the Flash-Friendly File System (F2FS) is not enabled or supported in Red Hat kernels. In upstream Linux environments, local users could potentially trigger an out-of-bounds read leading to system instability or memory disclosure when mounting a multi-device volume with a device path that reaches the maximum buffer limit. Because the required file system code is not included in supported Red Hat Enterprise Linux distributions, standard installations are not exposed to this flaw.
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
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.