# CVE-2026-98091: btrfs: detach failed sprout device from transaction update list

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 3% of CVEs (2026-11-30)
- Published: 2026-09-25T10:24:24.082Z
- Modified: 2026-10-23T18:55:09.060Z
- Weaknesses: CWE-416
- Assigned by: Linux

## Description

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

btrfs: detach failed sprout device from transaction update list

When creating the first metadata chunk for a sprout filesystem,
create_chunk() adds the new device to the transaction dev_update_list
through device->post_commit_list.

If the subsequent system chunk creation fails, btrfs_init_new_device()
aborts the transaction and releases the device while post_commit_list is
still linked. This triggers a warning in btrfs_free_device() and leaves
the transaction list referencing freed memory.

Detach the device while holding chunk_mutex before releasing it.

(As written by CVE List.)

## Affected

- Linux Linux: from bbbf7243d62d8be73b7ef60721c127b36b2d523e before 2a57fb1d5ce8f316b81bbb60e6df245ebc816ffc; from bbbf7243d62d8be73b7ef60721c127b36b2d523e before 86eff3052054e8f3b059b2d5845b6dcca021f20c; from bbbf7243d62d8be73b7ef60721c127b36b2d523e before 63bfa52eb3289517aa82cb90e1189385873aae21; from bbbf7243d62d8be73b7ef60721c127b36b2d523e before 7fe9dfbca43464baa8f050447a4837587b18adec; from bbbf7243d62d8be73b7ef60721c127b36b2d523e before e9e7e37afa85db770e6084360b21a21a8b3a583f; from bbbf7243d62d8be73b7ef60721c127b36b2d523e before 8b001df2b37ca022f710f3254fbb0bcd6d9e1bed; from bbbf7243d62d8be73b7ef60721c127b36b2d523e before 0ea6814bc0ff7cff443241bd34db9f0f828f3190; from bbbf7243d62d8be73b7ef60721c127b36b2d523e before c93b3c43df561cd9f592cee20ae058b563f9e5b6; 5.2 (not affected: before 5.2; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)
- linux linux_kernel: from 5.2 before 5.10.271; from 5.11 before 5.15.222; from 5.16 before 6.1.189; from 6.2 before 6.6.158; from 6.7 before 6.12.111; from 6.13 before 6.18.53; from 6.19 before 7.2.7; 7.3

## References

- <https://git.kernel.org/stable/c/2a57fb1d5ce8f316b81bbb60e6df245ebc816ffc> (patch)
- <https://git.kernel.org/stable/c/86eff3052054e8f3b059b2d5845b6dcca021f20c> (patch)
- <https://git.kernel.org/stable/c/63bfa52eb3289517aa82cb90e1189385873aae21> (patch)
- <https://git.kernel.org/stable/c/7fe9dfbca43464baa8f050447a4837587b18adec> (patch)
- <https://git.kernel.org/stable/c/e9e7e37afa85db770e6084360b21a21a8b3a583f> (patch)
- <https://git.kernel.org/stable/c/8b001df2b37ca022f710f3254fbb0bcd6d9e1bed> (patch)
- <https://git.kernel.org/stable/c/0ea6814bc0ff7cff443241bd34db9f0f828f3190> (patch)
- <https://git.kernel.org/stable/c/c93b3c43df561cd9f592cee20ae058b563f9e5b6> (patch)

## Sources

- CVE List: [CVE-2026-98091](https://www.cve.org/CVERecord?id=CVE-2026-98091), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98091](https://nvd.nist.gov/vuln/detail/CVE-2026-98091), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-98091 · Whole record: https://cve.day/CVE-2026-98091.json · Rebuilt by cve.day 2026-11-25T22:59:41.055Z
