Bug 200407

Summary: Potential deadlock when mount a btrfs image
Product: File System Reporter: Wen Xu (wen.xu)
Component: btrfsAssignee: BTRFS virtual assignee (fs_btrfs)
Severity: normal CC: dsterba, wen.xu
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.18 Tree: Mainline
Regression: No
Attachments: The (compressed) crafted image which causes hangs

Description Wen Xu 2018-07-04 17:31:41 UTC
Created attachment 277171 [details]
The (compressed) crafted image which causes hangs

- Reproduce
# mkdir mnt
# mount -t btrfs 15.img mnt

Not clear about the reasons...

Found by Wen Xu and Po-Ning Tseng from SSLab at Gatech.
Comment 1 David Sterba 2019-05-21 12:29:47 UTC
Thanks for the report. Fixed by cf90d884b347c50 "btrfs: Introduce mount time chunk <-> dev extent mapping check", in 4.19.