CVE-2022-49337

Description

A flaw was found in the Linux kernel's Oracle Cluster File System 2 (OCFS2) distributed lock manager file system (dlmfs). Improper error handling during lock destruction can leave internal lock flags in an inconsistent state when an unlinking operation fails. A local attacker could exploit this issue by triggering lock removal operations on active locks, leading to a use-after-free condition and causing a kernel panic that results in a Denial of Service (DoS).

Statement

Red Hat products are not affected by this vulnerability because the OCFS2 file system and its user-space distributed lock manager (dlmfs) are not enabled or shipped in Red Hat Enterprise Linux kernels. The issue stems from improper lock cleanup during unlinking operations in dlmfs, which could cause a kernel crash on systems where the driver is active. Because the required kernel configuration is disabled across supported Red Hat Enterprise Linux releases, this flaw cannot be triggered.

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands

If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.

Frequently Asked Questions

Want to get errata notifications? Sign up here.