btrfs: fix exploits that allow malicious users to turn fs into RO mode
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btrfs: fix transaction abort on file creation due to name hash collisionfs/ | +19 | 3 replies | |
| 2/5 | btrfs: fix transaction abort when snapshotting received subvolumesfs/ | +16 | 2 replies | |
| 3/5 | btrfs: stop checking for -EEXIST return value from btrfs_uuid_tree_add()fs/ fs/ | +2 | 0 replies | |
| 4/5 | btrfs: remove duplicated uuid tree existence check in btrfs_uuid_tree_add()fs/ | +1 | 0 replies | |
| 5/5 | btrfs: remove pointless error check in btrfs_check_dir_item_collision()fs/ | +1 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Boris Burkov | Qu Wenruo |
|---|---|---|
| Series | R-b | R-b |
| 1/5 | R-b | |
| 2/5 | ||
| 3/5 | ||
| 4/5 | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] btrfs: fix exploits that allow malicious users to turn fs into RO mode
From: Filipe Manana <[email protected]>
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(-)
Signature · 1 line
2.47.2