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 bpftool-debuginfoUpgrade kernel-debuginfoUpgrade kernelUpgrade kernel-headersUpgrade kernel-debuginfo-common-x86_64Upgrade python-perf-debuginfoUpgrade python-perfUpgrade kernel-livepatch-5.10.155-138.670Upgrade kernel-livepatch-5.15.75-48.135Upgrade perf-debuginfoUpgrade kernel-debuginfo-common-aarch64Upgrade perfUpgrade kernel-tools-debuginfoUpgrade kernel-develUpgrade kernel-toolsUpgrade kernel-tools-develUpgrade bpftool | 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-xilinx-zynqmpUpgrade linux-aws-5.4Upgrade linux-oracle-5.15Upgrade linux-raspi-5.4Upgrade linux-oracleUpgrade linux-azureUpgrade linux-lowlatencyUpgrade linux-aws-fipsUpgrade linux-hwe-5.4Upgrade linux-raspiUpgrade linux-nvidiaUpgrade linux-intel-iotgUpgrade linux-realtimeUpgrade linux-lowlatency-hwe-5.15Upgrade linux-bluefieldUpgrade linux-iotUpgrade linux-kvmUpgrade linux-gcp-fipsUpgrade linux-gcp-5.15Upgrade linux-intel-iotg-5.15Upgrade linux-hwe-5.15Upgrade linux-azure-5.15Upgrade linux-aws-5.15Upgrade linux-azure-5.4Upgrade linux-ibmUpgrade linux-fipsUpgrade linux-ibm-5.4Upgrade linuxUpgrade linux-oracle-5.4Upgrade linux-gcpUpgrade linux-gkeopUpgrade linux-gcp-5.4Upgrade linux-riscv-5.15Upgrade linux-gkeUpgrade linux-azure-fipsUpgrade linux-awsUpgrade linux-azure-fde-5.15 | 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