syzbot


BUG: unable to handle kernel paging request in unmap_page_range

Status: closed as invalid on 2018/09/05 12:51
Subsystems: mm
[Documentation on labels]
First crash: 2055d, last: 2031d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: unable to handle kernel paging request in unmap_page_range 1 1311d 1311d 0/1 auto-closed as invalid on 2020/12/23 06:48
upstream BUG: unable to handle kernel paging request in unmap_page_range (2) mm 1 1436d 1432d 0/26 auto-closed as invalid on 2020/07/20 23:14

Sample crash report:
nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based  firewall rule not found. Use the iptables CT target to attach helpers instead.
BUG: unable to handle kernel paging request at 0000007fccfee5a8
PGD 8000000110d6e067 P4D 8000000110d6e067 PUD 0 
Oops: 0000 [#1] SMP PTI
CPU: 1 PID: 8086 Comm: syz-executor0 Not tainted 4.19.0-rc1+ #40
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:197 [inline]
RIP: 0010:compound_head include/linux/page-flags.h:142 [inline]
RIP: 0010:migration_entry_to_page include/linux/swapops.h:215 [inline]
RIP: 0010:zap_pte_range mm/memory.c:1382 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1441 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1470 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1491 [inline]
RIP: 0010:unmap_page_range+0x1193/0x4170 mm/memory.c:1512
Code: 48 89 94 24 a0 00 00 00 bb 00 00 00 00 48 01 c8 48 83 c0 08 48 85 f6 0f 45 5c 24 10 48 89 84 24 e0 00 00 00 0f 85 be 14 00 00 <4c> 8b 38 48 89 c7 e8 a2 8d 16 00 4c 8b 30 44 8b 0a 44 89 f1 83 e1
RSP: 0018:ffff8801131af5d0 EFLAGS: 00010246
RAX: 0000007fccfee5a8 RBX: 0000000000000000 RCX: ffffea0000000000
RDX: 0000007fccfee5a0 RSI: 0000000000000000 RDI: ffffea0006602340
RBP: ffff8801131af838 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88011005e058
R13: 0000000000000000 R14: 0000003bff77fd0f R15: 00007ff49be01000
FS:  00007ff49a057700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000007fccfee5a8 CR3: 000000011023c000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 unmap_single_vma+0x445/0x5e0 mm/memory.c:1557
 unmap_vmas+0x251/0x380 mm/memory.c:1587
 exit_mmap+0x4b7/0x940 mm/mmap.c:3093
 __mmput+0x154/0x5f0 kernel/fork.c:1003
 mmput kernel/fork.c:1024 [inline]
 copy_process+0x4455/0xa950 kernel/fork.c:2069
 _do_fork+0x339/0xfb0 kernel/fork.c:2168
 __do_sys_clone kernel/fork.c:2275 [inline]
 __se_sys_clone+0xf6/0x110 kernel/fork.c:2269
 __x64_sys_clone+0x62/0x80 kernel/fork.c:2269
 do_syscall_64+0xb8/0x100 arch/x86/entry/common.c:291
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x457099
Code: fd 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 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ff49a056c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ff49a0576d4 RCX: 0000000000457099
RDX: 00000000200000c0 RSI: 00000000200001c0 RDI: 000000000c000200
RBP: 00000000009300a0 R08: 0000000020000180 R09: 0000000000000000
R10: 0000000020000100 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004cb8a8 R14: 00000000004c31af R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
CR2: 0000007fccfee5a8
---[ end trace ae46118cd266a31a ]---
RIP: 0010:__read_once_size include/linux/compiler.h:197 [inline]
RIP: 0010:compound_head include/linux/page-flags.h:142 [inline]
RIP: 0010:migration_entry_to_page include/linux/swapops.h:215 [inline]
RIP: 0010:zap_pte_range mm/memory.c:1382 [inline]
RIP: 0010:zap_pmd_range mm/memory.c:1441 [inline]
RIP: 0010:zap_pud_range mm/memory.c:1470 [inline]
RIP: 0010:zap_p4d_range mm/memory.c:1491 [inline]
RIP: 0010:unmap_page_range+0x1193/0x4170 mm/memory.c:1512
Code: 48 89 94 24 a0 00 00 00 bb 00 00 00 00 48 01 c8 48 83 c0 08 48 85 f6 0f 45 5c 24 10 48 89 84 24 e0 00 00 00 0f 85 be 14 00 00 <4c> 8b 38 48 89 c7 e8 a2 8d 16 00 4c 8b 30 44 8b 0a 44 89 f1 83 e1
RSP: 0018:ffff8801131af5d0 EFLAGS: 00010246
RAX: 0000007fccfee5a8 RBX: 0000000000000000 RCX: ffffea0000000000
PANIC: double fault, error_code: 0x0
RDX: 0000007fccfee5a0 RSI: 0000000000000000 RDI: ffffea0006602340
CPU: 0 PID: 8110 Comm: syz-executor6 Tainted: G      D           4.19.0-rc1+ #40
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__msan_get_context_state+0x0/0x30 mm/kmsan/kmsan_instr.c:647
RBP: ffff8801131af838 R08: 0000000000000000 R09: 0000000000000000
Code: 0b 66 0f 1f 84 00 00 00 00 00 eb fe 0f 0b 66 90 66 2e 0f 1f 84 00 00 00 00 00 eb fe 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 <55> 48 89 e5 e8 77 b5 ff ff 48 85 c0 74 02 5d c3 0f 0b 0f 1f 40 00
RSP: 0018:ffff880100000000 EFLAGS: 00010083
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88011005e058
RAX: 0000000089000a77 RBX: 0000000000000000 RCX: ffffffff89000a77
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff880100000038
RBP: ffff880100000028 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000003bff77fd0f R15: 00007ff49be01000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff880100000038
FS:  0000000000faa940(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8800fffffff8 CR3: 0000000112d00000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
FS:  00007ff49a057700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
Call Trace:

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/09/05 00:20 https://github.com/google/kmsan.git master 28f0ca98eadf a4718693 .config console log report ci-upstream-kmsan-gce
2018/09/03 15:09 https://github.com/google/kmsan.git master 28f0ca98eadf a4718693 .config console log report ci-upstream-kmsan-gce
2018/08/21 15:18 https://github.com/google/kmsan.git master 0cc51dc9a291 95b5c82b .config console log report ci-upstream-kmsan-gce
2018/08/12 19:20 https://github.com/google/kmsan.git master 0cc51dc9a291 7a88b141 .config console log report ci-upstream-kmsan-gce
2018/08/12 00:00 https://github.com/google/kmsan.git master 0cc51dc9a291 7a88b141 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.