Menu

Star on GitHub · 3.3k

CVE-2025-68359

9.8 · CRITICAL

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix double free of qgroup record after failure to add delayed ref head In the previous code it was possible to incur int…

Published Dec 24, 2025EPSS 0.55%

Overview

CVE-2025-68359 is a critical-severity vulnerability. It was published on December 24, 2025 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: fix double free of qgroup record after failure to add delayed ref head

In the previous code it was possible to incur into a double kfree()

scenario when calling add_delayed_ref_head(). This could happen if the

record was reported to already exist in the

btrfs_qgroup_trace_extent_nolock() call, but then there was an error

later on add_delayed_ref_head(). In this case, since

add_delayed_ref_head() returned an error, the caller went to free the

record. Since add_delayed_ref_head() couldn't set this kfree'd pointer

to NULL, then kfree() would have acted on a non-NULL 'record' object

which was pointing to memory already freed by the callee.

The problem comes from the fact that the responsibility to kfree the

object is on both the caller and the callee at the same time. Hence, the

fix for this is to shift the ownership of the 'qrecord' object out of

the add_delayed_ref_head(). That is, we will never attempt to kfre

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-68359?

CVE-2025-68359 is a critical-severity vulnerability. It was published on December 24, 2025 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2025-68359?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-68359?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-68359?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-68359 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related CRITICAL CVEs from 2025

View all
LiveWatch live →