Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: anon_dev related fixes
@ 2026-11-12  5:26 Qu Wenruo
  2026-11-12  5:26 ` [PATCH 1/2] btrfs: fix anon_dev leak when snapshot creation races with a root read Qu Wenruo
  2026-11-12  5:26 ` [PATCH 2/2] btrfs: fix double free of anon_dev in btrfs_get_root_ref() on -EEXIST Qu Wenruo
  0 siblings, 2 replies; 3+ messages in thread
From: Qu Wenruo @ 2026-11-12  5:26 UTC (permalink / raw)
  To: linux-btrfs

The first one is a Sashiko bug report, that we have a very narrow window
to hit an anon_dev ID leak.

The second one is another small bug related to double freeing the same
anon_dev ID, exposed by LLM.

Qu Wenruo (2):
  btrfs: fix anon_dev leak when snapshot creation races with a root read
  btrfs: fix double free of anon_dev in btrfs_get_root_ref() on -EEXIST

 fs/btrfs/disk-io.c | 13 +++++++++++++
 fs/btrfs/ioctl.c   |  8 +-------
 2 files changed, 14 insertions(+), 7 deletions(-)

-- 
2.56.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-12  5:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12  5:26 [PATCH 0/2] btrfs: anon_dev related fixes Qu Wenruo
2026-11-12  5:26 ` [PATCH 1/2] btrfs: fix anon_dev leak when snapshot creation races with a root read Qu Wenruo
2026-11-12  5:26 ` [PATCH 2/2] btrfs: fix double free of anon_dev in btrfs_get_root_ref() on -EEXIST Qu Wenruo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox