5.5
MEDIUM CVSS 3.1
CVE-2026-43046
btrfs: reject root items with drop_progress and zero drop_level
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.

INFO

Published Date :

May 1, 2026, 3:16 p.m.

Last Modified :

Nov. 11, 2026, 11:10 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-43046 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Validate root item invariants on disk to prevent invalid states and kernel panics.
  • Apply updates to validate root item invariants.
  • Reject malformed metadata before it triggers bugs.
  • Ensure filesystem metadata integrity.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-43046 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-43046 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-43046 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-43046 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Nov. 11, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: btrfs: rechazar elementos raíz con drop_progress y drop_level cero [ERROR] Al recuperar la reubicación en el momento del montaje, merge_reloc_root() y btrfs_drop_snapshot() ambos usan BUG_ON(level == 0) para protegerse contra un estado imposible: un drop_progress distinto de cero combinado con un drop_level cero en un root_item, que puede ser desencadenado: - - - - - - - - - - - -[ cortar aquí ]- - - - - - - - - - - - BUG del kernel en fs/btrfs/relocation.c:1545! Oops: código de operación inválido: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 283 ... Corrupto: 6.18.0+ #16 PREEMPT(voluntario) Corrupto: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE Nombre del hardware: QEMU Ubuntu 24.04 PC v2, BIOS 1.16.3-debian-1.16.3-2 RIP: 0010:merge_reloc_root+0x 1266/0x 1650 fs/btrfs/relocation.c:1545 Código: ffff0000 00004589 d7e9acfa ffffe8a1 79bafebe 02000000 Rastreo de llamadas: merge_reloc_roots+0x295/0x890 fs/btrfs/relocation.c:1861 btrfs_recover_relocation+0xd6e/0x 11d0 fs/btrfs/relocation.c:4195 btrfs_start_pre_rw_mount+0xa4d/0x 1810 fs/btrfs/disk-io.c:3130 open_ctree+0x 5824/0x 5fe0 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+0x 111c/0x 2190 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/0x 1ea0 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:0x 7f969c9a8fde Código: 0f1f4000 48c7c2b0 fffffff7 d8648902 b8ffffff ffc3660f - - -[ fin del rastreo 0000000000000000 ]- - - El error es reproducible en 7.0.0-rc2-next-20260310 con nuestra herramienta de fuzzing de metadatos dinámicos que corrompe los metadatos de btrfs en tiempo de ejecución. [CAUSA] Un drop_progress.objectid distinto de cero significa que un btrfs_drop_snapshot() interrumpido dejó un punto de reanudación en el disco, y en ese caso drop_level debe ser mayor que 0 porque el punto de control solo se guarda en los niveles de nodos internos. Aunque este invariante se aplica cuando el kernel escribe el elemento raíz, no se valida cuando el elemento raíz se lee de nuevo desde el disco. Eso permite que la corrupción en el disco proporcione un estado inválido con drop_progress.objectid != 0 y drop_level == 0. Cuando la recuperación de reubicación procesa posteriormente dicho elemento raíz, merge_reloc_root() lee drop_level y activa BUG_ON(level == 0). Los mismos metadatos inválidos también pueden activar el BUG_ON() correspondiente en btrfs_drop_snapshot(). [CORRECCIÓN] Solucione esto validando el invariante de root_item en tree-checker al leer elementos raíz del disco: si drop_progress.objectid es distinto de cero, drop_level también debe ser distinto de cero. Rechace dichos metadatos malformados con -EUCLEAN antes de que lleguen a merge_reloc_root() o btrfs_drop_snapshot() y activen el BUG_ON. Después de la corrección, la misma corrupción es correctamente rechazada por tree-checker y el BUG_ON ya no se activa.
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '9f3a742736cecda5a8778be70faa2f779458839f', 'lessThan': 'bedaf7d0b9d793e116f16b4d9a7dbc94bcc80443', 'versionType': 'git'}, {'status': 'affected', 'version': '9f3a742736cecda5a8778be70faa2f779458839f', 'lessThan': 'ac68a9a8e481ab1becaed29d6d23087dac3de15d', 'versionType': 'git'}, {'status': 'affected', 'version': '9f3a742736cecda5a8778be70faa2f779458839f', 'lessThan': '295f8075d00442d71dc9ccae421ace1c0d2d9224', 'versionType': 'git'}, {'status': 'affected', 'version': '9f3a742736cecda5a8778be70faa2f779458839f', 'lessThan': '53ceedd1eb6280ca8359664e0226983eded2ed73', 'versionType': 'git'}, {'status': 'affected', 'version': '9f3a742736cecda5a8778be70faa2f779458839f', 'lessThan': '850de3d87f4720b71ccdcd44f4aa57e46b53a3f3', 'versionType': 'git'}, {'status': 'affected', 'version': '9f3a742736cecda5a8778be70faa2f779458839f', 'lessThan': 'de585ee18dd5601745f65a60fef7b7ceebd78c83', 'versionType': 'git'}, {'status': 'affected', 'version': '9f3a742736cecda5a8778be70faa2f779458839f', 'lessThan': 'b17b79ff896305fd74980a5f72afec370ee88ca4', 'versionType': 'git'}], 'programFiles': ['fs/btrfs/tree-checker.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.29'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.29', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.15.203', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.168', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.134', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.81', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.22', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.12', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/btrfs/tree-checker.c'], 'defaultStatus': 'affected'}]
  • Initial Analysis by [email protected]

    May. 08, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-617
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.22 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.81 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.134 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.29 up to (excluding) 5.15.203
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/295f8075d00442d71dc9ccae421ace1c0d2d9224 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/53ceedd1eb6280ca8359664e0226983eded2ed73 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/850de3d87f4720b71ccdcd44f4aa57e46b53a3f3 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/ac68a9a8e481ab1becaed29d6d23087dac3de15d Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/b17b79ff896305fd74980a5f72afec370ee88ca4 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/bedaf7d0b9d793e116f16b4d9a7dbc94bcc80443 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/de585ee18dd5601745f65a60fef7b7ceebd78c83 Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 01, 2026

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/295f8075d00442d71dc9ccae421ace1c0d2d9224
    Added Reference https://git.kernel.org/stable/c/53ceedd1eb6280ca8359664e0226983eded2ed73
    Added Reference https://git.kernel.org/stable/c/850de3d87f4720b71ccdcd44f4aa57e46b53a3f3
    Added Reference https://git.kernel.org/stable/c/ac68a9a8e481ab1becaed29d6d23087dac3de15d
    Added Reference https://git.kernel.org/stable/c/b17b79ff896305fd74980a5f72afec370ee88ca4
    Added Reference https://git.kernel.org/stable/c/bedaf7d0b9d793e116f16b4d9a7dbc94bcc80443
    Added Reference https://git.kernel.org/stable/c/de585ee18dd5601745f65a60fef7b7ceebd78c83
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.