syzbot


BUG: unable to handle kernel paging request in kmsan_memmove_origins

Status: closed as invalid on 2018/12/03 15:09
Subsystems: netfilter
[Documentation on labels]
First crash: 2114d, last: 2057d

Sample crash report:
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: cc1: uninitialized urandom read (8 bytes read)
IPVS: ftp: loaded support on port[0] = 21
BUG: unable to handle kernel paging request at ffff8801b2b1fffc
PGD c316067 P4D c316067 PUD 1a11a6063 PMD 1a2ec2063 PTE 80000001b2b1f061
Oops: 0003 [#1] SMP PTI
CPU: 0 PID: 4668 Comm: syz-executor0 Not tainted 4.18.0-rc5+ #29
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:kmsan_memmove_origins+0x171/0x1d0 mm/kmsan/kmsan.c:463
Code: 45 85 ed 74 1a 41 39 df 74 15 be 01 00 00 00 44 89 ff e8 62 fc ff ff 89 c3 85 c0 41 0f 44 df 45 85 ed 44 0f 45 eb 48 8b 45 98 <46> 89 2c 20 49 63 c6 44 8d 70 01 49 83 c4 fc 48 39 45 a8 77 8a 4c 
RSP: 0018:ffff8801a839f120 EFLAGS: 00010046
RAX: ffff8801b2b20008 RBX: 0000000000000000 RCX: 00000001be620078
RDX: 00000000000006c0 RSI: ffff88021fff2000 RDI: 00000000000006c0
RBP: ffff8801a839f188 R08: ffffffff7fffffff R09: ffffffffffffffff
R10: ffffffffffffffff R11: ffffffffffffffff R12: fffffffffffffff4
R13: 0000000000000000 R14: 0000000000000004 R15: 0000000000000000
FS:  000000000140a940(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8801b2b1fffc CR3: 00000001b40b8000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __msan_memmove+0xe7/0x150 mm/kmsan/kmsan_instr.c:381
 nf_ct_frag6_reasm net/ipv6/netfilter/nf_conntrack_reasm.c:432 [inline]
 nf_ct_frag6_gather+0x436a/0x5870 net/ipv6/netfilter/nf_conntrack_reasm.c:586
 ipv6_defrag+0x501/0x5c0 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c:71
 nf_hook_entry_hookfn include/linux/netfilter.h:119 [inline]
 nf_hook_slow+0x15d/0x3e0 net/netfilter/core.c:511
 nf_hook include/linux/netfilter.h:242 [inline]
 NF_HOOK include/linux/netfilter.h:285 [inline]
 ipv6_rcv+0x1df5/0x2250 net/ipv6/ip6_input.c:208
 __netif_receive_skb_core+0x4a7a/0x4fc0 net/core/dev.c:4628
 __netif_receive_skb net/core/dev.c:4693 [inline]
 netif_receive_skb_internal+0x475/0x660 net/core/dev.c:4767
 netif_receive_skb+0x246/0x270 net/core/dev.c:4791
 tun_rx_batched drivers/net/tun.c:1571 [inline]
 tun_get_user+0x80f6/0x89c0 drivers/net/tun.c:1981
 tun_chr_write_iter+0x1d4/0x330 drivers/net/tun.c:2009
 do_iter_readv_writev+0x81a/0xac0 include/linux/fs.h:1787
 do_iter_write+0x30d/0xd50 fs/read_write.c:959
 vfs_writev fs/read_write.c:1004 [inline]
 do_writev+0x3d8/0x860 fs/read_write.c:1039
 __do_sys_writev fs/read_write.c:1112 [inline]
 __se_sys_writev fs/read_write.c:1109 [inline]
 __x64_sys_writev+0xe1/0x120 fs/read_write.c:1109
 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x455950
Code: 05 48 3d 01 f0 ff ff 0f 83 7d bb fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 83 3d 01 0b 5f 00 00 75 14 b8 14 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 54 bb fb ff c3 48 83 ec 08 e8 da 2c 00 00 
RSP: 002b:0000000000a3e818 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 000000000000fdef RCX: 0000000000455950
RDX: 0000000000000001 RSI: 0000000000a3e860 RDI: 00000000000000fc
RBP: 0000000020000700 R08: 00000000000000fc R09: 0000000000000000
R10: 000000000000fdef R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004c20a6 R14: 00000000004d3ae0 R15: 0000000000000001
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
CR2: ffff8801b2b1fffc
---[ end trace b13b1c66910aa714 ]---
RIP: 0010:kmsan_memmove_origins+0x171/0x1d0 mm/kmsan/kmsan.c:463
Code: 45 85 ed 74 1a 41 39 df 74 15 be 01 00 00 00 44 89 ff e8 62 fc ff ff 89 c3 85 c0 41 0f 44 df 45 85 ed 44 0f 45 eb 48 8b 45 98 <46> 89 2c 20 49 63 c6 44 8d 70 01 49 83 c4 fc 48 39 45 a8 77 8a 4c 
RSP: 0018:ffff8801a839f120 EFLAGS: 00010046
RAX: ffff8801b2b20008 RBX: 0000000000000000 RCX: 00000001be620078
RDX: 00000000000006c0 RSI: ffff88021fff2000 RDI: 00000000000006c0
RBP: ffff8801a839f188 R08: ffffffff7fffffff R09: ffffffffffffffff
R10: ffffffffffffffff R11: ffffffffffffffff R12: fffffffffffffff4
R13: 0000000000000000 R14: 0000000000000004 R15: 0000000000000000
FS:  000000000140a940(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8801b2b1fffc CR3: 00000001b40b8000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/21 11:32 https://github.com/google/kmsan.git master d1c2a46a46f6 8cc079c3 .config console log report syz ci-upstream-kmsan-gce
2018/09/08 08:18 https://github.com/google/kmsan.git master 42a037ca8d9d 6b5120a4 .config console log report ci-upstream-kmsan-gce
2018/07/15 13:37 https://github.com/google/kmsan.git master 80ecacc456c1 92a49505 .config console log report ci-upstream-kmsan-gce
2018/07/14 00:21 https://github.com/google/kmsan.git master 80ecacc456c1 92a49505 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.