syzbot


kernel BUG at ./include/linux/swapops.h:LINE!

Status: auto-closed as invalid on 2020/10/31 23:09
Reported-by: syzbot+3bd323eee5ffe26c120f@syzkaller.appspotmail.com
First crash: 1603d, last: 1603d

Sample crash report:
------------[ cut here ]------------
kernel BUG at ./include/linux/swapops.h:195!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 31105 Comm: syz-executor.4 Not tainted 5.4.50-syzkaller-01108-gec57e3434c4a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:migration_entry_to_page include/linux/swapops.h:195 [inline]
RIP: 0010:zap_pte_range mm/memory.c:1123 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1185 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1214 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1235 [inline]
RIP: 0010:unmap_page_range+0x16c4/0x16e0 mm/memory.c:1256
Code: 00 00 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 40 01 00 00 75 1d 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 5c 03 da ff <0f> 0b e8 55 03 da ff 0f 0b e8 7e 67 b1 ff 0f 1f 40 00 66 2e 0f 1f
RSP: 0018:ffff8881117d7680 EFLAGS: 00010293
RAX: ffffffff8167fc24 RBX: 0000000000000000 RCX: ffff8881cdd09f00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881117d7810 R08: ffffffff8167ede6 R09: fffffb1df891b711
R10: fffffb1df891b711 R11: 0000000000000000 R12: 1ffff110395e3e31
R13: 0003ffc440edc91d R14: fffff8efc48db880 R15: ffff8881db923a10
FS:  0000000000000000(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31021000 CR3: 0000000004c0e006 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 unmap_single_vma mm/memory.c:1301 [inline]
 unmap_vmas+0x1b5/0x230 mm/memory.c:1333
 exit_mmap+0x28a/0x500 mm/mmap.c:3160
 __mmput+0x34/0x240 kernel/fork.c:1090
 exit_mm kernel/exit.c:485 [inline]
 do_exit+0xa6c/0x2700 kernel/exit.c:795
 do_group_exit+0x155/0x2b0 kernel/exit.c:906
 get_signal+0x13ec/0x1f00 kernel/signal.c:2743
 do_signal+0x95/0x5d0 arch/x86/kernel/signal.c:815
 exit_to_usermode_loop arch/x86/entry/common.c:159 [inline]
 prepare_exit_to_usermode+0x207/0x2e0 arch/x86/entry/common.c:194
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45cb29
Code: Bad RIP value.
RSP: 002b:00007f64d9afecf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 000000000078c048 RCX: 000000000045cb29
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000078c048
RBP: 000000000078c040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078c04c
R13: 00007ffd845356bf R14: 00007f64d9aff9c0 R15: 000000000078c04c
Modules linked in:
---[ end trace 1c5f6e6faea2ee49 ]---
RIP: 0010:migration_entry_to_page include/linux/swapops.h:195 [inline]
RIP: 0010:zap_pte_range mm/memory.c:1123 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1185 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1214 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1235 [inline]
RIP: 0010:unmap_page_range+0x16c4/0x16e0 mm/memory.c:1256
Code: 00 00 00 65 48 8b 04 25 28 00 00 00 48 3b 84 24 40 01 00 00 75 1d 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 5c 03 da ff <0f> 0b e8 55 03 da ff 0f 0b e8 7e 67 b1 ff 0f 1f 40 00 66 2e 0f 1f
RSP: 0018:ffff8881117d7680 EFLAGS: 00010293
RAX: ffffffff8167fc24 RBX: 0000000000000000 RCX: ffff8881cdd09f00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881117d7810 R08: ffffffff8167ede6 R09: fffffb1df891b711
R10: fffffb1df891b711 R11: 0000000000000000 R12: 1ffff110395e3e31
R13: 0003ffc440edc91d R14: fffff8efc48db880 R15: ffff8881db923a10
FS:  0000000000000000(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000045caff CR3: 0000000004c0e006 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/03 23:08 https://android.googlesource.com/kernel/common android-5.4 ec57e3434c4a 6e569755 .config console log report ci2-android-5-4-kasan
* Struck through repros no longer work on HEAD.