In the Linux kernel, the following vulnerability has been resolved:
btrfs: fix race between quota enable and quota rescan ioctl
When enabling quotas, at btrfs_quota_enable(), after committing the transaction, we change fs_info->quota_root to point to the quota root we created and set BTRFS_FS_QUOTA_ENABLED at fs_info->flags. Then we try to start the qgroup rescan worker, first by initializing it with a call to qgroup_rescan_init() - however if that fails we end up freeing the quota root but we leave fs_info->quota_root still pointing to it, this can later result in a use-after-free somewhere else.
We have previously set the flags BTRFS_FS_QUOTA_ENABLED and BTRFS_QGROUP_STATUS_FLAG_ON, so we can only fail with -EINPROGRESS at btrfs_quota_enable(), which is possible if someone already called the quota rescan ioctl, and therefore started the rescan worker.
So fix this by ignoring an -EINPROGRESS and asserting we can't get any other error.
CVSS Details
- CVSS 3.1 Base Score: 4.7
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade kernel-debuginfoUpgrade python-perf-debuginfoUpgrade kernelUpgrade bpftool-debuginfoUpgrade python-perfUpgrade kernel-headersUpgrade kernel-debuginfo-common-x86_64Upgrade perfUpgrade bpftoolUpgrade kernel-livepatch-5.15.75-48.135Upgrade kernel-livepatch-5.10.155-138.670Upgrade kernel-tools-develUpgrade kernel-toolsUpgrade kernel-tools-debuginfoUpgrade perf-debuginfoUpgrade kernel-develUpgrade kernel-debuginfo-common-aarch64 | May 20, 2026 | May 20, 2026 |
| Debian | — | Upgrade linux | Sep 22, 2025 | Sep 22, 2025 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Sep 18, 2025 |
| Ubuntu | — | Upgrade linux-aws-5.15Upgrade linux-bluefieldUpgrade linux-xilinx-zynqmpUpgrade linux-intel-iotg-5.15Upgrade linux-aws-fipsUpgrade linux-kvmUpgrade linux-gcp-5.15Upgrade linux-gcp-fipsUpgrade linux-oracle-5.15Upgrade linux-raspiUpgrade linux-realtimeUpgrade linux-aws-5.4Upgrade linux-iotUpgrade linux-nvidiaUpgrade linux-azure-5.15Upgrade linux-oracleUpgrade linux-azureUpgrade linux-hwe-5.15Upgrade linux-lowlatencyUpgrade linux-intel-iotgUpgrade linux-ibmUpgrade linux-hwe-5.4Upgrade linux-lowlatency-hwe-5.15Upgrade linux-azure-5.4Upgrade linux-raspi-5.4Upgrade linux-fipsUpgrade linux-gcpUpgrade linux-riscv-5.15Upgrade linux-azure-fipsUpgrade linux-awsUpgrade linux-azure-fde-5.15Upgrade linux-gkeopUpgrade linux-gcp-5.4Upgrade linuxUpgrade linux-oracle-5.4Upgrade linux-ibm-5.4Upgrade linux-gke | Sep 26, 2025 | Sep 18, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Oct 15, 2025 | Sep 18, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub