CVE Database›CVE-2024-40952

CVE-2024-40952

kernel: ocfs2: fix NULL pointer dereference in ocfs2_journal_dirty()

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · July 12, 2024

Updated · November 21, 2025

Description

A NULL pointer dereference vulnerability wqas found in the ocfs2_journal_dirty() function in the Linux kernel's OCFS2 file system. This issue arose after a code change in commit 8887b94d9322, which replaced bdev->bd_super with b_assoc_map->host->i_sb, but failed to initialize b_assoc_map. Consequently, the function would crash if b_assoc_map was NULL.

Statement

Red Hat Enterprise Linux is not impacted by this CVE, as the vulnerability does not affect the specific versions or configurations of the Linux kernel used in its distributions. This ensures that users of Red Hat Enterprise Linux are not exposed to the potential risks associated with this issue and no further action or mitigation is necessary for systems running this operating system.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-476 · NULL Pointer Dereference