CVE-2024-40951
CBL Mariner vulnerability analysis and mitigation

Overview

CVE-2024-40951 affects the Linux kernel's OCFS2 filesystem implementation. The vulnerability was discovered when bdev->bd_super was removed and commit 8887b94d9322 changed the usage from bdev->bd_super to b_assoc_map->host->i_sb. Since OCFS2 hasn't set bh->b_assoc_map, it triggers a NULL pointer dereference when calling into ocfs2_abort_trigger() (Kernel Patch).

Technical details

The vulnerability is a NULL pointer dereference issue in the OCFS2 filesystem code. The problem occurs in the ocfs2_abort_trigger() function where bh->b_assoc_map->host->i_sb is accessed without proper NULL checks. This was introduced as a regression when the code was changed to stop using bdev->bd_super for journal error logging. The CVSS v3.1 base score is 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 exploited, this vulnerability can cause a denial of service condition through a kernel crash due to the NULL pointer dereference. The issue affects systems running Linux kernel versions from 6.6 up to (excluding) 6.6.36, versions from 6.7 up to (excluding) 6.9.7, and release candidates 6.10-rc1 through 6.10-rc4 (NVD).

Exploitability

The vulnerability requires local access and low privileges to exploit. It can be triggered through normal filesystem operations when using the OCFS2 filesystem with certain configurations (NVD).

Mitigation and workarounds

The issue has been fixed in Linux kernel versions 6.6.36, 6.9.7, and later. The fix involves initializing all types of OCFS2 triggers when filling the superblock, and then getting the specific OCFS2 trigger from ocfs2_caching_info when accessing the journal (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-64k-debug-devel
NoYesAug 13, 2026
CVE-2026-73500HIGH8.7
  • etcd logoetcd
  • cert-manager-1.19
NoYesAug 12, 2026
CVE-2026-72817MEDIUM6.9
  • CBL Mariner logoCBL Mariner
  • osbuild-composer
NoYesAug 14, 2026
CVE-2026-72816MEDIUM6.9
  • CBL Mariner logoCBL Mariner
  • osbuild-composer
NoYesAug 14, 2026
CVE-2026-68450LOW1.9
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
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