syzbot


KMSAN: uninit-value in sit_tunnel_xmit
Status: upstream: reported C repro on 2018/07/27 13:12
Reported-by: syzbot+782ee96f9147673d8822@syzkaller.appspotmail.com
First crash: 1404d, last: 1268d
Patch testing requests:
Created Duration User Patch Repo Result
2020/10/31 23:51 1h00m anant.thazhemadam@gmail.com https://github.com/google/kmsan.git master error

Sample crash report:
IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready
IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
8021q: adding VLAN 0 to HW filter on device team0
==================================================================
BUG: KMSAN: uninit-value in __ipv6_prefix_equal64_half include/net/ipv6.h:515 [inline]
BUG: KMSAN: uninit-value in ipv6_prefix_equal include/net/ipv6.h:532 [inline]
BUG: KMSAN: uninit-value in check_6rd net/ipv6/sit.c:771 [inline]
BUG: KMSAN: uninit-value in try_6rd net/ipv6/sit.c:805 [inline]
BUG: KMSAN: uninit-value in ipip6_tunnel_xmit net/ipv6/sit.c:865 [inline]
BUG: KMSAN: uninit-value in sit_tunnel_xmit+0x18c0/0x3640 net/ipv6/sit.c:1029
CPU: 0 PID: 4467 Comm: syz-executor896 Not tainted 4.18.0-rc8+ #33
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x17c/0x1c0 lib/dump_stack.c:113
 kmsan_report+0x188/0x2a0 mm/kmsan/kmsan.c:982
 __msan_warning+0x70/0xc0 mm/kmsan/kmsan_instr.c:645
 __ipv6_prefix_equal64_half include/net/ipv6.h:515 [inline]
 ipv6_prefix_equal include/net/ipv6.h:532 [inline]
 check_6rd net/ipv6/sit.c:771 [inline]
 try_6rd net/ipv6/sit.c:805 [inline]
 ipip6_tunnel_xmit net/ipv6/sit.c:865 [inline]
 sit_tunnel_xmit+0x18c0/0x3640 net/ipv6/sit.c:1029
 __netdev_start_xmit include/linux/netdevice.h:4148 [inline]
 netdev_start_xmit include/linux/netdevice.h:4157 [inline]
 xmit_one net/core/dev.c:3034 [inline]
 dev_hard_start_xmit+0x5df/0xc20 net/core/dev.c:3050
 __dev_queue_xmit+0x2eea/0x3a70 net/core/dev.c:3569
 dev_queue_xmit+0x4b/0x60 net/core/dev.c:3602
 packet_snd net/packet/af_packet.c:2921 [inline]
 packet_sendmsg+0x7fb5/0x8ae0 net/packet/af_packet.c:2946
 sock_sendmsg_nosec net/socket.c:642 [inline]
 sock_sendmsg net/socket.c:652 [inline]
 ___sys_sendmsg+0xe32/0x1250 net/socket.c:2126
 __sys_sendmsg net/socket.c:2164 [inline]
 __do_sys_sendmsg net/socket.c:2173 [inline]
 __se_sys_sendmsg net/socket.c:2171 [inline]
 __x64_sys_sendmsg+0x32d/0x460 net/socket.c:2171
 do_syscall_64+0x15b/0x220 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x441149
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 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 db 0a fc ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007ffdb58f66a8 EFLAGS: 00000286 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000441149
RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003
RBP: 00000000006cc018 R08: 0000000000000100 R09: 0000000000000100
R10: 0000000000000100 R11: 0000000000000286 R12: 00000000004020b0
R13: 0000000000402140 R14: 0000000000000000 R15: 0000000000000000

Uninit was created at:
 kmsan_save_stack_with_flags mm/kmsan/kmsan.c:256 [inline]
 kmsan_internal_poison_shadow+0xb8/0x1b0 mm/kmsan/kmsan.c:181
 kmsan_kmalloc+0x98/0x100 mm/kmsan/kmsan_hooks.c:91
 kmsan_slab_alloc+0x10/0x20 mm/kmsan/kmsan_hooks.c:100
 slab_post_alloc_hook mm/slab.h:446 [inline]
 slab_alloc_node mm/slub.c:2720 [inline]
 __kmalloc_node_track_caller+0xb4c/0x11d0 mm/slub.c:4353
 __kmalloc_reserve net/core/skbuff.c:138 [inline]
 __alloc_skb+0x2ce/0x9b0 net/core/skbuff.c:206
 alloc_skb include/linux/skbuff.h:988 [inline]
 alloc_skb_with_frags+0x1d0/0xac0 net/core/skbuff.c:5272
 sock_alloc_send_pskb+0xb47/0x1120 net/core/sock.c:2095
 packet_alloc_skb net/packet/af_packet.c:2776 [inline]
 packet_snd net/packet/af_packet.c:2867 [inline]
 packet_sendmsg+0x6480/0x8ae0 net/packet/af_packet.c:2946
 sock_sendmsg_nosec net/socket.c:642 [inline]
 sock_sendmsg net/socket.c:652 [inline]
 ___sys_sendmsg+0xe32/0x1250 net/socket.c:2126
 __sys_sendmsg net/socket.c:2164 [inline]
 __do_sys_sendmsg net/socket.c:2173 [inline]
 __se_sys_sendmsg net/socket.c:2171 [inline]
 __x64_sys_sendmsg+0x32d/0x460 net/socket.c:2171
 do_syscall_64+0x15b/0x220 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
