NetSight
medium5.5

CVE-2026-98091

In the Linux kernel, the following vulnerability has been resolved: btrfs: detach failed sprout device from transaction update list When creating the first met…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux 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

Weakness classification

References