CVE-2024-41067
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-41067 is a vulnerability in the Linux kernel's BTRFS file system scrub functionality. The issue was discovered when running btrfs/060 test with forced RST (RAID Stripe Tree) feature, which would cause a crash due to an ASSERT() failure inside the scrub_read_endio() function. The vulnerability was disclosed in July 2024 and affects the BTRFS subsystem in the Linux kernel (Kernel Git).

Technical details

The vulnerability occurs in the scrub_submit_extent_sector_read() function where a new bbio (BTRFS bio) is allocated and btrfs_map_block() is called to verify RST range coverage. If btrfs_map_block() fails, it immediately calls endio for the empty bbio. In scrub_read_endio(), the code attempts to find the sector number through bvecs iteration, but since the bio is empty, it returns sector_nr == stripe->nr_sectors, triggering an ASSERT(sector_nr < stripe->nr_sectors) failure. Additionally, there was a race condition where if the submission thread is the only owner of pending_io, the scrub would never complete due to the pending_io counter not being decreased (Kernel Git).

Impact

The vulnerability can cause system crashes when performing BTRFS scrub operations with the RST feature enabled. This could lead to system instability and potential denial of service conditions (NVD).

Exploitability

The vulnerability requires local access to the system and the ability to trigger BTRFS scrub operations. It specifically manifests when using the RST (RAID Stripe Tree) feature during file system operations (Kernel Git).

Mitigation and workarounds

The issue has been fixed by modifying the code to call btrfs_map_block() before allocating a new bbio, rather than after. This change prevents the handling of empty bbios and fixes the race condition with the pending_io counter. The fix has been implemented in the Linux kernel, and users should update to a patched version. The patch has been merged into the stable kernel tree (Kernel Git).

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-2026-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74726NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 22, 2026
CVE-2026-74719NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 22, 2026
CVE-2026-74717NONEN/A
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesAug 22, 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