CVE-2024-53130
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel's NILFS2 file system implementation has been identified as CVE-2024-53130. The issue was discovered in the blockdirtybuffer tracepoint functionality, where markbufferdirty() could cause a NULL pointer dereference or a general protection fault when KASAN (Kernel Address Sanitizer) is enabled (NVD). The vulnerability affects Linux kernel versions from 3.9 up to (excluding) 6.1.119, from 6.6.0 up to (excluding) 6.6.63, and from 6.11.0 up to (excluding) 6.11.10.

Technical details

The vulnerability occurs because the tracepoint added in markbufferdirty() references the devt member bh->bbdev->bddev regardless of whether the buffer head has a pointer to a blockdevice structure. In the nilfsgrabbuffer() implementation, the block device is only set if the buffer is not in the "uptodate" state. When the uptodate flag is set on a folio/page and buffer heads are detached and reattached, the uptodate flag may be restored without setting bh->b_bdev, leading to the vulnerability (Kernel Patch). The vulnerability has been assigned 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 exploited, this vulnerability can cause a NULL pointer dereference or a general protection fault in the Linux kernel when using the NILFS2 file system with the block:blockdirtybuffer tracepoint enabled. This can lead to a denial of service condition, potentially affecting system stability and availability (NVD).

Mitigation and workarounds

The vulnerability has been fixed by modifying nilfsgrabbuffer() to always set the block device of the super block structure to the buffer head, regardless of the buffer's uptodate flag state. The fix has been implemented in various kernel versions, including 5.10.234-1 for Debian 11 and 6.1.119-1~deb11u1 for backported kernels (Debian Security). Users are advised to upgrade their systems to the patched versions.

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 2025

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