INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.10.45' (ECDSA) to the list of known hosts. net.ipv6.conf.syz_tun.accept_dad = 0 net.ipv6.conf.syz_tun.router_solicitations = 0 syzkaller login: [ 42.697635] IPVS: Creating netns size=2536 id=1 RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported Error: argument "bridge0" is wrong: Device does not exist Error: argument "bridge0" is wrong: Device does not exist Error: argument "bond0" is wrong: Device does not exist Error: argument "bond0" is wrong: Device does not exist [ 42.809019] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 42.820925] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready Error: argument "team0" is wrong: Device does not exist Error: argument "team0" is wrong: Device does not exist [ 42.861963] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bond: link is not ready [ 42.872902] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bond: link is not ready RTNETLINK answers: Operation not supported [ 42.913360] IPv6: ADDRCONF(NETDEV_UP): veth0_to_team: link is not ready [ 42.924521] IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready [ 42.935592] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 42.949261] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready Cannot find device "bridge0" Cannot find device "bridge0" Cannot find device "bridge0" Cannot find device "bridge0" Cannot find device "vcan0" Cannot find device "vcan0" Cannot find device "vcan0" Cannot find device "vcan0" RTNETLINK answers: Operation not supported Cannot find device "gre0" Cannot find device "gre0" Cannot find device "gre0" Cannot find device "gre0" Cannot find device "gretap0" Cannot find device "gretap0" Cannot find device "gretap0" Cannot find device "gretap0" Cannot find device "ip_vti0" Cannot find device "ip_vti0" Cannot find device "ip_vti0" Cannot find device "ip_vti0" Cannot find device "ip6_vti0" Cannot find device "ip6_vti0" Cannot find device "ip6_vti0" Cannot find device "ip6_vti0" Cannot find device "ip6tnl0" Cannot find device "ip6tnl0" Cannot find device "ip6tnl0" Cannot find device "ip6tnl0" Cannot find device "ip6gre0" Cannot find device "ip6gre0" Cannot find device "ip6gre0" Cannot find device "ip6gre0" Cannot find device "ip6gretap0" Cannot find device "ip6gretap0" Cannot find device "ip6gretap0" Cannot find device "ip6gretap0" Cannot find device "erspan0" Cannot find device "erspan0" Cannot find device "erspan0" Cannot find device "erspan0" Cannot find device "bond0" Cannot find device "bond0" Cannot find device "bond0" Cannot find device "bond0" Cannot find device "team0" Cannot find device "team0" Cannot find device "team0" Cannot find device "team0" [ 43.390988] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 43.414270] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 43.420355] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 43.427860] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 43.562961] ================================================================== [ 43.570343] BUG: KASAN: use-after-free in skb_copy_datagram_iter+0x898/0x8f0 [ 43.577498] Read of size 1 at addr ffff8801c1789c40 by task syzkaller795386/3813 [ 43.584997] [ 43.586596] CPU: 1 PID: 3813 Comm: syzkaller795386 Not tainted 4.9.95-g13cc540 #2 [ 43.594190] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.603517] ffff8801d9987660 ffffffff81eb0ba9 ffffea000705e200 ffff8801c1789c40 [ 43.611492] 0000000000000000 ffff8801c1789c40 0000000000000000 ffff8801d9987698 [ 43.619463] ffffffff815653cb ffff8801c1789c40 0000000000000001 0000000000000000 [ 43.627431] Call Trace: [ 43.629998] [] dump_stack+0xc1/0x128 [ 43.635333] [] print_address_description+0x6c/0x234 [ 43.641974] [] kasan_report.cold.6+0x242/0x2fe [ 43.648182] [] ? skb_copy_datagram_iter+0x898/0x8f0 [ 43.654820] [] __asan_report_load1_noabort+0x14/0x20 [ 43.661543] [] skb_copy_datagram_iter+0x898/0x8f0 [ 43.668005] [] sock_recv_errqueue+0xb8/0x3f0 [ 43.674042] [] packet_recvmsg+0x88a/0xf40 [ 43.679809] [] ? packet_rcv_has_room+0xb0/0xb0 [ 43.686013] [] ? get_pages_array+0x60/0x60 [ 43.691869] [] ? selinux_socket_recvmsg+0x3f/0x50 [ 43.698331] [] ? security_socket_recvmsg+0x97/0xc0 [ 43.704881] [] ? packet_rcv_has_room+0xb0/0xb0 [ 43.711087] [] sock_recvmsg+0xc6/0x110 [ 43.716594] [] ? __sock_recv_ts_and_drops+0x490/0x490 [ 43.723404] [] ___sys_recvmsg+0x242/0x550 [ 43.729173] [] ? ___sys_sendmsg+0x840/0x840 [ 43.735114] [] ? debug_check_no_locks_freed+0x210/0x210 [ 43.742097] [] ? timespec64_add_safe+0x16f/0x200 [ 43.748473] [] ? timespec_add_safe+0x200/0x200 [ 43.754686] [] ? kvm_clock_read+0x23/0x40 [ 43.760454] [] ? kvm_clock_get_cycles+0x9/0x10 [ 43.766659] [] ? __fget_light+0x169/0x1f0 [ 43.772428] [] ? __fdget+0x18/0x20 [ 43.777588] [] ? sockfd_lookup_light+0xb6/0x160 [ 43.783877] [] __sys_recvmmsg+0x25d/0x700 [ 43.789644] [] ? SyS_recvmsg+0x50/0x50 [ 43.795151] [] ? debug_check_no_locks_freed+0x210/0x210 [ 43.802139] [] ? sock_enable_timestamp+0xb0/0xb0 [ 43.808517] [] ? selinux_netlbl_socket_setsockopt+0x8c/0x340 [ 43.815942] [] SyS_recvmmsg+0xeb/0x1c0 [ 43.821449] [] ? __sys_recvmmsg+0x700/0x700 [ 43.827392] [] ? do_syscall_64+0x48/0x490 [ 43.833161] [] ? __sys_recvmmsg+0x700/0x700 [ 43.839104] [] do_syscall_64+0x1a6/0x490 [ 43.844785] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 43.851678] [ 43.853275] Allocated by task 3813: [ 43.856873] save_stack_trace+0x16/0x20 [ 43.860819] save_stack+0x43/0xd0 [ 43.864248] kasan_kmalloc+0xc7/0xe0 [ 43.867938] kasan_slab_alloc+0x12/0x20 [ 43.871882] __kmalloc_track_caller+0xdc/0x2b0 [ 43.876436] __kmalloc_reserve.isra.37+0x33/0xc0 [ 43.881159] __alloc_skb+0x11a/0x600 [ 43.884840] alloc_skb_with_frags+0xaf/0x520 [ 43.889216] sock_alloc_send_pskb+0x5a9/0x750 [ 43.893682] packet_sendmsg+0x1599/0x44e0 [ 43.897800] sock_sendmsg+0xcc/0x110 [ 43.901487] SYSC_sendto+0x21c/0x370 [ 43.905169] SyS_sendto+0x40/0x50 [ 43.908593] do_syscall_64+0x1a6/0x490 [ 43.912449] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 43.917518] [ 43.919116] Freed by task 3813: [ 43.922366] save_stack_trace+0x16/0x20 [ 43.926307] save_stack+0x43/0xd0 [ 43.929728] kasan_slab_free+0x72/0xc0 [ 43.933593] kfree+0xfb/0x310 [ 43.936675] skb_free_head+0x8b/0xb0 [ 43.940360] skb_release_data+0x329/0x400 [ 43.944475] skb_release_all+0x4a/0x60 [ 43.948332] __kfree_skb+0x15/0x20 [ 43.951843] kfree_skb+0xcc/0x340 [ 43.955266] sit_tunnel_xmit+0xfb/0x2590 [ 43.959297] dev_hard_start_xmit+0x197/0x8b0 [ 43.963676] __dev_queue_xmit+0x19a5/0x2080 [ 43.967965] dev_queue_xmit+0x17/0x20 [ 43.971734] packet_sendmsg+0x1f17/0x44e0 [ 43.975849] sock_sendmsg+0xcc/0x110 [ 43.979534] SYSC_sendto+0x21c/0x370 [ 43.983218] SyS_sendto+0x40/0x50 [ 43.986643] do_syscall_64+0x1a6/0x490 [ 43.990499] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 43.995570] [ 43.997171] The buggy address belongs to the object at ffff8801c1789b80 [ 43.997171] which belongs to the cache kmalloc-512 of size 512 [ 44.009804] The buggy address is located 192 bytes inside of [ 44.009804] 512-byte region [ffff8801c1789b80, ffff8801c1789d80) [ 44.021649] The buggy address belongs to the page: [ 44.026556] page:ffffea000705e200 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 44.036729] flags: 0x8000000000004080(slab|head) [ 44.041450] page dumped because: kasan: bad access detected [ 44.047126] [ 44.048724] Memory state around the buggy address: [ 44.053624] ffff8801c1789b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc executing program [ 44.060964] ffff8801c1789b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.068293] >ffff8801c1789c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.075618] ^ [ 44.081040] ffff8801c1789c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.088370] ffff8801c1789d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 44.095695] ================================================================== [ 44.103035] Disabling lock debugging due to kernel taint [ 44.109315] Kernel panic - not syncing: panic_on_warn set ... [ 44.109315] [ 44.116665] CPU: 1 PID: 3813 Comm: syzkaller795386 Tainted: G B 4.9.95-g13cc540 #2 [ 44.125483] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.134811] ffff8801d99875c0 ffffffff81eb0ba9 ffffffff841c4485 00000000ffffffff [ 44.142792] 0000000000000000 0000000000000001 0000000000000000 ffff8801d9987680 [ 44.150771] ffffffff8141f945 0000000041b58ab3 ffffffff841b7b88 ffffffff8141f786 [ 44.158744] Call Trace: [ 44.161308] [] dump_stack+0xc1/0x128 [ 44.166649] [] panic+0x1bf/0x3bc [ 44.171634] [] ? add_taint.cold.6+0x16/0x16 [ 44.177579] [] ? ___preempt_schedule+0x16/0x18 [ 44.183783] [] kasan_end_report+0x47/0x4f [ 44.189551] [] kasan_report.cold.6+0x76/0x2fe [ 44.195668] [] ? skb_copy_datagram_iter+0x898/0x8f0 [ 44.202306] [] __asan_report_load1_noabort+0x14/0x20 [ 44.209054] [] skb_copy_datagram_iter+0x898/0x8f0 [ 44.215538] [] sock_recv_errqueue+0xb8/0x3f0 [ 44.221573] [] packet_recvmsg+0x88a/0xf40 [ 44.227349] [] ? packet_rcv_has_room+0xb0/0xb0 [ 44.233554] [] ? get_pages_array+0x60/0x60 [ 44.239411] [] ? selinux_socket_recvmsg+0x3f/0x50 [ 44.245874] [] ? security_socket_recvmsg+0x97/0xc0 [ 44.252426] [] ? packet_rcv_has_room+0xb0/0xb0 [ 44.258631] [] sock_recvmsg+0xc6/0x110 [ 44.264149] [] ? __sock_recv_ts_and_drops+0x490/0x490 [ 44.270965] [] ___sys_recvmsg+0x242/0x550 [ 44.276734] [] ? ___sys_sendmsg+0x840/0x840 [ 44.282677] [] ? debug_check_no_locks_freed+0x210/0x210 [ 44.289665] [] ? timespec64_add_safe+0x16f/0x200 [ 44.296042] [] ? timespec_add_safe+0x200/0x200 [ 44.302248] [] ? kvm_clock_read+0x23/0x40 [ 44.308029] [] ? kvm_clock_get_cycles+0x9/0x10 [ 44.314240] [] ? __fget_light+0x169/0x1f0 [ 44.320007] [] ? __fdget+0x18/0x20 [ 44.325171] [] ? sockfd_lookup_light+0xb6/0x160 [ 44.331467] [] __sys_recvmmsg+0x25d/0x700 [ 44.337239] [] ? SyS_recvmsg+0x50/0x50 [ 44.342748] [] ? debug_check_no_locks_freed+0x210/0x210 [ 44.349730] [] ? sock_enable_timestamp+0xb0/0xb0 [ 44.356115] [] ? selinux_netlbl_socket_setsockopt+0x8c/0x340 [ 44.363533] [] SyS_recvmmsg+0xeb/0x1c0 [ 44.369041] [] ? __sys_recvmmsg+0x700/0x700 [ 44.374983] [] ? do_syscall_64+0x48/0x490 [ 44.380752] [] ? __sys_recvmmsg+0x700/0x700 [ 44.386695] [] do_syscall_64+0x1a6/0x490 [ 44.392380] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 44.399666] Dumping ftrace buffer: [ 44.403176] (ftrace buffer empty) [ 44.406860] Kernel Offset: disabled [ 44.410468] Rebooting in 86400 seconds..