syzbot


kernel BUG in copy_page_range

Status: auto-obsoleted due to no activity on 2023/11/20 00:31
First crash: 253d, last: 253d

Sample crash report:
------------[ cut here ]------------
kernel BUG at include/linux/swapops.h:195!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 11060 Comm: syz-executor.4 Not tainted 5.4.249-syzkaller-00003-g6872eb70109c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:migration_entry_to_page include/linux/swapops.h:195 [inline]
RIP: 0010:copy_one_pte mm/memory.c:735 [inline]
RIP: 0010:copy_pte_range mm/memory.c:854 [inline]
RIP: 0010:copy_pmd_range mm/memory.c:905 [inline]
RIP: 0010:copy_pud_range mm/memory.c:939 [inline]
RIP: 0010:copy_p4d_range mm/memory.c:961 [inline]
RIP: 0010:copy_page_range+0x26da/0x26f0 mm/memory.c:1023
Code: 09 00 e9 4c dc ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 8d dc ff ff 4c 89 f7 e8 70 63 09 00 e9 80 dc ff ff e8 c6 a2 d9 ff <0f> 0b e8 bf 5e b0 ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00
RSP: 0018:ffff8881c573f740 EFLAGS: 00010293
RAX: ffffffff818a934a RBX: 0000000000000000 RCX: ffff8881bf870000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881c573f9d0 R08: ffffffff818a81c2 R09: fffffb1df8242d99
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000100400fb
R13: 1ffff1103d937e39 R14: ffff8881f6f49898 R15: fffff8efc1216cc0
FS:  00007f8b01cd76c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9fed8d2bf8 CR3: 00000001e8391000 CR4: 00000000003406b0
DR0: fffffffffffffffd DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 dup_mmap kernel/fork.c:608 [inline]
 dup_mm+0x965/0xf20 kernel/fork.c:1371
 copy_mm+0xe7/0x180 kernel/fork.c:1427
 copy_process+0x1291/0x3230 kernel/fork.c:2044
 _do_fork+0x197/0x900 kernel/fork.c:2396
 __do_sys_clone kernel/fork.c:2554 [inline]
 __se_sys_clone kernel/fork.c:2535 [inline]
 __x64_sys_clone+0x26b/0x2c0 kernel/fork.c:2535
 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
Modules linked in:
---[ end trace f6dc6265406b5536 ]---
RIP: 0010:migration_entry_to_page include/linux/swapops.h:195 [inline]
RIP: 0010:copy_one_pte mm/memory.c:735 [inline]
RIP: 0010:copy_pte_range mm/memory.c:854 [inline]
RIP: 0010:copy_pmd_range mm/memory.c:905 [inline]
RIP: 0010:copy_pud_range mm/memory.c:939 [inline]
RIP: 0010:copy_p4d_range mm/memory.c:961 [inline]
RIP: 0010:copy_page_range+0x26da/0x26f0 mm/memory.c:1023
Code: 09 00 e9 4c dc ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 8d dc ff ff 4c 89 f7 e8 70 63 09 00 e9 80 dc ff ff e8 c6 a2 d9 ff <0f> 0b e8 bf 5e b0 ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00
RSP: 0018:ffff8881c573f740 EFLAGS: 00010293
RAX: ffffffff818a934a RBX: 0000000000000000 RCX: ffff8881bf870000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881c573f9d0 R08: ffffffff818a81c2 R09: fffffb1df8242d99
R10: 0000000000000000 R11: dffffc0000000001 R12: 00000000100400fb
R13: 1ffff1103d937e39 R14: ffff8881f6f49898 R15: fffff8efc1216cc0
FS:  00007f8b01cd76c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9fed8d2bf8 CR3: 00000001e8391000 CR4: 00000000003406b0
DR0: fffffffffffffffd 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
2023/08/22 00:25 android12-5.4 6872eb70109c 6b415825 .config console log report info ci2-android-5-4-perf-kasan kernel BUG in copy_page_range
* Struck through repros no longer work on HEAD.