syzbot


BUG: unable to handle kernel NULL pointer dereference in kmsan_copy_page_meta

Status: closed as invalid on 2018/09/27 12:13
Subsystems: mm kasan
[Documentation on labels]
First crash: 2069d, last: 2069d

Sample crash report:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000050
PGD 80000001b4490067 P4D 80000001b4490067 PUD 1c0875067 PMD 0 
Oops: 0000 [#1] SMP PTI
CPU: 0 PID: 9506 Comm: syz-executor2 Not tainted 4.19.0-rc1+ #41
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:kmsan_copy_page_meta+0x42/0x1f0 mm/kmsan/kmsan_hooks.c:446
Code: 00 74 12 65 48 8b 1c 25 80 fc 02 00 83 bb f4 08 00 00 00 74 0f 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 49 89 f6 49 89 ff <80> 7e 50 00 0f 84 04 01 00 00 41 80 7f 50 00 74 da 48 c7 45 d0 00
RSP: 0000:ffff8801c084f9d0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8801b6c6bb00 RCX: ffff880180fed410
RDX: ffff880180fed410 RSI: 0000000000000000 RDI: ffffea000a7b20c0
RBP: ffff8801c084fa10 R08: ffffffff7fffffff R09: ffff8801ba791000
R10: ffffffff89001668 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffea000a7b20c0
FS:  0000000000e55940(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000050 CR3: 00000001af772000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 wp_page_copy+0x751/0x2670 mm/memory.c:2513
 do_wp_page+0xe4e/0x2ff0 mm/memory.c:2745
 handle_pte_fault mm/memory.c:4001 [inline]
 __handle_mm_fault mm/memory.c:4109 [inline]
 handle_mm_fault+0x3265/0x81b0 mm/memory.c:4146
 __do_page_fault+0xc8b/0x17e0 arch/x86/mm/fault.c:1396
 do_page_fault+0x98/0xd0 arch/x86/mm/fault.c:1473
 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1170
RIP: 0033:0x43e471
Code: 8d 15 d3 1c 0a 00 8b 0c 8a 8b 04 82 29 c8 c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 fa 20 48 89 f8 73 77 f6 c2 01 74 0b 0f b6 0e <88> 0f 48 ff c6 48 ff c7 f6 c2 02 74 12 0f b7 0e 66 89 0f 48 83 c6
RSP: 002b:0000000000a3fc18 EFLAGS: 00010202
RAX: 0000000020000040 RBX: fffffffffffffffe RCX: 000000000000002f
RDX: 0000000000000015 RSI: 0000000000730020 RDI: 0000000020000040
RBP: 0000000000930aa0 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000a3fcf0 R11: 0000000000000246 R12: 00000000000003e8
R13: 00000000009300ac R14: 000000000003f4c3 R15: 000000000003f496
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
CR2: 0000000000000050
---[ end trace ebfc8190d8a62043 ]---
RIP: 0010:kmsan_copy_page_meta+0x42/0x1f0 mm/kmsan/kmsan_hooks.c:446
Code: 00 74 12 65 48 8b 1c 25 80 fc 02 00 83 bb f4 08 00 00 00 74 0f 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 49 89 f6 49 89 ff <80> 7e 50 00 0f 84 04 01 00 00 41 80 7f 50 00 74 da 48 c7 45 d0 00
RSP: 0000:ffff8801c084f9d0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff8801b6c6bb00 RCX: ffff880180fed410
RDX: ffff880180fed410 RSI: 0000000000000000 RDI: ffffea000a7b20c0
RBP: ffff8801c084fa10 R08: ffffffff7fffffff R09: ffff8801ba791000
R10: ffffffff89001668 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffea000a7b20c0
FS:  0000000000e55940(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000050 CR3: 00000001af772000 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
2018/09/07 05:44 https://github.com/google/kmsan.git master 43e4752ae5dc e30d3b52 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.