linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG: unable to handle kernel paging request in xfs_sb_read_verify
@ 2019-11-30  7:57 syzbot
  2019-11-30  7:58 ` Dmitry Vyukov
  2020-02-28  8:01 ` syzbot
  0 siblings, 2 replies; 5+ messages in thread
From: syzbot @ 2019-11-30  7:57 UTC (permalink / raw)
  To: allison.henderson, bfoster, darrick.wong, dchinner, linux-kernel,
	linux-xfs, sandeen, syzkaller-bugs

Hello,

syzbot found the following crash on:

HEAD commit:    419593da Add linux-next specific files for 20191129
git tree:       linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=10cecb36e00000
kernel config:  https://syzkaller.appspot.com/x/.config?x=7c04b0959e75c206
dashboard link: https://syzkaller.appspot.com/bug?extid=6be2cbddaad2e32b47a0
compiler:       gcc (GCC) 9.0.0 20181231 (experimental)

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+6be2cbddaad2e32b47a0@syzkaller.appspotmail.com

BUG: unable to handle page fault for address: fffff52002e00000
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 21ffee067 P4D 21ffee067 PUD aa11c067 PMD 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 2938 Comm: kworker/0:2 Not tainted  
5.4.0-next-20191129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS  
Google 01/01/2011
Workqueue: xfs-buf/loop3 xfs_buf_ioend_work
RIP: 0010:xfs_sb_read_verify+0xf0/0x540 fs/xfs/libxfs/xfs_sb.c:691
Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 18 04 00 00 4d 8b ac 24 30 01  
00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <0f> b6 04 02 84  
c0 74 08 3c 03 0f 8e a7 03 00 00 41 8b 75 00 bf 58
RSP: 0018:ffffc90007e5faf0 EFLAGS: 00010a06
RAX: dffffc0000000000 RBX: 1ffff92000fcbf61 RCX: ffffffff82acb516
RDX: 1ffff92002e00000 RSI: ffffffff82a97e3b RDI: ffff888091bada60
RBP: ffffc90007e5fcd0 R08: ffff88809f3c2040 R09: ffffed1015cc7045
R10: ffffed1015cc7044 R11: ffff8880ae638223 R12: ffff888091bad940
R13: ffffc90017000000 R14: ffffc90007e5fca8 R15: ffff88809feb8000
FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffff52002e00000 CR3: 0000000069ceb000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
  xfs_buf_ioend+0x3f9/0xde0 fs/xfs/xfs_buf.c:1162
  xfs_buf_ioend_work+0x19/0x20 fs/xfs/xfs_buf.c:1183
  process_one_work+0x9af/0x1740 kernel/workqueue.c:2264
  worker_thread+0x98/0xe40 kernel/workqueue.c:2410
  kthread+0x361/0x430 kernel/kthread.c:255
  ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Modules linked in:
CR2: fffff52002e00000
---[ end trace aef83d995322cc4a ]---
RIP: 0010:xfs_sb_read_verify+0xf0/0x540 fs/xfs/libxfs/xfs_sb.c:691
Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 18 04 00 00 4d 8b ac 24 30 01  
00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <0f> b6 04 02 84  
c0 74 08 3c 03 0f 8e a7 03 00 00 41 8b 75 00 bf 58
RSP: 0018:ffffc90007e5faf0 EFLAGS: 00010a06
RAX: dffffc0000000000 RBX: 1ffff92000fcbf61 RCX: ffffffff82acb516
RDX: 1ffff92002e00000 RSI: ffffffff82a97e3b RDI: ffff888091bada60
RBP: ffffc90007e5fcd0 R08: ffff88809f3c2040 R09: ffffed1015cc7045
R10: ffffed1015cc7044 R11: ffff8880ae638223 R12: ffff888091bad940
R13: ffffc90017000000 R14: ffffc90007e5fca8 R15: ffff88809feb8000
FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffff52002e00000 CR3: 0000000069ceb000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BUG: unable to handle kernel paging request in xfs_sb_read_verify
  2019-11-30  7:57 BUG: unable to handle kernel paging request in xfs_sb_read_verify syzbot
