general protection fault in mm_take_all_locks

4 views
Skip to first unread message

syzbot

unread,
Sep 5, 2020, 10:27:25 AM9/5/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c37da90e Linux 4.19.143
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=13049ff5900000
kernel config: https://syzkaller.appspot.com/x/.config?x=d162ec57805c4e4d
dashboard link: https://syzkaller.appspot.com/bug?extid=0b3195a0feb601946d46
compiler: gcc (GCC) 10.1.0-syz 20200507

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

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+0b3195...@syzkaller.appspotmail.com

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


---
This report 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 syzk...@googlegroups.com.

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

syzbot

unread,
Jan 3, 2021, 9:28:13 AM1/3/21
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages