CVE-2022-50442

Description

A flaw was found in the Linux kernel's NTFS3 file system driver. When performing directory operations, the driver does not properly validate the length of returned index buffers. A local user can exploit this vulnerability by mounting or accessing a maliciously crafted file system, triggering an out-of-bounds memory read. This flaw can lead to a system crash, resulting in a Denial of Service (DoS), or the potential disclosure of sensitive kernel memory.

Statement

This vulnerability does not affect Red Hat Enterprise Linux or other supported products because the ntfs3 file system driver is not compiled or included in Red Hat enterprise kernels. Upstream, the issue allows an out-of-bounds read during index buffer parsing when mounting or accessing a corrupted or malicious file system. Because the affected driver code is completely absent from Red Hat distributions, supported systems are not exposed to this risk.

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.