@ 2019-11-30  7:58 ` Dmitry Vyukov
  2019-11-30  8:00   ` Dmitry Vyukov
  2020-02-28  8:01 ` syzbot
  1 sibling, 1 reply; 5+ messages in thread
From: Dmitry Vyukov @ 2019-11-30  7:58 UTC (permalink / raw)
  To: syzbot, Daniel Axtens, kasan-dev
  Cc: allison.henderson, Brian Foster, Darrick J. Wong, dchinner, LKML,
	linux-xfs, sandeen, syzkaller-bugs

On Sat, Nov 30, 2019 at 8:57 AM syzbot
<syzbot+6be2cbddaad2e32b47a0@syzkaller.appspotmail.com> wrote:
>
> Hello,
>
> syzbot found the following crash on:
>
> HEAD commit:    419593da Add linux-next specific files for 20191129
> git tree:       linux-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=10cecb36e00000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=7c04b0959e75c206
> dashboard link: https://syzkaller.appspot.com/bug?extid=6be2cbddaad2e32b47a0
> compiler:       gcc (GCC) 9.0.0 20181231 (experimental)
>
> Unfortunately, I don't have any reproducer for this crash yet.
>
> IMPORTANT: if you fix the bug, please add the following tag to the commit:
> Reported-by: syzbot+6be2cbddaad2e32b47a0@syzkaller.appspotmail.com

+Daniel, kasan-dev
This is presumably from the new CONFIG_KASAN_VMALLOC


> BUG: unable to handle page fault for address: fffff52002e00000
> #PF: supervisor read access in kernel mode
> #PF: error_code(0x0000) - not-present page
> PGD 21ffee067 P4D 21ffee067 PUD aa11c067 PMD 0
> Oops: 0000 [#1] PREEMPT SMP KASAN
> CPU: 0 PID: 2938 Comm: kworker/0:2 Not tainted
> 5.4.0-next-20191129-syzkaller #0
> Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
> Google 01/01/2011
> Workqueue: xfs-buf/loop3 xfs_buf_ioend_work
> RIP: 0010:xfs_sb_read_verify+0xf0/0x540 fs/xfs/libxfs/xfs_sb.c:691
> Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 18 04 00 00 4d 8b ac 24 30 01
> 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <0f> b6 04 02 84
> c0 74 08 3c 03 0f 8e a7 03 00 00 41 8b 75 00 bf 58
> RSP: 0018:ffffc90007e5faf0 EFLAGS: 00010a06
> RAX: dffffc0000000000 RBX: 1ffff92000fcbf61 RCX: ffffffff82acb516
> RDX: 1ffff92002e00000 RSI: ffffffff82a97e3b RDI: ffff888091bada60
> RBP: ffffc90007e5fcd0 R08: ffff88809f3c2040 R09: ffffed1015cc7045
> R10: ffffed1015cc7044 R11: ffff8880ae638223 R12: ffff888091bad940
> R13: ffffc90017000000 R14: ffffc90007e5fca8 R15: ffff88809feb8000
> FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
> CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: fffff52002e00000 CR3: 0000000069ceb000 CR4: 00000000001406f0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> Call Trace:
>   xfs_buf_ioend+0x3f9/0xde0 fs/xfs/xfs_buf.c:1162
>   xfs_buf_ioend_work+0x19/0x20 fs/xfs/xfs_buf.c:1183
>   process_one_work+0x9af/0x1740 kernel/workqueue.c:2264
>   worker_thread+0x98/0xe40 kernel/workqueue.c:2410
>   kthread+0x361/0x430 kernel/kthread.c:255
>   ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
> Modules linked in:
> CR2: fffff52002e00000
> ---[ end trace aef83d995322cc4a ]---
> RIP: 0010:xfs_sb_read_verify+0xf0/0x540 fs/xfs/libxfs/xfs_sb.c:691
> Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 18 04 00 00 4d 8b ac 24 30 01
> 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <0f> b6 04 02 84
> c0 74 08 3c 03 0f 8e a7 03 00 00 41 8b 75 00 bf 58
> RSP: 0018:ffffc90007e5faf0 EFLAGS: 00010a06
> RAX: dffffc0000000000 RBX: 1ffff92000fcbf61 RCX: ffffffff82acb516
> RDX: 1ffff92002e00000 RSI: ffffffff82a97e3b RDI: ffff888091bada60
> RBP: ffffc90007e5fcd0 R08: ffff88809f3c2040 R09: ffffed1015cc7045
> R10: ffffed1015cc7044 R11: ffff8880ae638223 R12: ffff888091bad940
> R13: ffffc90017000000 R14: ffffc90007e5fca8 R15: ffff88809feb8000
> FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
> CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: fffff52002e00000 CR3: 0000000069ceb000 CR4: 00000000001406f0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
>
>
> ---
> This bug is generated by a bot. It may contain errors.
> See https://goo.gl/tpsmEJ for more information about syzbot.
> syzbot engineers can be reached at syzkaller@googlegroups.com.
>
> syzbot will keep track of this bug report. See:
> https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
>
> --
> You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/0000000000005f386305988bb15f%40google.com.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BUG: unable to handle kernel paging request in xfs_sb_read_verify
  2019-11-30  7:58 ` Dmitry Vyukov
