# CVE-2026-46251: btrfs: fix block\_group\_tree dirty\_list corruption

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

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.20% (percentile 5, 2026-11-28)
- **Published:** 2026-06-03T15:49:47.684Z
- **Modified:** 2026-08-05T12:30:45.952Z

## Who should check

- Anyone running Linux \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 6e10283b5519d987d880d71bec90cdc7f2ec62b3; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< e3d1fd084319f8f0830b22f014c7af6a96b4497b; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 4eb830847d84276f1c8ea46541cfeeedaba1fb63; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 80e1fda9c084dcf54819a12bc7682ec0afd2d8f4; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 201091da34c4f113af6b4a7407091c39bf29d4ca; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 3a1f4264daed4b419c325a7fe35e756cada3cf82; dabf41db56f378a360ff0219c467f8dfecda7dd6; \>= 6.0.19, \< 6.1
- Anyone running Linux 6.1

## Description

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

btrfs: fix block\_group\_tree dirty\_list corruption

When the incompat flag EXTENT\_TREE\_V2 is set, we unconditionally add the
block group tree to the switch\_commits list before calling
switch\_commit\_roots, as we do for the tree root and the chunk root.
However, the block group tree uses normal root dirty tracking and in any
transaction that does an allocation and dirties a block group, the block
group root will already be linked to a list by the dirty\_list field and
this use of list\_add\_tail() is invalid and corrupts the prev/next
members of block\_group\_root-\>dirty\_list.

