2022-04-05 17:09:39 |
Andrew Vagin |
bug |
|
|
added bug |
2022-04-05 17:11:10 |
Andrew Vagin |
bug |
|
|
added subscriber Adrian |
2022-04-05 17:11:57 |
Andrew Vagin |
bug |
|
|
added subscriber Alexander Mikhalitsyn |
2022-04-06 15:37:38 |
Andrew Vagin |
bug |
|
|
added subscriber Kleber Sacilotto de Souza |
2022-04-06 21:00:44 |
Launchpad Janitor |
linux-azure (Ubuntu): status |
New |
Confirmed |
|
2022-04-07 10:21:32 |
Aleksandr Mikhalitsyn |
summary |
One overlayfs fix has not been backported to the 5.13 bracnh |
One overlayfs fix has not been backported to the 5.13 branch |
|
2022-04-07 11:10:29 |
Radostin Stoyanov |
bug |
|
|
added subscriber Radostin Stoyanov |
2022-04-12 15:29:47 |
Andrew Vagin |
bug |
|
|
added subscriber Marcelo Cerri |
2022-04-12 15:30:06 |
Andrew Vagin |
bug |
|
|
added subscriber Tim Gardner |
2022-04-14 15:27:48 |
Andrea Righi |
description |
The next patch has not been ported to the the 5.13 branch:
$ git show Ubuntu-azure-5.8-5.8.0-1033.35_20.04.1~656
commit 5f5716d1f7ece06c66d7d8145dd6b3a5886b3e56
Author: Alexander Mikhalitsyn <alexander@mihalicyn.com>
Date: Mon Apr 26 10:11:00 2021 +0200
UBUNTU: SAUCE: overlayfs: fix incorrect mnt_id of files opened from map_files
BugLink: https://bugs.launchpad.net/bugs/1857257
...
Fixes: d24b8a5 ("UBUNTU: SAUCE: overlayfs: allow with shiftfs as underlay")
But it isn't in the 5.13 branch:
$ git log --pretty=oneline origin/azure-5.13-next fs/overlayfs/file.c
1e6145d8708c831d2aa5c26aa15eb98e1a1683b9 ovl: fix use after free in struct ovl_aio_req
7b5bda27d1fc4d7bde20cf6ed203fe88c458169a ovl: fix IOCB_DIRECT if underlying fs doesn't support direct IO
1626e7f7ab7eb74e142fec7fe6b7c9614972a56b ovl: fix deadlock in splice write
1443bc4a25ca84d60d39a8ae1dc6215abdd637a4 UBUNTU: SAUCE: overlayfs: allow with shiftfs as underlay |
[Impact]
Starting with 5.13 we've incorrectly dropped the following sauce patch:
UBUNTU: SAUCE: overlayfs: fix incorrect mnt_id of files opened from map_files
This patch seems to be required to use overlayfs on top of shiftfs and without this patch we may break containers that rely on shiftfs (using zfs/ceph as storage pool w/ shiftfs enabled).
[Test case]
No specific test case provided.
[Fix]
The original SAUCE patch relies on AUFS in order to use vma->vm_prfile, but we're not providing AUFS anymore in jammy,.
The fix consists of re-apply this patch with a little refactoring to be dependent on CONFIG_AUFS_FS.
[Regression potential]
This patch is touching overlayfs, so we may see potential regressions in overlayfs.
[Original bug report]
The next patch has not been ported to the the 5.13 branch:
$ git show Ubuntu-azure-5.8-5.8.0-1033.35_20.04.1~656
commit 5f5716d1f7ece06c66d7d8145dd6b3a5886b3e56
Author: Alexander Mikhalitsyn <alexander@mihalicyn.com>
Date: Mon Apr 26 10:11:00 2021 +0200
UBUNTU: SAUCE: overlayfs: fix incorrect mnt_id of files opened from map_files
BugLink: https://bugs.launchpad.net/bugs/1857257
...
Fixes: d24b8a5 ("UBUNTU: SAUCE: overlayfs: allow with shiftfs as underlay")
But it isn't in the 5.13 branch:
$ git log --pretty=oneline origin/azure-5.13-next fs/overlayfs/file.c
1e6145d8708c831d2aa5c26aa15eb98e1a1683b9 ovl: fix use after free in struct ovl_aio_req
7b5bda27d1fc4d7bde20cf6ed203fe88c458169a ovl: fix IOCB_DIRECT if underlying fs doesn't support direct IO
1626e7f7ab7eb74e142fec7fe6b7c9614972a56b ovl: fix deadlock in splice write
1443bc4a25ca84d60d39a8ae1dc6215abdd637a4 UBUNTU: SAUCE: overlayfs: allow with shiftfs as underlay |
|
2022-04-19 07:32:13 |
Andrea Righi |
nominated for series |
|
Ubuntu Impish |
|
2022-04-19 07:32:13 |
Andrea Righi |
bug task added |
|
linux-azure (Ubuntu Impish) |
|
2022-04-19 07:32:13 |
Andrea Righi |
nominated for series |
|
Ubuntu Jammy |
|
2022-04-19 07:32:13 |
Andrea Righi |
bug task added |
|
linux-azure (Ubuntu Jammy) |
|
2022-04-19 07:33:24 |
Andrea Righi |
bug task added |
|
linux (Ubuntu) |
|
2022-04-19 07:33:31 |
Andrea Righi |
bug task deleted |
linux-azure (Ubuntu Jammy) |
|
|
2022-04-19 07:33:37 |
Andrea Righi |
bug task deleted |
linux-azure (Ubuntu Impish) |
|
|
2022-04-19 07:33:41 |
Andrea Righi |
bug task deleted |
linux-azure (Ubuntu) |
|
|
2022-04-19 07:33:56 |
Andrea Righi |
linux (Ubuntu Jammy): status |
New |
Fix Committed |
|
2022-04-19 07:35:21 |
Andrea Righi |
summary |
One overlayfs fix has not been backported to the 5.13 branch |
re-apply missing overlayfs SAUCE patch |
|
2022-04-19 07:50:02 |
Stefan Bader |
linux (Ubuntu Impish): importance |
Undecided |
Medium |
|
2022-04-19 07:50:02 |
Stefan Bader |
linux (Ubuntu Impish): status |
New |
In Progress |
|
2022-04-28 11:14:33 |
Ubuntu Kernel Bot |
tags |
kernel-bug |
kernel-bug verification-needed-jammy |
|
2022-05-05 12:30:21 |
Stefan Bader |
linux (Ubuntu Impish): status |
In Progress |
Fix Committed |
|
2022-05-06 20:59:21 |
Andrea Righi |
linux (Ubuntu Jammy): status |
Fix Committed |
In Progress |
|
2022-05-10 13:42:17 |
Ubuntu Kernel Bot |
tags |
kernel-bug verification-needed-jammy |
kernel-bug verification-needed-impish verification-needed-jammy |
|
2022-05-13 10:28:02 |
Ubuntu Kernel Bot |
tags |
kernel-bug verification-needed-impish verification-needed-jammy |
kernel-bug verification-needed-focal verification-needed-impish verification-needed-jammy |
|
2022-06-03 07:48:23 |
Launchpad Janitor |
linux (Ubuntu Impish): status |
Fix Committed |
Fix Released |
|
2022-06-03 07:48:23 |
Launchpad Janitor |
cve linked |
|
2022-1158 |
|
2022-06-03 07:48:23 |
Launchpad Janitor |
cve linked |
|
2022-21499 |
|
2022-06-03 07:48:23 |
Launchpad Janitor |
cve linked |
|
2022-28390 |
|
2022-06-03 07:50:01 |
Launchpad Janitor |
linux (Ubuntu Jammy): status |
In Progress |
Fix Released |
|
2022-06-13 11:15:55 |
Philipp Wendler |
bug |
|
|
added subscriber Philipp Wendler |
2022-08-01 19:36:36 |
Aleksandr Mikhalitsyn |
attachment added |
|
Jammy hwe-5.17 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1967924/+attachment/5606318/+files/jammy-hwe-5.17.tar.gz |
|
2022-08-01 21:51:35 |
Aleksandr Mikhalitsyn |
attachment added |
|
0001-UBUNTU-SAUCE-overlayfs-remove-CONFIG_AUFS_FS-depende.patch https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1967924/+attachment/5606321/+files/0001-UBUNTU-SAUCE-overlayfs-remove-CONFIG_AUFS_FS-depende.patch |
|
2022-08-01 21:57:54 |
Aleksandr Mikhalitsyn |
linux (Ubuntu): status |
Fix Committed |
In Progress |
|
2022-08-01 22:11:34 |
Aleksandr Mikhalitsyn |
tags |
kernel-bug verification-needed-focal verification-needed-impish verification-needed-jammy |
kernel-bug verification-failed-jammy verification-needed-focal verification-needed-impish |
|
2022-08-02 00:29:33 |
Ubuntu Foundations Team Bug Bot |
tags |
kernel-bug verification-failed-jammy verification-needed-focal verification-needed-impish |
kernel-bug patch verification-failed-jammy verification-needed-focal verification-needed-impish |
|
2022-08-02 00:29:33 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Terry Rudd |
2022-08-03 13:39:15 |
Aleksandr Mikhalitsyn |
description |
[Impact]
Starting with 5.13 we've incorrectly dropped the following sauce patch:
UBUNTU: SAUCE: overlayfs: fix incorrect mnt_id of files opened from map_files
This patch seems to be required to use overlayfs on top of shiftfs and without this patch we may break containers that rely on shiftfs (using zfs/ceph as storage pool w/ shiftfs enabled).
[Test case]
No specific test case provided.
[Fix]
The original SAUCE patch relies on AUFS in order to use vma->vm_prfile, but we're not providing AUFS anymore in jammy,.
The fix consists of re-apply this patch with a little refactoring to be dependent on CONFIG_AUFS_FS.
[Regression potential]
This patch is touching overlayfs, so we may see potential regressions in overlayfs.
[Original bug report]
The next patch has not been ported to the the 5.13 branch:
$ git show Ubuntu-azure-5.8-5.8.0-1033.35_20.04.1~656
commit 5f5716d1f7ece06c66d7d8145dd6b3a5886b3e56
Author: Alexander Mikhalitsyn <alexander@mihalicyn.com>
Date: Mon Apr 26 10:11:00 2021 +0200
UBUNTU: SAUCE: overlayfs: fix incorrect mnt_id of files opened from map_files
BugLink: https://bugs.launchpad.net/bugs/1857257
...
Fixes: d24b8a5 ("UBUNTU: SAUCE: overlayfs: allow with shiftfs as underlay")
But it isn't in the 5.13 branch:
$ git log --pretty=oneline origin/azure-5.13-next fs/overlayfs/file.c
1e6145d8708c831d2aa5c26aa15eb98e1a1683b9 ovl: fix use after free in struct ovl_aio_req
7b5bda27d1fc4d7bde20cf6ed203fe88c458169a ovl: fix IOCB_DIRECT if underlying fs doesn't support direct IO
1626e7f7ab7eb74e142fec7fe6b7c9614972a56b ovl: fix deadlock in splice write
1443bc4a25ca84d60d39a8ae1dc6215abdd637a4 UBUNTU: SAUCE: overlayfs: allow with shiftfs as underlay |
[Impact]
Starting with 5.13 we've incorrectly dropped the following sauce patch:
UBUNTU: SAUCE: overlayfs: fix incorrect mnt_id of files opened from map_files
This patch seems to be required to use overlayfs on top of shiftfs and without this patch we may break containers that rely on shiftfs (using zfs/ceph as storage pool w/ shiftfs enabled).
[Test case]
The following script can be used to trigger the issue:
#!/bin/bash
cat > test.py << EOF
import sys
f = open("/proc/self/maps")
for l in f.readlines():
if "python" not in l:
continue
print(l)
s = l.split()
start, end = s[0].split("-")
fname = s[-1]
print(start, end, fname)
break
else:
sys.exit(1)
test_file1 = open(fname)
test_file2 = open("/proc/self/map_files/%s-%s" % (start, end))
fdinfo1 = open("/proc/self/fdinfo/%d" % test_file1.fileno()).read()
fdinfo2 = open("/proc/self/fdinfo/%d" % test_file2.fileno()).read()
if fdinfo1 != fdinfo2:
print("FAIL")
print(test_file1)
print(fdinfo1)
print(test_file2)
print(fdinfo2)
sys.exit(1)
print("PASS")
EOF
sudo docker run -it --privileged --rm -v `pwd`:/mnt python python /mnt/test.py
[Fix]
The original SAUCE patch relies on AUFS in order to use vma->vm_prfile, but we're not providing AUFS anymore in jammy,.
The fix consists of re-apply this patch with a little refactoring to be dependent on CONFIG_AUFS_FS.
[Regression potential]
This patch is touching overlayfs, so we may see potential regressions in overlayfs.
[Original bug report]
The next patch has not been ported to the the 5.13 branch:
$ git show Ubuntu-azure-5.8-5.8.0-1033.35_20.04.1~656
commit 5f5716d1f7ece06c66d7d8145dd6b3a5886b3e56
Author: Alexander Mikhalitsyn <alexander@mihalicyn.com>
Date: Mon Apr 26 10:11:00 2021 +0200
UBUNTU: SAUCE: overlayfs: fix incorrect mnt_id of files opened from map_files
BugLink: https://bugs.launchpad.net/bugs/1857257
...
Fixes: d24b8a5 ("UBUNTU: SAUCE: overlayfs: allow with shiftfs as underlay")
But it isn't in the 5.13 branch:
$ git log --pretty=oneline origin/azure-5.13-next fs/overlayfs/file.c
1e6145d8708c831d2aa5c26aa15eb98e1a1683b9 ovl: fix use after free in struct ovl_aio_req
7b5bda27d1fc4d7bde20cf6ed203fe88c458169a ovl: fix IOCB_DIRECT if underlying fs doesn't support direct IO
1626e7f7ab7eb74e142fec7fe6b7c9614972a56b ovl: fix deadlock in splice write
1443bc4a25ca84d60d39a8ae1dc6215abdd637a4 UBUNTU: SAUCE: overlayfs: allow with shiftfs as underlay |
|
2022-09-02 17:48:00 |
Launchpad Janitor |
linux (Ubuntu): status |
In Progress |
Fix Released |
|