@ 2019-11-30  8:00   ` Dmitry Vyukov
  0 siblings, 0 replies; 5+ messages in thread
From: Dmitry Vyukov @ 2019-11-30  8:00 UTC (permalink / raw)
  To: syzbot, Daniel Axtens, kasan-dev
  Cc: allison.henderson, Brian Foster, Darrick J. Wong, dchinner, LKML,
	linux-xfs, sandeen, syzkaller-bugs

On Sat, Nov 30, 2019 at 8:58 AM Dmitry Vyukov <dvyukov@google.com> wrote:
>
> On Sat, Nov 30, 2019 at 8:57 AM syzbot
> <syzbot+6be2cbddaad2e32b47a0@syzkaller.appspotmail.com> wrote:
> >
> > Hello,
> >
> > syzbot found the following crash on:
> >
> > HEAD commit:    419593da Add linux-next specific files for 20191129
> > git tree:       linux-next
> > console output: https://syzkaller.appspot.com/x/log.txt?x=10cecb36e00000
> > kernel config:  https://syzkaller.appspot.com/x/.config?x=7c04b0959e75c206
> > dashboard link: https://syzkaller.appspot.com/bug?extid=6be2cbddaad2e32b47a0
> > compiler:       gcc (GCC) 9.0.0 20181231 (experimental)
> >
> > Unfortunately, I don't have any reproducer for this crash yet.
> >
> > IMPORTANT: if you fix the bug, please add the following tag to the commit:
> > Reported-by: syzbot+6be2cbddaad2e32b47a0@syzkaller.appspotmail.com
>
> +Daniel, kasan-dev
> This is presumably from the new CONFIG_KASAN_VMALLOC

This should be:
#syz fix: kasan: support vmalloc backing of vm_map_ram()

> > BUG: unable to handle page fault for address: fffff52002e00000
> > #PF: supervisor read access in kernel mode
> > #PF: error_code(0x0000) - not-present page
> > PGD 21ffee067 P4D 21ffee067 PUD aa11c067 PMD 0
> > Oops: 0000 [#1] PREEMPT SMP KASAN
> > CPU: 0 PID: 2938 Comm: kworker/0:2 Not tainted
> > 5.4.0-next-20191129-syzkaller #0
> > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
> > Google 01/01/2011
> > Workqueue: xfs-buf/loop3 xfs_buf_ioend_work
> > RIP: 0010:xfs_sb_read_verify+0xf0/0x540 fs/xfs/libxfs/xfs_sb.c:691
> > Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 18 04 00 00 4d 8b ac 24 30 01
> > 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <0f> b6 04 02 84
> > c0 74 08 3c 03 0f 8e a7 03 00 00 41 8b 75 00 bf 58
> > RSP: 0018:ffffc90007e5faf0 EFLAGS: 00010a06
> > RAX: dffffc0000000000 RBX: 1ffff92000fcbf61 RCX: ffffffff82acb516
> > RDX: 1ffff92002e00000 RSI: ffffffff82a97e3b RDI: ffff888091bada60
> > RBP: ffffc90007e5fcd0 R08: ffff88809f3c2040 R09: ffffed1015cc7045
> > R10: ffffed1015cc7044 R11: ffff8880ae638223 R12: ffff888091bad940
> > R13: ffffc90017000000 R14: ffffc90007e5fca8 R15: ffff88809feb8000
> > FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
> > CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> > CR2: fffff52002e00000 CR3: 0000000069ceb000 CR4: 00000000001406f0
> > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> > Call Trace:
> >   xfs_buf_ioend+0x3f9/0xde0 fs/xfs/xfs_buf.c:1162
> >   xfs_buf_ioend_work+0x19/0x20 fs/xfs/xfs_buf.c:1183
> >   process_one_work+0x9af/0x1740 kernel/workqueue.c:2264
> >   worker_thread+0x98/0xe40 kernel/workqueue.c:2410
> >   kthread+0x361/0x430 kernel/kthread.c:255
> >   ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
> > Modules linked in:
> > CR2: fffff52002e00000
> > ---[ end trace aef83d995322cc4a ]---
> > RIP: 0010:xfs_sb_read_verify+0xf0/0x540 fs/xfs/libxfs/xfs_sb.c:691
> > Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 18 04 00 00 4d 8b ac 24 30 01
> > 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <0f> b6 04 02 84
> > c0 74 08 3c 03 0f 8e a7 03 00 00 41 8b 75 00 bf 58
> > RSP: 0018:ffffc90007e5faf0 EFLAGS: 00010a06
> > RAX: dffffc0000000000 RBX: 1ffff92000fcbf61 RCX: ffffffff82acb516
> > RDX: 1ffff92002e00000 RSI: ffffffff82a97e3b RDI: ffff888091bada60
> > RBP: ffffc90007e5fcd0 R08: ffff88809f3c2040 R09: ffffed1015cc7045
> > R10: ffffed1015cc7044 R11: ffff8880ae638223 R12: ffff888091bad940
> > R13: ffffc90017000000 R14: ffffc90007e5fca8 R15: ffff88809feb8000
> > FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
> > CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> > CR2: fffff52002e00000 CR3: 0000000069ceb000 CR4: 00000000001406f0
> > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> >
> >
> > ---
> > This bug is generated by a bot. It may contain errors.
> > See https://goo.gl/tpsmEJ for more information about syzbot.
> > syzbot engineers can be reached at syzkaller@googlegroups.com.
> >
> > syzbot will keep track of this bug report. See:
> > https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
> >
> > --
> > You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/0000000000005f386305988bb15f%40google.com.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BUG: unable to handle kernel paging request in xfs_sb_read_verify
  2019-11-30  7:57 BUG: unable to handle kernel paging request in xfs_sb_read_verify syzbot
  2019-11-30  7:58 ` Dmitry Vyukov
