CVE-2022-49170

Description

A flaw was found in the Flash-Friendly File System (F2FS) in the Linux kernel. A local user capable of mounting file systems can cause a Denial of Service (DoS) by mounting and operating a specially crafted, corrupted file system image. Due to missing sanity checks on segment allocation types, the driver performs an out-of-bounds array access during block allocation, resulting in a system crash.

Statement

Red Hat Enterprise Linux kernels do not enable support for the Flash-Friendly File System (F2FS) in standard enterprise builds, leaving default configurations unaffected by this vulnerability. Exploitation requires mounting a specially crafted or corrupted filesystem image, an action that typically necessitates local administrative privileges. Consequently, this flaw does not present an operational security risk to supported Red Hat environments.

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.