In the Linux kernel, the following vulnerability has been resolved:
btrfs: fix inode list leak during backref walking at resolve_indirect_refs()
During backref walking, at resolve_indirect_refs(), if we get an error we jump to the 'out' label and call ulist_free() on the 'parents' ulist, which frees all the elements in the ulist - however that does not free any inode lists that may be attached to elements, through the 'aux' field of a ulist node, so we end up leaking lists if we have any attached to the unodes.
Fix this by calling free_leaf_list() instead of ulist_free() when we exit from resolve_indirect_refs(). The static function free_leaf_list() is moved up for this to be possible and it's slightly simplified by removing unnecessary code.
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 kernel-debuginfo-common-x86_64Upgrade bpftool-debuginfoUpgrade kernel-tools-debuginfoUpgrade bpftoolUpgrade kernel-toolsUpgrade kernel-develUpgrade kernel-debuginfo-common-aarch64Upgrade kernelUpgrade perfUpgrade kernel-livepatch-4.14.299-223.520Upgrade kernel-tools-develUpgrade perf-debuginfoUpgrade python-perf-debuginfoUpgrade kernel-livepatch-5.10.155-138.670Upgrade python-perfUpgrade kernel-livepatch-5.15.79-51.138Upgrade kernel-debuginfoUpgrade kernel-headers | Jun 23, 2025 | May 1, 2025 |
| Debian | — | Upgrade linux | May 5, 2025 | May 1, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | May 1, 2025 |
| Ubuntu | — | Upgrade linux-gkeUpgrade linux-aws-hweUpgrade linux-aws-5.4Upgrade linux-ibmUpgrade linux-nvidiaUpgrade linux-hwe-5.4Upgrade linux-gkeopUpgrade linux-intel-iotg-5.15Upgrade linux-realtimeUpgrade linux-kvmUpgrade linux-aws-5.15Upgrade linux-oracle-5.4Upgrade linux-lowlatencyUpgrade linux-azure-fipsUpgrade linux-riscv-5.15Upgrade linux-aws-fipsUpgrade linux-raspiUpgrade linux-oracle-5.15Upgrade linux-gcp-5.15Upgrade linux-fipsUpgrade linux-gcp-5.4Upgrade linux-xilinx-zynqmpUpgrade linux-intel-iotgUpgrade linux-gcpUpgrade linux-azure-5.15Upgrade linux-oracleUpgrade linux-hweUpgrade linux-azureUpgrade linux-azure-fdeUpgrade linux-gcp-fipsUpgrade linux-awsUpgrade linux-azure-5.4Upgrade linux-azure-4.15Upgrade linux-hwe-5.15Upgrade linux-gcp-4.15Upgrade linux-ibm-5.4Upgrade linux-raspi-5.4Upgrade linux-iotUpgrade linuxUpgrade linux-lowlatency-hwe-5.15Upgrade linux-bluefield | May 6, 2025 | May 1, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | May 1, 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