2021-10-12 01:58:21 |
Andrew Berry |
bug |
|
|
added bug |
2021-10-12 11:09:10 |
Colin Ian King |
zfs-linux (Ubuntu): importance |
Undecided |
High |
|
2021-10-12 11:09:13 |
Colin Ian King |
zfs-linux (Ubuntu): status |
New |
Triaged |
|
2021-10-12 11:15:29 |
Colin Ian King |
nominated for series |
|
Ubuntu Hirsute |
|
2021-10-12 11:15:29 |
Colin Ian King |
bug task added |
|
zfs-linux (Ubuntu Hirsute) |
|
2021-10-12 11:15:29 |
Colin Ian King |
nominated for series |
|
Ubuntu Impish |
|
2021-10-12 11:15:29 |
Colin Ian King |
bug task added |
|
zfs-linux (Ubuntu Impish) |
|
2021-10-12 11:15:29 |
Colin Ian King |
nominated for series |
|
Ubuntu Focal |
|
2021-10-12 11:15:29 |
Colin Ian King |
bug task added |
|
zfs-linux (Ubuntu Focal) |
|
2021-10-12 11:15:43 |
Colin Ian King |
zfs-linux (Ubuntu Impish): status |
Triaged |
Fix Released |
|
2021-10-12 11:15:48 |
Colin Ian King |
zfs-linux (Ubuntu Focal): importance |
Undecided |
High |
|
2021-10-12 11:15:49 |
Colin Ian King |
zfs-linux (Ubuntu Hirsute): importance |
Undecided |
High |
|
2021-10-12 11:16:29 |
Colin Ian King |
zfs-linux (Ubuntu Hirsute): status |
New |
In Progress |
|
2021-10-12 11:16:32 |
Colin Ian King |
zfs-linux (Ubuntu Focal): status |
New |
In Progress |
|
2021-10-12 11:16:35 |
Colin Ian King |
zfs-linux (Ubuntu Focal): assignee |
|
Colin Ian King (colin-king) |
|
2021-10-12 11:16:37 |
Colin Ian King |
zfs-linux (Ubuntu Hirsute): assignee |
|
Colin Ian King (colin-king) |
|
2021-10-12 15:29:10 |
Colin Ian King |
description |
As mentioned at https://answers.launchpad.net/ubuntu/+source/zfs-linux/+question/696659, the following pull request fixes a panic acquiring a lock: https://github.com/openzfs/zfs/pull/11682
This fix does not appear to be a part of the latest Ubuntu 20.04 release:
zfsutils-linux:
Installed: 0.8.3-1ubuntu12.12
Candidate: 0.8.3-1ubuntu12.12
Version table:
*** 0.8.3-1ubuntu12.12 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
100 /var/lib/dpkg/status
0.8.3-1ubuntu12.9 500
500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
0.8.3-1ubuntu12 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
Of note is this issue where the bug is reported against the Ubuntu 0.8.3 packages: https://github.com/openzfs/zfs/issues/10642 |
== SRU Focal/Hirsute ==
[Impact]
ZFS: Fix a panic while acquiring a lock.
If TX_WRITE is create on a file, and the file is later deleted and a new
directory is created on the same object id, it is possible that when
zil_commit happens, zfs_get_data will be called on the new directory.
This may result in panic as it tries to do range lock.
Upstream ZFS bug #10593, #11682, upstream fix:
commit 296a4a369bc1078a694f88570972330985b3b1b8
Author: Chunwei Chen <tuxoko@gmail.com>
Date: Fri Mar 19 22:53:31 2021 -0700
Fix zfs_get_data access to files with wrong generation
This patch fixes this issue by record the generation number during
zfs_log_write, so zfs_get_data can check if the object is valid.
The fix is already in Ubuntu ZFS 2.0.6 in Impish. The fix is a relatively simple backport with only minor backporting effort required in moving some of the module specific upstream changes into the pre-renamed module specific os specific parts of the ZFS module.
[Test Plan]
This is difficult to reproduce, see https://github.com/openzfs/zfs/issues/10593
The fix has been tested with the complete ubuntu autotest ZFS regression tests that exercise ZFS core functionality (smoke tests), file system POSIX compliance (fs tests), extra XFS tests and every mount option with stress-ng file I/O stress tests.
[Where problems could occur]
This fix could regress the ZIL (ZFS intent log) commit writes since it modifies this code to now checks for generation numbers. Testing with ZFS autotests with intent logs have not found any regressions, but there is a risk that the ZIL functionality is affected. This could lead to corruption.
------
As mentioned at https://answers.launchpad.net/ubuntu/+source/zfs-linux/+question/696659, the following pull request fixes a panic acquiring a lock: https://github.com/openzfs/zfs/pull/11682
This fix does not appear to be a part of the latest Ubuntu 20.04 release:
zfsutils-linux:
Installed: 0.8.3-1ubuntu12.12
Candidate: 0.8.3-1ubuntu12.12
Version table:
*** 0.8.3-1ubuntu12.12 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
100 /var/lib/dpkg/status
0.8.3-1ubuntu12.9 500
500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
0.8.3-1ubuntu12 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
Of note is this issue where the bug is reported against the Ubuntu 0.8.3 packages: https://github.com/openzfs/zfs/issues/10642 |
|
2021-10-12 15:30:15 |
Colin Ian King |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2021-10-12 15:30:21 |
Colin Ian King |
zfs-linux (Ubuntu Impish): assignee |
|
Colin Ian King (colin-king) |
|
2021-10-12 15:30:26 |
Colin Ian King |
zfs-linux (Ubuntu Impish): assignee |
Colin Ian King (colin-king) |
|
|
2021-10-12 15:30:46 |
Colin Ian King |
zfs-linux (Ubuntu Impish): assignee |
|
Dimitri John Ledkov (xnox) |
|
2021-10-12 15:30:56 |
Colin Ian King |
zfs-linux (Ubuntu Hirsute): assignee |
Colin Ian King (colin-king) |
Dimitri John Ledkov (xnox) |
|
2021-10-12 15:31:38 |
Colin Ian King |
zfs-linux (Ubuntu Impish): status |
Fix Released |
In Progress |
|
2021-10-19 18:42:47 |
Brian Murray |
zfs-linux (Ubuntu Hirsute): status |
In Progress |
Fix Committed |
|
2021-10-19 18:42:50 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2021-10-19 18:43:36 |
Brian Murray |
zfs-linux (Ubuntu Impish): status |
In Progress |
Fix Released |
|
2021-10-20 01:20:41 |
Chris Halse Rogers |
zfs-linux (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2021-11-20 14:03:34 |
Colin Ian King |
zfs-linux (Ubuntu Focal): assignee |
Colin Ian King (colin-king) |
|
|
2021-11-20 14:03:49 |
Colin Ian King |
zfs-linux (Ubuntu Focal): assignee |
|
Dimitri John Ledkov (xnox) |
|
2021-12-05 05:18:35 |
Mathew Hodson |
zfs-linux (Ubuntu): status |
In Progress |
Fix Released |
|
2022-01-04 14:20:09 |
Andy Whitcroft |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2022-01-04 14:20:06 |
Launchpad Janitor |
zfs-linux (Ubuntu Hirsute): status |
Fix Committed |
Fix Released |
|
2022-01-24 16:11:10 |
Dimitri John Ledkov |
bug watch added |
|
https://github.com/openzfs/zfs/issues/10642 |
|
2022-03-28 12:06:57 |
Heitor Alves de Siqueira |
bug |
|
|
added subscriber Heitor Alves de Siqueira |
2022-04-28 15:33:02 |
Dimitri John Ledkov |
tags |
|
verification-done verification-done-focal |
|
2022-05-18 02:51:43 |
Launchpad Janitor |
zfs-linux (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|