syzbot


BUG: unable to handle kernel paging request in unlink_anon_vmas

Status: auto-closed as invalid on 2020/05/15 18:19
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+82db32fafdf423fa439a@syzkaller.appspotmail.com
First crash: 1809d, last: 1809d

Sample crash report:
BUG: unable to handle page fault for address: ffffdc0000000000
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 0 P4D 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 12246 Comm: syz-executor.2 Not tainted 5.6.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:unlink_anon_vmas+0xfb/0x870 mm/rmap.c:405
Code: e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 97 06 00 00 41 83 ac 24 94 00 00 00 01 e8 c0 d6 cc ff 4d 8d 66 10 4c 89 e0 48 c1 e8 03 <80> 3c 18 00 0f 85 9f 05 00 00 49 8b 46 10 4c 89 e1 4c 89 65 c0 4d
RSP: 0018:ffffc90001ec7928 EFLAGS: 00010a06
RAX: 1fffe00000000000 RBX: dffffc0000000000 RCX: ffffffff81a8b826
RDX: 0000000000000000 RSI: ffffffff81a8b750 RDI: ffff88809f29c724
RBP: ffffc90001ec7978 R08: ffff888040570440 R09: ffffed1013d87911
R10: ffffed1013d87910 R11: ffff88809ec3c887 R12: ffff000000000000
R13: ffff888000abf2d0 R14: fffefffffffffff0 R15: ffff88809ec3c870
FS:  00007fc7fff22700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffdc0000000000 CR3: 0000000056660000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 free_pgtables+0x1af/0x2f0 mm/memory.c:413
 exit_mmap+0x2c9/0x530 mm/mmap.c:3131
 __mmput kernel/fork.c:1082 [inline]
 mmput+0x179/0x4d0 kernel/fork.c:1103
 exit_mm kernel/exit.c:485 [inline]
 do_exit+0xac2/0x2f50 kernel/exit.c:788
 do_group_exit+0x135/0x360 kernel/exit.c:899
 get_signal+0x47c/0x24f0 kernel/signal.c:2734
 do_signal+0x87/0x1700 arch/x86/kernel/signal.c:813
 exit_to_usermode_loop+0x286/0x380 arch/x86/entry/common.c:160
 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:278 [inline]
 do_syscall_64+0x676/0x790 arch/x86/entry/common.c:304
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45c6c9
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:00007fc7fff21cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 000000000076bf28 RCX: 000000000045c6c9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000076bf2c
RBP: 000000000076bf20 R08: 0000000000000002 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000076bf2c
R13: 00007ffcfa440d1f R14: 00007fc7fff229c0 R15: 000000000076bf2c
Modules linked in:
CR2: ffffdc0000000000
---[ end trace 4af6bf918a9970e9 ]---
RIP: 0010:unlink_anon_vmas+0xfb/0x870 mm/rmap.c:405
Code: e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 97 06 00 00 41 83 ac 24 94 00 00 00 01 e8 c0 d6 cc ff 4d 8d 66 10 4c 89 e0 48 c1 e8 03 <80> 3c 18 00 0f 85 9f 05 00 00 49 8b 46 10 4c 89 e1 4c 89 65 c0 4d
RSP: 0018:ffffc90001ec7928 EFLAGS: 00010a06
RAX: 1fffe00000000000 RBX: dffffc0000000000 RCX: ffffffff81a8b826
RDX: 0000000000000000 RSI: ffffffff81a8b750 RDI: ffff88809f29c724
RBP: ffffc90001ec7978 R08: ffff888040570440 R09: ffffed1013d87911
R10: ffffed1013d87910 R11: ffff88809ec3c887 R12: ffff000000000000
R13: ffff888000abf2d0 R14: fffefffffffffff0 R15: ffff88809ec3c870
FS:  00007fc7fff22700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffdc0000000000 CR3: 0000000056660000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/15 18:18 upstream 2019fc96af22 5d7b90f1 .config console log report ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.