Medium · published September 25, 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 | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 5.2, < 5.10.271 | 5.10.271 |
| linux/linux_kernel | ≥ 5.11, < 5.15.222 | 5.15.222 |
| linux/linux_kernel | ≥ 5.16, < 6.1.189 | 6.1.189 |
| linux/linux_kernel | ≥ 6.2, < 6.6.158 | 6.6.158 |
| linux/linux_kernel | ≥ 6.7, < 6.12.111 | 6.12.111 |
| linux/linux_kernel | ≥ 6.13, < 6.18.53 | 6.18.53 |
| linux/linux_kernel | ≥ 6.19, < 7.2.7 | 7.2.7 |
| linux/linux_kernel | all versions | — |