syzbot


BUG: unable to handle kernel paging request in __call_srcu

Status: upstream: reported syz repro on 2019/12/01 07:05
Reported-by: syzbot+b16ea6c233022c222d63@syzkaller.appspotmail.com
First crash: 1105d, last: 1105d

Cause bisection: failed (bisect log)
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/08 17:27 18m retest repro linux-next error

Sample crash report:
BUG: unable to handle page fault for address: ffffc90009080868
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD aa54b067 P4D aa54b067 PUD aa54c067 PMD 99900067 PTE 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 31521 Comm: syz-executor.4 Not tainted 5.4.0-next-20191126-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__lock_acquire+0x125e/0x4a00 kernel/locking/lockdep.c:3828
Code: f0 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 80 3c 02 00 0f 85 0b 28 00 00 <49> 81 3e e0 dc 08 8a 0f 84 5f ee ff ff 83 fe 01 0f 87 62 ee ff ff
RSP: 0018:ffff88809727f7f0 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 1ffff9200121010d RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff88809727f908 R08: 0000000000000001 R09: 0000000000000001
R10: fffffbfff139ebd0 R11: ffff88808e750540 R12: ffffc90009080868
R13: 0000000000000000 R14: ffffc90009080868 R15: 0000000000000001
FS:  00007ffb1ae47700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90009080868 CR3: 000000009f42f000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lock_acquire+0x190/0x410 kernel/locking/lockdep.c:4485
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x95/0xcd kernel/locking/spinlock.c:159
 srcu_funnel_gp_start kernel/rcu/srcutree.c:643 [inline]
 __call_srcu kernel/rcu/srcutree.c:871 [inline]
 __call_srcu+0x53f/0xcc0 kernel/rcu/srcutree.c:834
 __synchronize_srcu+0x18d/0x250 kernel/rcu/srcutree.c:920
 synchronize_srcu_expedited kernel/rcu/srcutree.c:946 [inline]
 synchronize_srcu+0x239/0x3e8 kernel/rcu/srcutree.c:997
 kvm_page_track_unregister_notifier+0xe7/0x130 arch/x86/kvm/mmu/page_track.c:212
 kvm_mmu_uninit_vm+0x1e/0x30 arch/x86/kvm/mmu/mmu.c:5928
 kvm_arch_destroy_vm+0x4a2/0x5f0 arch/x86/kvm/x86.c:9666
 kvm_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:758 [inline]
 kvm_dev_ioctl_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:3519 [inline]
 kvm_dev_ioctl+0x1167/0x1770 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3571
 vfs_ioctl fs/ioctl.c:47 [inline]
 file_ioctl fs/ioctl.c:545 [inline]
 do_vfs_ioctl+0x977/0x14e0 fs/ioctl.c:732
 ksys_ioctl+0xab/0xd0 fs/ioctl.c:749
 __do_sys_ioctl fs/ioctl.c:756 [inline]
 __se_sys_ioctl fs/ioctl.c:754 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:754
 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45a649
Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffb1ae46c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a649
RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffb1ae476d4
R13: 00000000004c38f2 R14: 00000000004d7de8 R15: 00000000ffffffff
Modules linked in:
CR2: ffffc90009080868
---[ end trace e17de659c9276288 ]---
RIP: 0010:__lock_acquire+0x125e/0x4a00 kernel/locking/lockdep.c:3828
Code: f0 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 80 3c 02 00 0f 85 0b 28 00 00 <49> 81 3e e0 dc 08 8a 0f 84 5f ee ff ff 83 fe 01 0f 87 62 ee ff ff
RSP: 0018:ffff88809727f7f0 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 1ffff9200121010d RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff88809727f908 R08: 0000000000000001 R09: 0000000000000001
R10: fffffbfff139ebd0 R11: ffff88808e750540 R12: ffffc90009080868
R13: 0000000000000000 R14: ffffc90009080868 R15: 0000000000000001
FS:  00007ffb1ae47700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc90009080868 CR3: 000000009f42f000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2019/11/27 06:02 linux-next 131b7b67e6c2 1048481f .config log report syz
* Struck through repros no longer work on HEAD.