
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-38034 is a vulnerability discovered in the Linux kernel's btrfs filesystem component, published on June 18, 2025. The vulnerability affects the order of prelim_ref arguments in the btrfs_prelim_ref function, specifically impacting systems running Linux kernel versions prior to 6.12.32-1 (NVD, Debian Tracker).
The vulnerability stems from an incorrect ordering of old and new reference variables in the btrfs_prelim_ref() function. Specifically, the function calls trace_btrfs_prelim_ref_insert() with newref as oldref and oldref as NULL, which leads to a NULL pointer dereference. This issue can be triggered when tracing is enabled for btrfs prelim_ref events by executing 'echo 1 > /sys/kernel/debug/tracing/events/btrfs/btrfs_prelim_ref_insert/enable' followed by writeback operations (NVD, Wiz).
When exploited, this vulnerability results in a kernel NULL pointer dereference, which can cause system crashes and potential denial of service conditions. The issue manifests during writeback operations when specific tracing is enabled (Wiz).
The vulnerability has been fixed in Linux kernel version 6.12.32-1 and later versions. Systems running Debian distributions have received patches through security updates, with fixed versions available in the sid and trixie releases (Debian Tracker).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."