Menu

Star on GitHub · 3.2k

CVE-2025-39759

7.0 · HIGH

In the Linux kernel, the following vulnerability has been resolved: btrfs: qgroup: fix race between quota disable and quota rescan ioctl There's a race between a task disabling quotas and another…

Published Sep 11, 2025CWE-362EPSS 0.12%

Overview

CVE-2025-39759 is a high-severity vulnerability. It was published on September 11, 2025 and has a CVSS 3.1 base score of 7.0 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.0, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

btrfs: qgroup: fix race between quota disable and quota rescan ioctl

There's a race between a task disabling quotas and another running the

rescan ioctl that can result in a use-after-free of qgroup records from

the fs_info->qgroup_tree rbtree.

This happens as follows:

1) Task A enters btrfs_ioctl_quota_rescan() -> btrfs_qgroup_rescan();

2) Task B enters btrfs_quota_disable() and calls

btrfs_qgroup_wait_for_completion(), which does nothing because at that

point fs_info->qgroup_rescan_running is false (it wasn't set yet by

task A);

3) Task B calls btrfs_free_qgroup_config() which starts freeing qgroups

from fs_info->qgroup_tree without taking the lock fs_info->qgroup_lock;

4) Task A enters qgroup_rescan_zero_tracking() which starts iterating

the fs_info->qgroup_tree tree while holding fs_info->qgroup_lock,

but task B is freeing qgroup records from that tree without holding

the lock, resulting

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-39759?

CVE-2025-39759 is a high-severity vulnerability. It was published on September 11, 2025 and has a CVSS 3.1 base score of 7.0 (HIGH).

How severe is CVE-2025-39759?

This vulnerability has a CVSS 3.1 base score of 7.0, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

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

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-39759?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-39759 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 HIGH CVEs from 2025

View all