btrfs: detach failed sprout device from transaction update list
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From bbbf7243d62d8be73b7ef60721c127b36b2d523e · fixed in 2a57fb1d5ce8f316b81bbb60e6df245ebc816ffc; From bbbf7243d62d8be73b7ef60721c127b36b2d523e · fixed in 86eff3052054e8f3b059b2d5845b6dcca021f20c; From bbbf7243d62d8be73b7ef60721c127b36b2d523e · fixed in 63bfa52eb3289517aa82cb90e1189385873aae21; From bbbf7243d62d8be73b7ef60721c127b36b2d523e · fixed in 7fe9dfbca43464baa8f050447a4837587b18adec; From bbbf7243d62d8be73b7ef60721c127b36b2d523e · fixed in e9e7e37afa85db770e6084360b21a21a8b3a583f; From bbbf7243d62d8be73b7ef60721c127b36b2d523e · fixed in 8b001df2b37ca022f710f3254fbb0bcd6d9e1bed; From bbbf7243d62d8be73b7ef60721c127b36b2d523e · fixed in 0ea6814bc0ff7cff443241bd34db9f0f828f3190; From bbbf7243d62d8be73b7ef60721c127b36b2d523e · fixed in c93b3c43df561cd9f592cee20ae058b563f9e5b6
- Linux Linux
5.2
- KernelLinux
From 5.2.0 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7
References 8
git.kernel.org
- stable/c/2a57fb1d5ce8f316b81bbb60e6df245ebc816ffc
- stable/c/86eff3052054e8f3b059b2d5845b6dcca021f20c
- stable/c/63bfa52eb3289517aa82cb90e1189385873aae21
- stable/c/7fe9dfbca43464baa8f050447a4837587b18adec
- stable/c/e9e7e37afa85db770e6084360b21a21a8b3a583f
- stable/c/8b001df2b37ca022f710f3254fbb0bcd6d9e1bed
- stable/c/0ea6814bc0ff7cff443241bd34db9f0f828f3190
- stable/c/c93b3c43df561cd9f592cee20ae058b563f9e5b6