CVE-2022-49425
Description
A flaw was found in the Linux kernel's Flash-Friendly File System (F2FS). A local attacker can cause a Denial of Service (DoS) through a kernel crash or trigger an out-of-bounds memory read by performing specific file system operations. The issue occurs because the segment allocation logic accesses an invalid memory pointer after a list search completes without finding a matching element.
Statement
This vulnerability does not affect Red Hat Enterprise Linux as support for the Flash-Friendly File System (F2FS) is not enabled in supported enterprise kernels. The upstream issue stems from improper handling of stale list iterators within the F2FS segment allocation logic, potentially allowing a local user with filesystem mounting capabilities to cause out-of-bounds memory reads or denial of service. Because Red Hat does not compile or distribute the F2FS kernel module, default enterprise 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.