CVE-2025-68359
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-68359 is a double-free vulnerability in the Linux kernel's Btrfs filesystem subsystem, specifically in the handling of qgroup records during delayed reference head operations. The flaw was disclosed on December 24, 2025, and affects the Linux kernel where Btrfs quota groups (qgroups) are in use. It carries a CVSS v3.1 base score of 5.5 (Medium), requiring local access with low privileges (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is a double-free memory corruption bug (CWE-415) in the add_delayed_ref_head() function within the Btrfs subsystem. The vulnerability arises when btrfs_qgroup_trace_extent_nolock() reports that a qgroup record already exists, but a subsequent error occurs in add_delayed_ref_head(). In this scenario, both the callee and the caller attempt to kfree() the same qrecord object — the callee frees it internally, and the caller then frees the now-dangling non-NULL pointer. The fix shifts ownership of the qrecord object exclusively to the caller, ensuring add_delayed_ref_head() never frees the object internally, and properly initializes the qrecord_inserted_ret boolean at function entry to prevent invalid values on early exits (Red Hat Bugzilla, Upstream Advisory).

Impact

Successful exploitation of this vulnerability can cause a kernel crash or system instability due to double-free memory corruption, resulting in a denial of service (availability impact: High). There is no confidentiality or integrity impact identified. The vulnerability is limited in scope to the local system and requires the Btrfs qgroup feature to be active, reducing the breadth of affected deployments (Red Hat Advisory, Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability has been patched in the upstream Linux kernel via commits to the stable tree (e.g., 725e46298876, 364685c4c2d9, 7617680769e3). Users should update to a patched kernel version that includes the fix for add_delayed_ref_head() ownership semantics. As a workaround, disabling Btrfs qgroup tracking (if not required) can eliminate the vulnerable code path. Red Hat has tracked this as low severity and low priority (Red Hat Bugzilla, Red Hat Advisory).

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-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 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