Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-26 Thread Ming Lei
On Sat, Mar 27, 2021 at 1:01 AM syzbot wrote: > > Hello, > > syzbot has tested the proposed patch but the reproducer is still triggering > an issue: > WARNING in kvm_wait > > [ cut here ] > raw_local_irq_restore() called with IRQs enabled > WARNING: CPU: 1 PID: 10753 at ke

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-26 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: WARNING in kvm_wait [ cut here ] raw_local_irq_restore() called with IRQs enabled WARNING: CPU: 1 PID: 10753 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x1d/0x20

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-26 Thread Ming Lei
On Sun, Mar 14, 2021 at 7:10 PM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:280d542f Merge tag 'drm-fixes-2021-03-05' of git://anongit.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15ade5aed0 > kernel config:

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-24 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: KASAN: use-after-free Read in bdgrab == BUG: KASAN: use-after-free in bdgrab+0x4c/0x50 fs/block_dev.c:929 Read of size 8 at addr 888016

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-24 Thread Christoph Hellwig
#syz test: git://git.infradead.org/users/hch/block.git part-iter-fix On Sun, Mar 21, 2021 at 05:40:05AM -0700, syzbot wrote: > syzbot has bisected this issue to: > > commit a33df75c6328bf40078b35f2040d8e54d574c357 > Author: Christoph Hellwig > Date: Sun Jan 24 10:02:41 2021 + > > blo

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-22 Thread Bart Van Assche
On 3/22/21 12:18 AM, Christoph Hellwig wrote: I've been running the reproducer on a KASAN enable VM for about 15 minutes now, but haven't been able to reproduce it. Is there a way to inject this proposed fix into the syzbot queue? diff --git a/block/partitions/core.c b/block/partitions/core.c i

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-22 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: KASAN: use-after-free Read in bdgrab == BUG: KASAN: use-after-free in bdgrab+0x4c/0x50 fs/block_dev.c:938 Read of size 8 at addr 888144

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-22 Thread Ming Lei
On Sun, Mar 14, 2021 at 7:10 PM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:280d542f Merge tag 'drm-fixes-2021-03-05' of git://anongit.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15ade5aed0 > kernel config:

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-22 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: KASAN: use-after-free Read in disk_part_iter_next == BUG: KASAN: use-after-free in bdev_nr_sectors include/linux/genhd.h:266 [inline] BUG:

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-22 Thread Dmitry Vyukov
On Mon, Mar 22, 2021 at 8:18 AM Christoph Hellwig wrote: > > I've been running the reproducer on a KASAN enable VM for about > 15 minutes now, but haven't been able to reproduce it. > > Is there a way to inject this proposed fix into the syzbot queue? Hi Christoph, Yes, since this bug has a repr

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-22 Thread Christoph Hellwig
I've been running the reproducer on a KASAN enable VM for about 15 minutes now, but haven't been able to reproduce it. Is there a way to inject this proposed fix into the syzbot queue? diff --git a/block/partitions/core.c b/block/partitions/core.c index 1a7558917c47d6..f5d5872b89d57e 100644 --- a

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-21 Thread Bart Van Assche
On 3/21/21 7:35 PM, Ming Lei wrote: > On Mon, Mar 22, 2021 at 7:03 AM Bart Van Assche wrote: >> >> On 3/14/21 4:08 AM, syzbot wrote: >>> syzbot found the following issue on: >>> >>> HEAD commit:280d542f Merge tag 'drm-fixes-2021-03-05' of git://anongit.. >>> git tree: upstream >>> consol

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-21 Thread Ming Lei
On Mon, Mar 22, 2021 at 7:03 AM Bart Van Assche wrote: > > On 3/14/21 4:08 AM, syzbot wrote: > > syzbot found the following issue on: > > > > HEAD commit:280d542f Merge tag 'drm-fixes-2021-03-05' of git://anongit.. > > git tree: upstream > > console output: https://syzkaller.appspot.com/

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-21 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: KASAN: use-after-free Read in disk_part_iter_next == BUG: KASAN: use-after-free in bdev_nr_sectors include/linux/genhd.h:266 [inline] BUG:

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-21 Thread Bart Van Assche
On 3/14/21 4:08 AM, syzbot wrote: > syzbot found the following issue on: > > HEAD commit:280d542f Merge tag 'drm-fixes-2021-03-05' of git://anongit.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15ade5aed0 > kernel config: https://syzkaller.appspo

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-21 Thread syzbot
syzbot has bisected this issue to: commit a33df75c6328bf40078b35f2040d8e54d574c357 Author: Christoph Hellwig Date: Sun Jan 24 10:02:41 2021 + block: use an xarray for disk->part_tbl bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=17989906d0 start commit: 1c273e10 Me

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-20 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:1c273e10 Merge tag 'zonefs-5.12-rc4' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16889906d0 kernel config: https://syzkaller.appspot.com/x/.config?x=6abda33

[syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-14 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:280d542f Merge tag 'drm-fixes-2021-03-05' of git://anongit.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15ade5aed0 kernel config: https://syzkaller.appspot.com/x/.config?x=952047a9dbff6a6a das