Re: [BUG 5.3-rc5] rwsem: use after free on task_struct if task exits with rwsem held

2019-08-19 Thread Waiman Long
On 8/19/19 2:47 AM, Dave Chinner wrote: > Hi folks, > > In trying to track down an XFS regression, I stumbled across KASAN > warnings about use-after-free behave in rwsems. > > Essentially, the XFS regression is triggering an ASSERT, which is > BUG()ing a kernel thread that is holding the

[BUG 5.3-rc5] rwsem: use after free on task_struct if task exits with rwsem held

2019-08-19 Thread Dave Chinner
Hi folks, In trying to track down an XFS regression, I stumbled across KASAN warnings about use-after-free behave in rwsems. Essentially, the XFS regression is triggering an ASSERT, which is BUG()ing a kernel thread that is holding the superblock s_umount rwsem in write mode (it is a mount