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