2020-06-23 13:03:31 |
Christian Brauner |
bug |
|
|
added bug |
2020-06-23 13:03:36 |
Christian Brauner |
linux (Ubuntu): status |
New |
Incomplete |
|
2020-06-23 13:03:40 |
Christian Brauner |
linux (Ubuntu): status |
Incomplete |
In Progress |
|
2020-06-23 13:03:43 |
Christian Brauner |
linux (Ubuntu): assignee |
|
Christian Brauner (cbrauner) |
|
2020-06-23 13:03:50 |
Christian Brauner |
bug |
|
|
added subscriber Ubuntu Containers Team |
2020-06-23 13:04:12 |
Christian Brauner |
bug |
|
|
added subscriber Seth Forshee |
2020-07-01 03:32:31 |
Khaled El Mously |
nominated for series |
|
Ubuntu Eoan |
|
2020-07-01 03:32:31 |
Khaled El Mously |
bug task added |
|
linux (Ubuntu Eoan) |
|
2020-07-01 03:32:41 |
Khaled El Mously |
linux (Ubuntu Eoan): status |
New |
Fix Committed |
|
2020-07-03 11:32:17 |
Ubuntu Kernel Bot |
tags |
|
verification-needed-eoan |
|
2020-07-03 14:52:04 |
Christian Brauner |
tags |
verification-needed-eoan |
verification-done-eoan |
|
2020-07-27 15:04:04 |
Launchpad Janitor |
linux (Ubuntu Eoan): status |
Fix Committed |
Fix Released |
|
2020-07-27 15:04:04 |
Launchpad Janitor |
cve linked |
|
2019-16089 |
|
2020-07-27 15:04:04 |
Launchpad Janitor |
cve linked |
|
2019-19642 |
|
2020-07-27 15:04:04 |
Launchpad Janitor |
cve linked |
|
2020-10757 |
|
2020-07-27 15:04:04 |
Launchpad Janitor |
cve linked |
|
2020-11935 |
|
2020-08-03 15:08:57 |
Stéphane Graber |
linux (Ubuntu): status |
In Progress |
Fix Released |
|
2020-08-03 20:23:36 |
Kelsey Steele |
nominated for series |
|
Ubuntu Focal |
|
2020-08-03 20:23:36 |
Kelsey Steele |
bug task added |
|
linux (Ubuntu Focal) |
|
2020-08-03 20:23:43 |
Kelsey Steele |
linux (Ubuntu Focal): status |
New |
Fix Committed |
|
2020-08-10 14:17:41 |
Ubuntu Kernel Bot |
tags |
verification-done-eoan |
verification-done-eoan verification-needed-focal |
|
2020-08-27 12:50:07 |
Stefan Bader |
description |
SRU Justification
Impact: The patch
commit cfaa482afb97e3c05d020af80b897b061109d51f
Author: Christian Brauner <christian.brauner@ubuntu.com>
Date: Tue Apr 14 22:26:53 2020 +0200
UBUNTU: SAUCE: shiftfs: fix dentry revalidation
BugLink: https://bugs.launchpad.net/bugs/1872757
to fix https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1872757
regresses various btrfs + shiftfs users. Creating a btrfs subvolume,
deleting it, and then trying to recreate it will cause EEXIST to be returned.
It also leaves some files in a half-visible state because they are not revalidated
correctly.
Faulty behavior such as this can be reproduced via:
btrfs subvolume create my-subvol
btrfs subvolume delete my-subvol
Fix: We need to revert this patch restoring the old behavior. This will briefly
resurface https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1872757 which I will fix in a follow-up patch on top of this revert. We basically split the part that fixes https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1872757 out of the revert.
Regression Potential: Limited to shiftfs.
Test Case: Build a kernel with fix applied and run above reproducer. |
SRU Justification
Impact: The patch
commit cfaa482afb97e3c05d020af80b897b061109d51f
Author: Christian Brauner <christian.brauner@ubuntu.com>
Date: Tue Apr 14 22:26:53 2020 +0200
UBUNTU: SAUCE: shiftfs: fix dentry revalidation
BugLink: https://bugs.launchpad.net/bugs/1872757
to fix https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1872757
regresses various btrfs + shiftfs users. Creating a btrfs subvolume,
deleting it, and then trying to recreate it will cause EEXIST to be returned.
It also leaves some files in a half-visible state because they are not revalidated
correctly.
Faulty behavior such as this can be reproduced via:
btrfs subvolume create my-subvol
btrfs subvolume delete my-subvol
Fix: We need to revert this patch restoring the old behavior. This will briefly
resurface https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1872757 which I will fix in a follow-up patch on top of this revert. We basically split the part that fixes https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1872757 out of the revert.
Regression Potential: Limited to shiftfs.
Test Case:
sudo snap install lxd --edge
sudo snap set lxd shiftfs.enable=true
sudo systemctl restart snap.lxd.daemon
sudo lxd init --auto --storage-backend=btrfs
lxc launch images:ubuntu/focal f1
lxc shell f1
apt-get install btrfs-progs
findmnt | grep shiftfs # This should show that the rootfs is a shiftfs mount.
btrfs subvolume create my-subvol
btrfs subvolume delete my-subvol # Fails [1] with current updates kernel
btrfs subvolume create my-subvol
ls -al
[1] ERROR: Could not statfs: No such file or directory |
|
2020-08-27 13:09:50 |
Stefan Bader |
tags |
verification-done-eoan verification-needed-focal |
verification-done-eoan verification-done-focal |
|
2020-08-31 13:57:07 |
Launchpad Janitor |
linux (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|