CVE-2026-98091 PUBLISHED

btrfs: detach failed sprout device from transaction update list

Assigner: Linux
Reserved: 25.09.2026 Published: 25.09.2026 Updated: 25.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from bbbf7243d62d8be73b7ef60721c127b36b2d523e to e9e7e37afa85db770e6084360b21a21a8b3a583f (excl.)
  • affected from bbbf7243d62d8be73b7ef60721c127b36b2d523e to 8b001df2b37ca022f710f3254fbb0bcd6d9e1bed (excl.)
  • affected from bbbf7243d62d8be73b7ef60721c127b36b2d523e to 0ea6814bc0ff7cff443241bd34db9f0f828f3190 (excl.)
  • affected from bbbf7243d62d8be73b7ef60721c127b36b2d523e to c93b3c43df561cd9f592cee20ae058b563f9e5b6 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.2 is affected
  • unaffected from 0 to 5.2 (excl.)
  • unaffected from 6.12.111 to 6.12.* (incl.)
  • unaffected from 6.18.53 to 6.18.* (incl.)
  • unaffected from 7.2.7 to 7.2.* (incl.)
  • unaffected from 7.3-rc2 to * (incl.)

References