Skip to content

btrfs: fixes for the received subvol ioctl

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: fix transaction abort on set received ioctl due to item overflowfs/btrfs/ioctl.c fs/btrfs/uuid-tree.c fs/btrfs/uuid-tree.h+59 -20 replies
2/3btrfs: abort transaction on failure to update root in the received subvol ioctlfs/btrfs/ioctl.c+1 -00 replies
3/3btrfs: remove unnecessary transaction abort in the received subvol ioctlfs/btrfs/ioctl.c+0 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAnand Jain
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] btrfs: fixes for the received subvol ioctl

From: Filipe Manana <[email protected]>

Fix a bug that can be exploited by malicious users to trigger a transaction abort and turn the filesystem to RO mode by assigning the same received UUID to a bunch of subvolumes, plus a missing transaction abort if we fail to update a root item, and a cleanup.

Filipe Manana (3):
btrfs: fix transaction abort on set received ioctl due to item overflow
btrfs: abort transaction on failure to update root in the received subvol ioctl
btrfs: remove unnecessary transaction abort in the received subvol ioctl

 fs/btrfs/ioctl.c     | 23 ++++++++++++++++++++---
 fs/btrfs/uuid-tree.c | 38 ++++++++++++++++++++++++++++++++++++++
 fs/btrfs/uuid-tree.h |  2 ++
 3 files changed, 60 insertions(+), 3 deletions(-)
Signature · 1 line
2.47.2