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 python-perf-debuginfoUpgrade kernel-toolsUpgrade kernel-debuginfo-common-x86_64Upgrade kernel-headersUpgrade python-perfUpgrade bpftool-debuginfoUpgrade kernel-tools-debuginfoUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-tools-develUpgrade kernel-develUpgrade kernel-livepatch-5.15.86-53.137Upgrade bpftoolUpgrade kernel-debuginfoUpgrade perfUpgrade perf-debuginfoUpgrade kernel | 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-ibmUpgrade linux-oracle-5.15Upgrade linux-riscv-5.15Upgrade linux-intel-iot-realtimeUpgrade linux-azure-fde-5.15Upgrade linux-oracleUpgrade linux-hwe-5.15Upgrade linux-azure-5.15Upgrade linux-gcpUpgrade linux-gkeopUpgrade linux-kvmUpgrade linux-azureUpgrade linux-intel-iotg-5.15Upgrade linux-gcp-5.15Upgrade linux-nvidiaUpgrade linux-intel-iotgUpgrade linux-lowlatencyUpgrade linux-realtimeUpgrade linux-gkeUpgrade linux-awsUpgrade linux-lowlatency-hwe-5.15Upgrade linuxUpgrade linux-bluefieldUpgrade linux-aws-5.15Upgrade linux-raspiUpgrade linux-nvidia-tegra-5.15Upgrade linux-azure-fde | 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