CVE-2025-40101
publishedbtrfs: fix memory leaks when rejecting a non SINGLE data profile without an RST
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5906333cc4af7b3fdb8cfff1cb3e8e579bd13174 to < 187333e6d484c6630286bfdd07c79d6815a63887 · 5906333cc4af7b3fdb8cfff1cb3e8e579bd13174 to < 602701d00439e113331ee9c1283e95afdcb8849d · 5906333cc4af7b3fdb8cfff1cb3e8e579bd13174 to < fec9b9d3ced39f16be8d7afdf81f4dd2653da319 · 6ffeca99bf6e84800133d21afd41c79d2f002db7 · 6.7.11 to < 6.8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.12.55 through 6.12.* (unaffected · semver) · 6.17.5 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1316 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el10uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
| Oracle Linux | 9 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-106.55.4.1.el9uek | ELSA-2025-28040 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix memory leaks when rejecting a non SINGLE data profile without an RST At the end of btrfs_load_block_group_zone_info() the first thing we do is to ensure that if the mapping type is not a SINGLE one and there is no RAID stripe tree, then we return early with an error. Doing that, though, prevents the code from running the last calls from this function which are about freeing memory allocated during its run. Hence, in this case, instead of returning early, we set the ret value and fall through the rest of the cleanup code.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5906333cc4af7b3fdb8cfff1cb3e8e579bd13174 to < 187333e6d484c6630286bfdd07c79d6815a63887 (affected · git)5906333cc4af7b3fdb8cfff1cb3e8e579bd13174 to < 602701d00439e113331ee9c1283e95afdcb8849d (affected · git)5906333cc4af7b3fdb8cfff1cb3e8e579bd13174 to < fec9b9d3ced39f16be8d7afdf81f4dd2653da319 (affected · git)6ffeca99bf6e84800133d21afd41c79d2f002db7 (affected · git)6.7.11 to < 6.8 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.12.55 through 6.12.* (unaffected · semver)6.17.5 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
btrfs: fix memory leaks when rejecting a non SINGLE data profile without an RST
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 34ef2031893b30263d541f1dfa232cde3f1c280039d9c651073eee71a9e896c7
- Ingested
- 23 Sep 2026, 08:48:04 UTC
- Source record
- Official CVE record