shiftfs: allow changing ro/rw for subvolumes
Bug #1832316 reported by
Christian Brauner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Christian Brauner | ||
Disco |
Fix Released
|
Medium
|
Unassigned |
Bug Description
SRU Justification
Impact: Stéphane reported regression for btrfs workloads employing shiftfs.
Unprivileged users can already toggle whether a subvolume will be ro or
rw. This is broken on current shiftfs as we haven't whitelisted these
ioctls().
Fix: To enable this with shiftfs we need to whitelist BTRFS_IOC_FS_INFO,
BTRFS_IOC_
be safe for unprivileged users.
Regression Potential: Limited to shiftfs.
Test Case: Tested with LXD running shiftfs on top of btrfs and verified
btrfs subvolumes can be made ro or rw.
CVE References
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
status: | Confirmed → In Progress |
assignee: | nobody → Christian Brauner (cbrauner) |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Disco): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Disco): | |
status: | New → Fix Committed |
To post a comment you must log in.
See /git.launchpad. net/~cbrauner/ ubuntu/ +source/ linux/+ git/disco/ log/?h= 2019-05- 07/shiftfs_ btrfs_ioctls
https:/