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