# CVE-2026-43046: btrfs: reject root items with drop\_progress and zero drop\_level

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-617
- **Published:** 2026-05-01T14:15:41.849Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< bedaf7d0b9d793e116f16b4d9a7dbc94bcc80443; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< ac68a9a8e481ab1becaed29d6d23087dac3de15d; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< 295f8075d00442d71dc9ccae421ace1c0d2d9224; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< 53ceedd1eb6280ca8359664e0226983eded2ed73; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< 850de3d87f4720b71ccdcd44f4aa57e46b53a3f3; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< de585ee18dd5601745f65a60fef7b7ceebd78c83; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< b17b79ff896305fd74980a5f72afec370ee88ca4
- Anyone running Linux 2.6.29

## Description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: reject root items with drop\_progress and zero drop\_level

\[BUG\]
When recovering relocation at mount time, merge\_reloc\_root() and
btrfs\_drop\_snapshot() both use BUG\_ON(level == 0) to guard against
an impossible state: a non-zero drop\_progress combined with a zero
drop\_level in a root\_item, which can be triggered:

------------\[ cut here \]------------
kernel BUG at fs/btrfs/relocation.c:1545!
Oops: invalid opcode: 0000 \[\#1\] SMP KASAN NOPTI
CPU: 1 UID: 0 PID: 283 ... Tainted: 6.18.0+ \#16 PREEMPT(voluntary)
Tainted: \[O\]=OOT\_MODULE, \[E\]=UNSIGNED\_MODULE
Hardware name: QEMU Ubuntu 24.04 PC v2, BIOS 1.16.3-debian-1.16.3-2
RIP: 0010:merge\_reloc\_root+0x1266/0x1650 fs/btrfs/relocation.c:1545
Code: ffff0000 00004589 d7e9acfa ffffe8a1 79bafebe 02000000
Call Trace:
 merge\_reloc\_roots+0x295/0x890 fs/btrfs/relocation.c:1861
 btrfs\_recover\_relocation+0xd6e/0x11d0 fs/btrfs/relocation.c:4195
 btrfs\_start\_pre\_rw\_mount+0xa4d/0x1810 fs/btrfs/disk-io.c:3130
 open\_ctree+0x5824/0x5fe0 fs/btrfs/disk-io.c:3640
 btrfs\_fill\_super fs/btrfs/super.c:987 \[inline\]
 btrfs\_get\_tree\_super fs/btrfs/super.c:1951 \[inline\]
 btrfs\_get\_tree\_subvol fs/btrfs/super.c:2094 \[inline\]
 btrfs\_get\_tree+0x111c/0x2190 fs/btrfs/super.c:2128
 vfs\_get\_tree+0x9a/0x370 fs/super.c:1758
 fc\_mount fs/namespace.c:1199 \[inline\]
 do\_new\_mount\_fc fs/namespace.c:3642 \[inline\]
 do\_new\_mount fs/namespace.c:3718 \[inline\]
 path\_mount+0x5b8/0x1ea0 fs/namespace.c:4028
 do\_mount fs/namespace.c:4041 \[inline\]
 \_\_do\_sys\_mount fs/namespace.c:4229 \[inline\]
 \_\_se\_sys\_mount fs/namespace.c:4206 \[inline\]
 \_\_x64\_sys\_mount+0x282/0x320 fs/namespace.c:4206
 ...
RIP: 0033:0x7f969c9a8fde
Code: 0f1f4000 48c7c2b0 fffffff7 d8648902 b8ffffff ffc3660f
---\[ end trace 0000000000000000 \]---

The bug is reproducible on 7.0.0-rc2-next-20260310 with our dynamic
metadata fuzzing tool that corrupts btrfs metadata at runtime.

\[CAUSE\]
A non-zero drop\_progress.objectid means an interrupted
btrfs\_drop\_snapshot() left a resume point on disk, and in that case
drop\_level must be greater than 0 because the checkpoint is only
saved at internal node levels.

Although this invariant is enforced when the kernel writes the root
item, it is not validated when the root item is read back from disk.
That allows on-disk corruption to provide an invalid state with
drop\_progress.objectid != 0 and drop\_level == 0.

When relocation recovery later processes such a root item,
merge\_reloc\_root() reads drop\_level and hits BUG\_ON(level == 0). The
same invalid metadata can also trigger the corresponding BUG\_ON() in
btrfs\_drop\_snapshot().

\[FIX\]
Fix this by validating the root\_item invariant in tree-checker when
reading root items from disk: if drop\_progress.objectid is non-zero,
drop\_level must also be non-zero. Reject such malformed metadata with
-EUCLEAN before it reaches merge\_reloc\_root() or btrfs\_drop\_snapshot()
and triggers the BUG\_ON.

After the fix, the same corruption is correctly rejected by tree-checker
and the BUG\_ON is no longer triggered.

## Affected and fixed versions

- Linux: \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< bedaf7d0b9d793e116f16b4d9a7dbc94bcc80443; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< ac68a9a8e481ab1becaed29d6d23087dac3de15d; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< 295f8075d00442d71dc9ccae421ace1c0d2d9224; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< 53ceedd1eb6280ca8359664e0226983eded2ed73; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< 850de3d87f4720b71ccdcd44f4aa57e46b53a3f3; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< de585ee18dd5601745f65a60fef7b7ceebd78c83; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< b17b79ff896305fd74980a5f72afec370ee88ca4 (cvelist)
- Linux: 2.6.29 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-43046. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43046.md
Affected: Linux >= 9f3a742736cecda5a8778be70faa2f779458839f, < bedaf7d0b9d793e116f16b4d9a7dbc94bcc80443; >= 9f3a742736cecda5a8778be70faa2f779458839f, < ac68a9a8e481ab1becaed29d6d23087dac3de15d; >= 9f3a742736cecda5a8778be70faa2f779458839f, < 295f8075d00442d71dc9ccae421ace1c0d2d9224; >= 9f3a742736cecda5a8778be…
Fixed in: Linux 295f8075d00442d71dc9ccae421ace1c0d2d9224, Linux 53ceedd1eb6280ca8359664e0226983eded2ed73, Linux 850de3d87f4720b71ccdcd44f4aa57e46b53a3f3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-43046 being exploited?

There is no confirmed exploitation: CVE-2026-43046 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-43046?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-43046?

Linux \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< bedaf7d0b9d793e116f16b4d9a7dbc94bcc80443; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< ac68a9a8e481ab1becaed29d6d23087dac3de15d; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< 295f8075d00442d71dc9ccae421ace1c0d2d9224; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< 53ceedd1eb6280ca8359664e0226983eded2ed73; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< 850de3d87f4720b71ccdcd44f4aa57e46b53a3f3; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< de585ee18dd5601745f65a60fef7b7ceebd78c83; \>= 9f3a742736cecda5a8778be70faa2f779458839f, \< b17b79ff896305fd74980a5f72afec370ee88ca4; Linux 2.6.29.

### Is there a fix for CVE-2026-43046?

Yes. Fixed in Linux 295f8075d00442d71dc9ccae421ace1c0d2d9224, Linux 53ceedd1eb6280ca8359664e0226983eded2ed73, Linux 850de3d87f4720b71ccdcd44f4aa57e46b53a3f3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-43046?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/bedaf7d0b9d793e116f16b4d9a7dbc94bcc80443>
- patch: <https://git.kernel.org/stable/c/ac68a9a8e481ab1becaed29d6d23087dac3de15d>
- patch: <https://git.kernel.org/stable/c/295f8075d00442d71dc9ccae421ace1c0d2d9224>
- patch: <https://git.kernel.org/stable/c/53ceedd1eb6280ca8359664e0226983eded2ed73>
- patch: <https://git.kernel.org/stable/c/850de3d87f4720b71ccdcd44f4aa57e46b53a3f3>
- patch: <https://git.kernel.org/stable/c/de585ee18dd5601745f65a60fef7b7ceebd78c83>
- patch: <https://git.kernel.org/stable/c/b17b79ff896305fd74980a5f72afec370ee88ca4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-43046>

HTML: <https://flawdb.com/CVE-2026-43046> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-43046>
