syzbot


general protection fault in mm_take_all_locks

Status: auto-closed as invalid on 2021/01/03 14:28
Reported-by: syzbot+0b3195a0feb601946d46@syzkaller.appspotmail.com
First crash: 1550d, last: 1550d

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 17979 Comm: syz-executor.0 Not tainted 4.19.143-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:mm_take_all_locks+0x121/0x60d mm/mmap.c:3500
Code: 03 80 3c 28 00 0f 85 27 04 00 00 4c 8b b3 a0 00 00 00 4d 85 f6 74 86 e8 8d a2 d3 ff 49 8d be b8 01 00 00 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 08 04 00 00 4d 8b b6 b8 01 00 00 4d 85 f6 0f 84
RSP: 0018:ffff8880437bfba8 EFLAGS: 00010202
RAX: 00000000e0e00037 RBX: ffff888000177250 RCX: ffffc90008549000
RDX: 0000000000002bc3 RSI: ffffffff81960f43 RDI: 00000007070001b8
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 00000000b3f4f3b2 R12: ffff888086dec200
R13: ffffed1013b2d470 R14: 0000000707000000 R15: ffff88809d96a380
FS:  00007fe02c4d3700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4c4403a098 CR3: 0000000094725000 CR4: 00000000001426f0
DR0: 0000000000000001 DR1: 0000000000000004 DR2: 0000000000000000
DR3: 0000000000000002 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_mmu_notifier_register+0x39b/0x4c0 mm/mmu_notifier.c:297
 kvm_init_mmu_notifier arch/x86/kvm/../../../virt/kvm/kvm_main.c:544 [inline]
 kvm_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:730 [inline]
 kvm_dev_ioctl_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:3425 [inline]
 kvm_dev_ioctl+0xfb3/0x16e0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3477
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
 __do_sys_ioctl fs/ioctl.c:712 [inline]
 __se_sys_ioctl fs/ioctl.c:710 [inline]
 __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45d5b9
Code: 5d b4 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fe02c4d2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000010cc0 RCX: 000000000045d5b9
RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000004
RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c
R13: 00007ffc9dacd98f R14: 00007fe02c4d39c0 R15: 000000000118cf4c
Modules linked in:
---[ end trace d23ce326d0f4dd8d ]---
RIP: 0010:mm_take_all_locks+0x121/0x60d mm/mmap.c:3500
Code: 03 80 3c 28 00 0f 85 27 04 00 00 4c 8b b3 a0 00 00 00 4d 85 f6 74 86 e8 8d a2 d3 ff 49 8d be b8 01 00 00 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 08 04 00 00 4d 8b b6 b8 01 00 00 4d 85 f6 0f 84
RSP: 0018:ffff8880437bfba8 EFLAGS: 00010202
RAX: 00000000e0e00037 RBX: ffff888000177250 RCX: ffffc90008549000
RDX: 0000000000002bc3 RSI: ffffffff81960f43 RDI: 00000007070001b8
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 00000000b3f4f3b2 R12: ffff888086dec200
R13: ffffed1013b2d470 R14: 0000000707000000 R15: ffff88809d96a380
FS:  00007fe02c4d3700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000118d001 CR3: 0000000094725000 CR4: 00000000001426f0
DR0: 0000000000000001 DR1: 0000000000000004 DR2: 0000000000000000
DR3: 0000000000000002 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/05 14:27 linux-4.19.y c37da90efff5 abf9ba4f .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.