CVE-2024-40952
CBL Mariner vulnerability analysis and mitigation

Overview

CVE-2024-40952 affects the Linux kernel's OCFS2 filesystem implementation. The vulnerability was discovered when bdev->bd_super was removed and replaced with b_assoc_map->host->i_sb in commit 8887b94d9322, introducing a NULL pointer dereference in ocfs2_journal_dirty() since b_assoc_map was not initialized. This issue can be reproduced by running xfstests generic/186, which simulates no more credits (NVD).

Technical details

The vulnerability is a NULL pointer dereference (CWE-476) in the OCFS2 filesystem's journal handling code. The issue occurs in the ocfs2_journal_dirty() function when attempting to access b_assoc_map->host->i_sb while b_assoc_map is not initialized. The vulnerability has a CVSS v3.1 Base Score of 5.5 (MEDIUM) with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When triggered, the vulnerability causes a kernel NULL pointer dereference that results in a system crash, leading to a denial of service condition (NVD).

Exploitability

The vulnerability can be triggered locally by running xfstests generic/186, which simulates a condition where no more journal credits are available. The exploit requires local access and low privileges (Kernel Patch).

Mitigation and workarounds

The issue has been fixed in the Linux kernel by modifying ocfs2_journal_dirty() to only abort the transaction and journal, while deferring the ocfs2_abort() call until an aborted handle is detected. The fix also includes improved logging of handle details (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related CBL Mariner vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel-core
NoYesAug 13, 2026
CVE-2026-73500HIGH8.7
  • etcd logoetcd
  • cloud-provider-aws
NoYesAug 12, 2026
CVE-2026-72817MEDIUM6.9
  • CBL Mariner logoCBL Mariner
  • golang-github-go-chi-chi
NoYesAug 14, 2026
CVE-2026-72816MEDIUM6.9
  • CBL Mariner logoCBL Mariner
  • golang-github-go-chi-chi
NoYesAug 14, 2026
CVE-2026-68450LOW1.9
  • Linux Kernel logoLinux Kernel
  • kernel-abi-stablelists
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management