Re: [PATCH v2] btrfs: relocation: Fix KASAN report about use-after-free due to dead reloc tree cleanup race

2019-09-25 Thread David Sterba
On Wed, Sep 25, 2019 at 10:57:49AM +0100, Filipe Manana wrote: > Reviewed-by: Filipe Manana > > Instead of such a long subject "btrfs: relocation: Fix KASAN report > about use-after-free due to dead reloc tree cleanup race", I would use > something smaller like "btrfs: fix use-after-free on dead

Re: [PATCH v2] btrfs: relocation: Fix KASAN report about use-after-free due to dead reloc tree cleanup race

2019-09-25 Thread Filipe Manana
On Wed, Sep 25, 2019 at 5:21 AM Qu Wenruo wrote: > > [BUG] > One user reported a reproduciable KASAN report about use-after-free: > BTRFS info (device sdi1): balance: start > -dvrange=1256811659264..1256811659265 > BTRFS info (device sdi1): relocating block group 1256811659264 flags > data|r

Re: [PATCH v2] btrfs: relocation: Fix KASAN report about use-after-free due to dead reloc tree cleanup race

2019-09-24 Thread David Sterba
On Mon, Sep 23, 2019 at 02:56:14PM +0800, Qu Wenruo wrote: > [BUG] > One user reported a reproduciable KASAN report about use-after-free: > BTRFS info (device sdi1): balance: start > -dvrange=1256811659264..1256811659265 > BTRFS info (device sdi1): relocating block group 1256811659264 flags >

Re: [PATCH v2] btrfs: relocation: Fix KASAN report about use-after-free due to dead reloc tree cleanup race

2019-09-23 Thread Josef Bacik
On Mon, Sep 23, 2019 at 02:56:14PM +0800, Qu Wenruo wrote: > [BUG] > One user reported a reproduciable KASAN report about use-after-free: > BTRFS info (device sdi1): balance: start > -dvrange=1256811659264..1256811659265 > BTRFS info (device sdi1): relocating block group 1256811659264 flags >

[PATCH v2] btrfs: relocation: Fix KASAN report about use-after-free due to dead reloc tree cleanup race

2019-09-22 Thread Qu Wenruo
[BUG] One user reported a reproduciable KASAN report about use-after-free: BTRFS info (device sdi1): balance: start -dvrange=1256811659264..1256811659265 BTRFS info (device sdi1): relocating block group 1256811659264 flags data|raid0 ==