public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] btrfs: fix exploits that allow malicious users to turn fs into RO mode
@ 2026-02-26 14:33 fdmanana
  2026-02-26 14:33 ` [PATCH 1/5] btrfs: fix transaction abort on file creation due to name hash collision fdmanana
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: fdmanana @ 2026-02-26 14:33 UTC (permalink / raw)
  To: linux-btrfs

From: Filipe Manana <fdmanana@suse.com>

We have a couple scenarios that regular users can exploit to trigger a
transaction abort and turn a filesystem into RO mode, causing some
disruption. The first 2 patches fix these, the remainder are just a few
trivial and cleanups.

Filipe Manana (5):
  btrfs: fix transaction abort on file creation due to name hash collision
  btrfs: fix transaction abort when snapshotting received subvolumes
  btrfs: stop checking for -EEXIST return value from btrfs_uuid_tree_add()
  btrfs: remove duplicated uuid tree existence check in btrfs_uuid_tree_add()
  btrfs: remove pointless error check in btrfs_check_dir_item_collision()

 fs/btrfs/dir-item.c    |  4 +---
 fs/btrfs/inode.c       | 19 +++++++++++++++++++
 fs/btrfs/ioctl.c       |  2 +-
 fs/btrfs/transaction.c | 18 +++++++++++++++++-
 fs/btrfs/uuid-tree.c   |  5 +----
 5 files changed, 39 insertions(+), 9 deletions(-)

-- 
2.47.2


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

end of thread, other threads:[~2026-02-26 23:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-26 14:33 [PATCH 0/5] btrfs: fix exploits that allow malicious users to turn fs into RO mode fdmanana
2026-02-26 14:33 ` [PATCH 1/5] btrfs: fix transaction abort on file creation due to name hash collision fdmanana
2026-02-26 18:55   ` Boris Burkov
2026-02-26 21:24     ` Filipe Manana
2026-02-26 21:29       ` Boris Burkov
2026-02-26 14:33 ` [PATCH 2/5] btrfs: fix transaction abort when snapshotting received subvolumes fdmanana
2026-02-26 20:40   ` Qu Wenruo
2026-02-26 21:30     ` Filipe Manana
2026-02-26 14:34 ` [PATCH 3/5] btrfs: stop checking for -EEXIST return value from btrfs_uuid_tree_add() fdmanana
2026-02-26 14:34 ` [PATCH 4/5] btrfs: remove duplicated uuid tree existence check in btrfs_uuid_tree_add() fdmanana
2026-02-26 14:34 ` [PATCH 5/5] btrfs: remove pointless error check in btrfs_check_dir_item_collision() fdmanana
2026-02-26 19:10 ` [PATCH 0/5] btrfs: fix exploits that allow malicious users to turn fs into RO mode Boris Burkov
2026-02-26 21:18   ` Filipe Manana
2026-02-26 21:57     ` Boris Burkov
2026-02-26 23:10 ` Qu Wenruo

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