Re: WARNING in md_ioctl

2020-10-21 Thread Dae R. Jeong
> > > diff --git i/drivers/md/md.c w/drivers/md/md.c > > > index 6072782070230..49442a3f4605b 100644 > > > --- i/drivers/md/md.c > > > +++ w/drivers/md/md.c > > > @@ -7591,8 +7591,10 @@ static int md_ioctl(struct block_device *bdev, > > > fmode_t mode, > > > err = -EBUSY; >

Re: WARNING in md_ioctl

2020-10-20 Thread Song Liu
On Mon, Oct 19, 2020 at 12:03 AM Dae R. Jeong wrote: > > > diff --git i/drivers/md/md.c w/drivers/md/md.c > > index 6072782070230..49442a3f4605b 100644 > > --- i/drivers/md/md.c > > +++ w/drivers/md/md.c > > @@ -7591,8 +7591,10 @@ static int md_ioctl(struct block_device *bdev, > > fmode_t mode, >

Re: WARNING in md_ioctl

2020-10-19 Thread Dae R. Jeong
> diff --git i/drivers/md/md.c w/drivers/md/md.c > index 6072782070230..49442a3f4605b 100644 > --- i/drivers/md/md.c > +++ w/drivers/md/md.c > @@ -7591,8 +7591,10 @@ static int md_ioctl(struct block_device *bdev, > fmode_t mode, > err = -EBUSY; > goto

Re: WARNING in md_ioctl

2020-10-18 Thread Song Liu
On Sat, Oct 17, 2020 at 4:13 AM Dae R. Jeong wrote: > > Hi, > > I looked into the warning "WARNING in md_ioctl" found by Syzkaller. > (https://syzkaller.appspot.com/bug?id=fbf9eaea2e65bfcabb4e2750c3ab0892867edea1) > I suspect that it is caused by a race between

WARNING in md_ioctl

2020-10-17 Thread Dae R. Jeong
Hi, I looked into the warning "WARNING in md_ioctl" found by Syzkaller. (https://syzkaller.appspot.com/bug?id=fbf9eaea2e65bfcabb4e2750c3ab0892867edea1) I suspect that it is caused by a race between two concurrenct ioctl()s as belows. CPU1 (md_ioctl()) CPU2

WARNING in md_ioctl

2018-04-29 Thread syzbot
Hello, syzbot hit the following crash on upstream commit c61a56ababa404961fa769a2b24229f18e461961 (Sun Apr 29 17:06:05 2018 +) Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=1e46a0