In the Linux kernel, the following vulnerability has been resolved:
btrfs: do not BUG_ON() on ENOMEM when dropping extent items for a range
If we get -ENOMEM while dropping file extent items in a given range, at btrfs_drop_extents(), due to failure to allocate memory when attempting to increment the reference count for an extent or drop the reference count, we handle it with a BUG_ON(). This is excessive, instead we can simply abort the transaction and return the error to the caller. In fact most callers of btrfs_drop_extents(), directly or indirectly, already abort the transaction if btrfs_drop_extents() returns any error.
Also, we already have error paths at btrfs_drop_extents() that may return -ENOMEM and in those cases we abort the transaction, like for example anything that changes the b+tree may return -ENOMEM due to a failure to allocate a new extent buffer when COWing an existing extent buffer, such as a call to btrfs_duplicate_item() for example.
So replace the BUG_ON() calls with proper logic to abort the transaction and return the error.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/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-headersUpgrade python-perf-debuginfoUpgrade kernel-toolsUpgrade kernel-debuginfo-common-x86_64Upgrade python-perfUpgrade kernel-tools-develUpgrade kernel-debuginfoUpgrade bpftoolUpgrade kernel-develUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-tools-debuginfoUpgrade kernel-livepatch-5.15.86-53.137Upgrade kernelUpgrade perf-debuginfoUpgrade perf | May 20, 2026 | May 20, 2026 |
| Debian | — | Upgrade linux | Dec 23, 2025 | Dec 23, 2025 |
| Redhat_linux | — | No solution exists | Jul 17, 2026 | Sep 15, 2025 |
| Ubuntu | — | Upgrade linux-aws-5.15Upgrade linux-bluefieldUpgrade linux-lowlatency-hwe-5.15Upgrade linuxUpgrade linux-azure-fdeUpgrade linux-nvidia-tegra-5.15Upgrade linux-realtimeUpgrade linux-raspiUpgrade linux-awsUpgrade linux-gkeUpgrade linux-kvmUpgrade linux-intel-iotgUpgrade linux-oracle-5.15Upgrade linux-oracleUpgrade linux-ibmUpgrade linux-gkeopUpgrade linux-azure-5.15Upgrade linux-gcpUpgrade linux-azureUpgrade linux-lowlatencyUpgrade linux-intel-iot-realtimeUpgrade linux-nvidiaUpgrade linux-gcp-5.15Upgrade linux-intel-iotg-5.15Upgrade linux-riscv-5.15Upgrade linux-hwe-5.15Upgrade linux-azure-fde-5.15 | Sep 19, 2025 | Sep 16, 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