syzbot |
sign-in | mailing list | source | docs |
================================================================== BUG: KMSAN: uninit-value in tcp_rcv_established+0x87e/0x2bb0 net/ipv4/tcp_input.c:5340 CPU: 1 PID: 11565 Comm: syz-executor6 Not tainted 4.17.0+ #9 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+0x185/0x1d0 lib/dump_stack.c:113 kmsan_report+0x188/0x2a0 mm/kmsan/kmsan.c:1125 __msan_warning_32+0x70/0xc0 mm/kmsan/kmsan_instr.c:620 tcp_rcv_established+0x87e/0x2bb0 net/ipv4/tcp_input.c:5340 tcp_v4_do_rcv+0x6d2/0xd90 net/ipv4/tcp_ipv4.c:1477 sk_backlog_rcv include/net/sock.h:909 [inline] __release_sock+0x2dc/0x680 net/core/sock.c:2335 release_sock+0x99/0x2a0 net/core/sock.c:2850 tcp_sendmsg+0xd6/0x100 net/ipv4/tcp.c:1448 inet_sendmsg+0x3fc/0x760 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:629 [inline] sock_sendmsg net/socket.c:639 [inline] ___sys_sendmsg+0xec8/0x1320 net/socket.c:2117 __sys_sendmsg net/socket.c:2155 [inline] __do_sys_sendmsg net/socket.c:2164 [inline] __se_sys_sendmsg net/socket.c:2162 [inline] __x64_sys_sendmsg+0x331/0x460 net/socket.c:2162 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x455b29 RSP: 002b:00007fbc1ff6ac68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fbc1ff6b6d4 RCX: 0000000000455b29 RDX: 0000000020000000 RSI: 0000000020000f00 RDI: 0000000000000014 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004c0da8 R14: 00000000004d0a90 R15: 0000000000000000 Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:282 [inline] kmsan_save_stack mm/kmsan/kmsan.c:297 [inline] kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:689 kmsan_memcpy_origins+0x11d/0x170 mm/kmsan/kmsan.c:530 __msan_memcpy+0x109/0x160 mm/kmsan/kmsan_instr.c:413 pskb_expand_head+0x3a6/0x1a70 net/core/skbuff.c:1470 ___pskb_trim+0x2e4/0x1ae0 net/core/skbuff.c:1772 __pskb_trim include/linux/skbuff.h:2488 [inline] pskb_trim include/linux/skbuff.h:2495 [inline] sk_filter_trim_cap+0x523/0xa20 net/core/filter.c:106 tcp_filter net/ipv4/tcp_ipv4.c:1594 [inline] tcp_v4_rcv+0x4f33/0x6cd0 net/ipv4/tcp_ipv4.c:1746 ip_local_deliver_finish+0x887/0xed0 net/ipv4/ip_input.c:215 NF_HOOK include/linux/netfilter.h:288 [inline] ip_local_deliver+0x43c/0x4e0 net/ipv4/ip_input.c:256 dst_input include/net/dst.h:450 [inline] ip_rcv_finish+0xa1b/0x1d10 net/ipv4/ip_input.c:396 NF_HOOK include/linux/netfilter.h:288 [inline] ip_rcv+0x1168/0x16a0 net/ipv4/ip_input.c:492 __netif_receive_skb_core+0x47f3/0x4aa0 net/core/dev.c:4592 __netif_receive_skb net/core/dev.c:4657 [inline] process_backlog+0x62d/0xe20 net/core/dev.c:5337 napi_poll net/core/dev.c:5735 [inline] net_rx_action+0x766/0x1a80 net/core/dev.c:5801 __do_softirq+0x592/0x979 kernel/softirq.c:285 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:282 [inline] kmsan_internal_poison_shadow+0xb8/0x1b0 mm/kmsan/kmsan.c:192 kmsan_kmalloc+0x94/0x100 mm/kmsan/kmsan.c:318 kmsan_slab_alloc+0x10/0x20 mm/kmsan/kmsan.c:325 slab_post_alloc_hook mm/slab.h:446 [inline] slab_alloc_node mm/slub.c:2753 [inline] __kmalloc_node_track_caller+0xb35/0x11b0 mm/slub.c:4395 __kmalloc_reserve net/core/skbuff.c:138 [inline] __alloc_skb+0x2cb/0x9e0 net/core/skbuff.c:206 alloc_skb_fclone include/linux/skbuff.h:1030 [inline] sk_stream_alloc_skb+0x17c/0xcf0 net/ipv4/tcp.c:875 tso_fragment net/ipv4/tcp_output.c:1870 [inline] tcp_write_xmit+0x1a18/0xb200 net/ipv4/tcp_output.c:2364 __tcp_push_pending_frames+0x124/0x400 net/ipv4/tcp_output.c:2546 tcp_push_pending_frames include/net/tcp.h:1681 [inline] tcp_data_snd_check+0x184/0xe60 net/ipv4/tcp_input.c:5012 tcp_rcv_established+0x26ae/0x2bb0 net/ipv4/tcp_input.c:5422 tcp_v4_do_rcv+0x6d2/0xd90 net/ipv4/tcp_ipv4.c:1477 sk_backlog_rcv include/net/sock.h:909 [inline] __release_sock+0x2dc/0x680 net/core/sock.c:2335 release_sock+0x99/0x2a0 net/core/sock.c:2850 tcp_sendmsg+0xd6/0x100 net/ipv4/tcp.c:1448 inet_sendmsg+0x3fc/0x760 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:629 [inline] sock_sendmsg net/socket.c:639 [inline] ___sys_sendmsg+0xec8/0x1320 net/socket.c:2117 __sys_sendmsg net/socket.c:2155 [inline] __do_sys_sendmsg net/socket.c:2164 [inline] __se_sys_sendmsg net/socket.c:2162 [inline] __x64_sys_sendmsg+0x331/0x460 net/socket.c:2162 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 ==================================================================
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2018/06/19 03:48 | https://github.com/google/kmsan.git master | 123906095e30 | 45c54f75 | .config | console log | report | ci-upstream-kmsan-gce |