All reports
Medium

kernel: btrfs: detach failed sprout device from transaction update list

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-98091

Probability of exploitation in the next 30 days: 0.12%

FIRST EPSS · 2026-11-22

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.

A flaw was found in the Linux kernel's Btrfs file system. A local user with permissions to perform file system operations could exploit this vulnerability to cause a denial of service (DoS) via a system crash or potentially corrupt system memory. The issue occurs when error handling during sprout device chunk initialization fails to properly unlink the device before releasing it, leaving active kernel transactions referencing freed memory in a use-after-free condition.