xfs: Fix deadlock between AGI and AGF when target_ip exists in xfs_rename()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Kellen Renshaw |
Bug Description
SRU Justification:
[Impact]
* The xfs filesystem suffers from a deadlock issue in kernels < 5.5. This hangs IO to/from the affected filesystem. Sample backtraces added as a comment.
[Fix]
* 93597ae8dac0149
* This is from the upstream 5.5 kernel.
[Test Plan]
* Set up an Ubuntu Bionic/Focal installation using kernel 5.4.
* Create and mount an XFS filesystem on a block device.
* Exercise the filesystem to verify that IO does not hang.
[Where problems could occur]
* This patch could cause locking issues on XFS filesystems, requiring a system restart to correct.
[Other Info]
* Bug is difficult to reproduce, a test kernel on affected systems with the above patch prevented the issue.
* Backports to earlier (4.15 and earlier) kernels have been omitted as the upstream patch does not apply cleanly and the issue has not been reproduced on them.
CVE References
tags: | added: sts |
Changed in linux (Ubuntu Focal): | |
assignee: | nobody → Kellen Renshaw (krenshaw) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1966803
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.