This is apparent on a subsequent list\_del on the prev if we enable
CONFIG\_DEBUG\_LIST:

  \[32.1571\] ------------\[ cut here \]------------
  \[32.1572\] list\_del corruption. next-\>prev should beffff958890202538, but was ffff9588992bd538. (next=ffff958890201538)
  \[32.1575\] WARNING: lib/list\_debug.c:65 at 0x0, CPU\#3: sync/607
  \[32.1583\] CPU: 3 UID: 0 PID: 607 Comm: sync Not tainted 6.18.0 \#24PREEMPT(none)
  \[32.1585\] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS1.17.0-4.fc41 04/01/2014
  \[32.1587\] RIP: 0010:\_\_list\_del\_entry\_valid\_or\_report+0x108/0x120
  \[32.1593\] RSP: 0018:ffffaa288287fdd0 EFLAGS: 00010202
  \[32.1594\] RAX: 0000000000000001 RBX: ffff95889326e800 RCX:ffff958890201538
  \[32.1596\] RDX: ffff9588992bd538 RSI: ffff958890202538 RDI:ffffffff82a41e00
  \[32.1597\] RBP: ffff958890202538 R08: ffffffff828fc1e8 R09:00000000ffffefff
  \[32.1599\] R10: ffffffff8288c200 R11: ffffffff828e4200 R12:ffff958890201538
  \[32.1601\] R13: ffff95889326e958 R14: ffff958895c24000 R15:ffff958890202538
  \[32.1603\] FS:  00007f0c28eb5740(0000) GS:ffff958af2bd2000(0000)knlGS:0000000000000000
  \[32.1605\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  \[32.1607\] CR2: 00007f0c28e8a3cc CR3: 0000000109942005 CR4:0000000000370ef0
  \[32.1609\] Call Trace:
  \[32.1610\]  \<TASK\>
  \[32.1611\]  switch\_commit\_roots+0x82/0x1d0 \[btrfs\]
  \[32.1615\]  btrfs\_commit\_transaction+0x968/0x1550 \[btrfs\]
  \[32.1618\]  ? btrfs\_attach\_transaction\_barrier+0x23/0x60 \[btrfs\]
  \[32.1621\]  \_\_iterate\_supers+0xe8/0x190
  \[32.1622\]  ? \_\_pfx\_sync\_fs\_one\_sb+0x10/0x10
  \[32.1623\]  ksys\_sync+0x63/0xb0
  \[32.1624\]  \_\_do\_sys\_sync+0xe/0x20
  \[32.1625\]  do\_syscall\_64+0x73/0x450
  \[32.1626\]  entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
  \[32.1627\] RIP: 0033:0x7f0c28d05d2b
  \[32.1632\] RSP: 002b:00007ffc9d988048 EFLAGS: 00000246 ORIG\_RAX:00000000000000a2
  \[32.1634\] RAX: ffffffffffffffda RBX: 00007ffc9d988228 RCX:00007f0c28d05d2b
  \[32.1636\] RDX: 00007f0c28e02301 RSI: 00007ffc9d989b21 RDI:00007f0c28dba90d
  \[32.1637\] RBP: 0000000000000001 R08: 0000000000000001 R09:0000000000000000
  \[32.1639\] R10: 0000000000000000 R11: 0000000000000246 R12:000055b96572cb80
  \[32.1641\] R13: 000055b96572b19f R14: 00007f0c28dfa434 R15:000055b96572b034
  \[32.1643\]  \</TASK\>
  \[32.1644\] irq event stamp: 0
  \[32.1644\] hardirqs last  enabled at (0): \[\<0000000000000000\>\] 0x0
  \[32.1646\] hardirqs last disabled at (0): \[\<ffffffff81298817\>\]copy\_process+0xb37/0x2260
  \[32.1648\] softirqs last  enabled at (0): \[\<ffffffff81298817\>\]copy\_process+0xb37/0x2260
  \[32.1650\] softirqs last disabled at (0): \[\<0000000000000000\>\] 0x0
  \[32.1652\] ---\[ end trace 0000000000000000 \]---

Furthermore, this list corruption eventually (when we happen to add a
new block group) results in getting the switch\_commits and
dirty\_cowonly\_roots lists mixed up and attempting to call update\_root
on the tree root which can't be found in the tree root, resulting in a
transaction abort:

  \[87.8269\] BTRFS critical (device nvme1n1): unable to find root key (1 0 0) in tree 1
  \[87.8272\] ------------\[ cut here \]------------
  \[87.8274\] BTRFS: Transaction aborted (error -117)
  \[87.8275\] WARNING: fs/btrfs/root-tree.c:153 at 0x0, CPU\#4: sync/703
  \[87.8285\] CPU: 4 UID: 0 PID: 703 Comm: sync Not tainted 6.18.0 \#25 PREEMPT(none)
  \[87.8287\] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.17.0-4.fc41 0
---truncated---

## Affected and fixed versions

- Linux: \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 6e10283b5519d987d880d71bec90cdc7f2ec62b3; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< e3d1fd084319f8f0830b22f014c7af6a96b4497b; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 4eb830847d84276f1c8ea46541cfeeedaba1fb63; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 80e1fda9c084dcf54819a12bc7682ec0afd2d8f4; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 201091da34c4f113af6b4a7407091c39bf29d4ca; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 3a1f4264daed4b419c325a7fe35e756cada3cf82; dabf41db56f378a360ff0219c467f8dfecda7dd6; \>= 6.0.19, \< 6.1 (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 6.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-46251.md
Affected: Linux >= 14033b08a02916e85ffc5397e4ac15337359f3ae, < 6e10283b5519d987d880d71bec90cdc7f2ec62b3; >= 14033b08a02916e85ffc5397e4ac15337359f3ae, < e3d1fd084319f8f0830b22f014c7af6a96b4497b; >= 14033b08a02916e85ffc5397e4ac15337359f3ae, < 4eb830847d84276f1c8ea46541cfeeedaba1fb63; >= 14033b08a02916e85ffc539…
Fixed in: Linux 6e10283b5519d987d880d71bec90cdc7f2ec62b3, Linux 4eb830847d84276f1c8ea46541cfeeedaba1fb63, Linux 80e1fda9c084dcf54819a12bc7682ec0afd2d8f4, Linux 201091da34c4f113af6b4a7407091c39bf29d4ca, Linux 3a1f4264daed4b419c325a7fe35e756cada3cf82, Linux 6.1

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-46251 being exploited?

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

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

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 6e10283b5519d987d880d71bec90cdc7f2ec62b3; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< e3d1fd084319f8f0830b22f014c7af6a96b4497b; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 4eb830847d84276f1c8ea46541cfeeedaba1fb63; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 80e1fda9c084dcf54819a12bc7682ec0afd2d8f4; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 201091da34c4f113af6b4a7407091c39bf29d4ca; \>= 14033b08a02916e85ffc5397e4ac15337359f3ae, \< 3a1f4264daed4b419c325a7fe35e756cada3cf82; dabf41db56f378a360ff0219c467f8dfecda7dd6; \>= 6.0.19, \< 6.1; Linux 6.1.

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

Yes. Fixed in Linux 6e10283b5519d987d880d71bec90cdc7f2ec62b3, Linux 4eb830847d84276f1c8ea46541cfeeedaba1fb63, Linux 80e1fda9c084dcf54819a12bc7682ec0afd2d8f4, Linux 201091da34c4f113af6b4a7407091c39bf29d4ca, Linux 3a1f4264daed4b419c325a7fe35e756cada3cf82, Linux 6.1. Upgrade Linux to 6.1 or later.

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

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/6e10283b5519d987d880d71bec90cdc7f2ec62b3>
- patch: <https://git.kernel.org/stable/c/e3d1fd084319f8f0830b22f014c7af6a96b4497b>
- patch: <https://git.kernel.org/stable/c/4eb830847d84276f1c8ea46541cfeeedaba1fb63>
- patch: <https://git.kernel.org/stable/c/80e1fda9c084dcf54819a12bc7682ec0afd2d8f4>
- patch: <https://git.kernel.org/stable/c/201091da34c4f113af6b4a7407091c39bf29d4ca>
- patch: <https://git.kernel.org/stable/c/3a1f4264daed4b419c325a7fe35e756cada3cf82>

## 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-46251>

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