@ 2020-02-28  8:01 ` syzbot
  2020-03-01 22:56   ` Daniel Axtens
  1 sibling, 1 reply; 5+ messages in thread
From: syzbot @ 2020-02-28  8:01 UTC (permalink / raw)
  To: allison.henderson, bfoster, darrick.wong, dchinner, dja, dvyukov,
	kasan-dev, linux-kernel, linux-xfs, sandeen, syzkaller-bugs

This bug is marked as fixed by commit:
kasan: support vmalloc backing of vm_map_ram()
But I can't find it in any tested tree for more than 90 days.
Is it a correct commit? Please update it by replying:
#syz fix: exact-commit-title
Until then the bug is still considered open and
new crashes with the same signature are ignored.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BUG: unable to handle kernel paging request in xfs_sb_read_verify
  2020-02-28  8:01 ` syzbot
@ 2020-03-01 22:56   ` Daniel Axtens
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel Axtens @ 2020-03-01 22:56 UTC (permalink / raw)
  To: syzbot, allison.henderson, bfoster, darrick.wong, dchinner,
	dvyukov, kasan-dev, linux-kernel, linux-xfs, sandeen,
	syzkaller-bugs

syzbot <syzbot+6be2cbddaad2e32b47a0@syzkaller.appspotmail.com> writes:

#syz fix: kasan: fix crashes on access to memory mapped by vm_map_ram()

> This bug is marked as fixed by commit:
> kasan: support vmalloc backing of vm_map_ram()
> But I can't find it in any tested tree for more than 90 days.
> Is it a correct commit? Please update it by replying:
> #syz fix: exact-commit-title
> Until then the bug is still considered open and
> new crashes with the same signature are ignored.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-01 22:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-30  7:57 BUG: unable to handle kernel paging request in xfs_sb_read_verify syzbot
2019-11-30  7:58 ` Dmitry Vyukov
2019-11-30  8:00   ` Dmitry Vyukov
2020-02-28  8:01 ` syzbot
2020-03-01 22:56   ` Daniel Axtens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).