==================================================================

Crashes (74):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2018/08/10 21:29 https://github.com/google/kmsan.git master 0cc51dc9a291 1fb62d58 .config log report syz C
ci-upstream-kmsan-gce 2018/12/05 08:02 https://github.com/google/kmsan.git master 00f99f811392 f162ad97 .config log report
ci-upstream-kmsan-gce 2018/12/05 05:06 https://github.com/google/kmsan.git master 00f99f811392 f162ad97 .config log report
ci-upstream-kmsan-gce 2018/12/04 01:12 https://github.com/google/kmsan.git master 8f22beb7da7d 03f94a45 .config log report
ci-upstream-kmsan-gce 2018/12/03 16:18 https://github.com/google/kmsan.git master 1d3abf0f2b29 819002b0 .config log report
ci-upstream-kmsan-gce 2018/12/03 05:36 https://github.com/google/kmsan.git master 9fbf73b8d4af 7dcaeaf3 .config log report
ci-upstream-kmsan-gce 2018/12/02 16:34 https://github.com/google/kmsan.git master 9fbf73b8d4af e0d8c853 .config log report
ci-upstream-kmsan-gce 2018/12/01 22:40 https://github.com/google/kmsan.git master 9fbf73b8d4af 5a581673 .config log report
ci-upstream-kmsan-gce 2018/12/01 15:08 https://github.com/google/kmsan.git master 9fbf73b8d4af 5a581673 .config log report
ci-upstream-kmsan-gce 2018/12/01 08:42 https://github.com/google/kmsan.git master 9fbf73b8d4af d8988561 .config log report
ci-upstream-kmsan-gce 2018/12/01 06:23 https://github.com/google/kmsan.git master 9fbf73b8d4af d8988561 .config log report
ci-upstream-kmsan-gce 2018/11/30 15:42 https://github.com/google/kmsan.git master c1c8fce47960 ade12e91 .config log report
ci-upstream-kmsan-gce 2018/11/30 15:35 https://github.com/google/kmsan.git master c1c8fce47960 ade12e91 .config log report
ci-upstream-kmsan-gce 2018/11/27 20:42 https://github.com/google/kmsan.git master fffec98ae2a6 4b6d14f2 .config log report
ci-upstream-kmsan-gce 2018/11/26 02:16 https://github.com/google/kmsan.git master fffec98ae2a6 3d3ec907 .config log report
ci-upstream-kmsan-gce 2018/11/24 16:44 https://github.com/google/kmsan.git master fffec98ae2a6 ecc7c870 .config log report
ci-upstream-kmsan-gce 2018/11/22 15:28 https://github.com/google/kmsan.git master 3ededcaa1606 2ee77802 .config log report
ci-upstream-kmsan-gce 2018/11/21 23:34 https://github.com/google/kmsan.git master 3ededcaa1606 9db828b5 .config log report
ci-upstream-kmsan-gce 2018/11/21 01:56 https://github.com/google/kmsan.git master 0891758b8cda 9aca6b52 .config log report
ci-upstream-kmsan-gce 2018/11/20 18:17 https://github.com/google/kmsan.git master 0891758b8cda 9aca6b52 .config log report
ci-upstream-kmsan-gce 2018/11/20 06:22 https://github.com/google/kmsan.git master 2808e543aacb 9bc2a903 .config log report
ci-upstream-kmsan-gce 2018/11/20 01:06 https://github.com/google/kmsan.git master 2808e543aacb adf636a8 .config log report
ci-upstream-kmsan-gce 2018/11/19 12:13 https://github.com/google/kmsan.git master cddc52641fd2 adf636a8 .config log report
ci-upstream-kmsan-gce 2018/11/19 07:20 https://github.com/google/kmsan.git master cddc52641fd2 adf636a8 .config log report
ci-upstream-kmsan-gce 2018/11/17 22:34 https://github.com/google/kmsan.git master cddc52641fd2 adf636a8 .config log report
ci-upstream-kmsan-gce 2018/11/04 23:01 https://github.com/google/kmsan.git master 88b95ef4c780 8bd6bd63 .config log report
ci-upstream-kmsan-gce 2018/10/17 17:01 https://github.com/google/kmsan.git master 22ec98c3e38f 1ba7fd7e .config log report
ci-upstream-kmsan-gce 2018/10/16 09:22 https://github.com/google/kmsan.git master 22ec98c3e38f 8cd30605 .config log report
ci-upstream-kmsan-gce 2018/10/07 05:48 https://github.com/google/kmsan.git master b2efdb2ef006 8b311eaf .config log report
ci-upstream-kmsan-gce 2018/10/05 00:39 https://github.com/google/kmsan.git master b2efdb2ef006 8b311eaf .config log report
ci-upstream-kmsan-gce 2018/10/01 16:42 https://github.com/google/kmsan.git master 2b752aff835d 48a50c6b .config log report
ci-upstream-kmsan-gce 2018/09/30 04:25 https://github.com/google/kmsan.git master 2b752aff835d 41e4b329 .config log report
ci-upstream-kmsan-gce 2018/09/21 10:50 https://github.com/google/kmsan.git master 7ace43031cfc 37079712 .config log report
ci-upstream-kmsan-gce 2018/09/17 15:39 https://github.com/google/kmsan.git master 5815ca49bf07 7f125108 .config log report
ci-upstream-kmsan-gce 2018/09/15 14:58 https://github.com/google/kmsan.git master 5815ca49bf07 a343a400 .config log report
ci-upstream-kmsan-gce 2018/09/11 08:33 https://github.com/google/kmsan.git master 401f0ab26c43 8c88323f .config log report
ci-upstream-kmsan-gce 2018/09/10 16:12 https://github.com/google/kmsan.git master 915c18a6ce9b f167cb6b .config log report
ci-upstream-kmsan-gce 2018/09/05 18:51 https://github.com/google/kmsan.git master 43e4752ae5dc 196410e4 .config log report
ci-upstream-kmsan-gce 2018/09/02 13:28 https://github.com/google/kmsan.git master 28f0ca98eadf a4718693 .config log report
ci-upstream-kmsan-gce 2018/09/01 12:06 https://github.com/google/kmsan.git master 28f0ca98eadf a4718693 .config log report
ci-upstream-kmsan-gce 2018/08/31 13:17 https://github.com/google/kmsan.git master ab98bd30a4ba a4718693 .config log report
ci-upstream-kmsan-gce 2018/08/30 17:08 https://github.com/google/kmsan.git master 25114c64b719 938220fd .config log report
ci-upstream-kmsan-gce 2018/08/27 22:06 https://github.com/google/kmsan.git master 0cc51dc9a291 7ef1de9e .config log report
ci-upstream-kmsan-gce 2018/08/26 09:31 https://github.com/google/kmsan.git master 0cc51dc9a291 758cd203 .config log report
ci-upstream-kmsan-gce 2018/08/25 09:21 https://github.com/google/kmsan.git master 0cc51dc9a291 9be5aa1d .config log report
ci-upstream-kmsan-gce 2018/08/20 21:08 https://github.com/google/kmsan.git master 0cc51dc9a291 95b5c82b .config log report
ci-upstream-kmsan-gce 2018/08/19 14:21 https://github.com/google/kmsan.git master 0cc51dc9a291 2dc4378f .config log report
ci-upstream-kmsan-gce 2018/08/19 12:16 https://github.com/google/kmsan.git master 0cc51dc9a291 2dc4378f .config log report
ci-upstream-kmsan-gce 2018/08/19 09:59 https://github.com/google/kmsan.git master 0cc51dc9a291 2dc4378f .config log report
ci-upstream-kmsan-gce 2018/08/18 04:18 https://github.com/google/kmsan.git master 0cc51dc9a291 db1858f6 .config log report
ci-upstream-kmsan-gce 2018/08/18 03:03 https://github.com/google/kmsan.git master 0cc51dc9a291 db1858f6 .config log report
ci-upstream-kmsan-gce 2018/08/17 16:53 https://github.com/google/kmsan.git master 0cc51dc9a291 738da825 .config log report
ci-upstream-kmsan-gce 2018/08/17 10:59 https://github.com/google/kmsan.git master 0cc51dc9a291 9ccc1d45 .config log report
ci-upstream-kmsan-gce 2018/08/14 21:34 https://github.com/google/kmsan.git master 0cc51dc9a291 5084a625 .config log report
ci-upstream-kmsan-gce 2018/08/14 04:32 https://github.com/google/kmsan.git master 0cc51dc9a291 7a88b141 .config log report
ci-upstream-kmsan-gce 2018/08/13 13:26 https://github.com/google/kmsan.git master 0cc51dc9a291 7a88b141 .config log report
ci-upstream-kmsan-gce 2018/08/12 05:08 https://github.com/google/kmsan.git master 0cc51dc9a291 7a88b141 .config log report
ci-upstream-kmsan-gce 2018/08/11 20:04 https://github.com/google/kmsan.git master 0cc51dc9a291 7a88b141 .config log report
ci-upstream-kmsan-gce 2018/08/10 13:33 https://github.com/google/kmsan.git master 0cc51dc9a291 1fb62d58 .config log report
ci-upstream-kmsan-gce 2018/08/10 13:32 https://github.com/google/kmsan.git master 0cc51dc9a291 1fb62d58 .config log report
ci-upstream-kmsan-gce 2018/07/21 23:45 https://github.com/google/kmsan.git master d1c2a46a46f6 8cc079c3 .config log report