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.0.57' (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: [ 45.200274] IPVS: ftp: loaded support on port[0] = 21 RTNETLINK answers: Operation not supported RTNETLINK answers: No buffer space available RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported [ 45.437470] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument [ 45.779818] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 45.785919] 8021q: adding VLAN 0 to HW filter on device bond0 [ 45.823173] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 45.859863] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 45.896979] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 45.903069] 8021q: adding VLAN 0 to HW filter on device team0 [ 45.928533] bond0: Enslaving bond_slave as an active interface with an up link [ 45.937166] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready executing program [ 45.952629] team0: Port device team_slave added [ 45.957890] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 45.993123] ================================================================== [ 46.000566] BUG: KASAN: use-after-free in skb_release_data+0x19b/0x860 [ 46.007208] Write of size 4 at addr ffff8801c73c43a0 by task syzkaller610601/4393 [ 46.014807] [ 46.016414] CPU: 0 PID: 4393 Comm: syzkaller610601 Not tainted 4.16.0+ #17 [ 46.023400] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.032727] Call Trace: [ 46.035295] dump_stack+0x1b9/0x294 [ 46.038900] ? dump_stack_print_info.cold.2+0x52/0x52 [ 46.044067] ? printk+0x9e/0xba [ 46.047324] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 46.052060] ? kasan_check_write+0x14/0x20 [ 46.056272] print_address_description+0x6c/0x20b [ 46.061611] ? skb_release_data+0x19b/0x860 [ 46.065910] kasan_report.cold.7+0xac/0x2f5 [ 46.070212] check_memory_region+0x13e/0x1b0 [ 46.074594] kasan_check_write+0x14/0x20 [ 46.078628] skb_release_data+0x19b/0x860 [ 46.082755] ? skb_tx_error+0x2f0/0x2f0 [ 46.086703] ? kasan_check_read+0x11/0x20 [ 46.090826] ? rcu_is_watching+0x85/0x140 [ 46.094952] ? kasan_check_write+0x14/0x20 [ 46.099163] ? sock_rmem_free+0x6f/0x90 [ 46.103113] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 46.108625] skb_release_all+0x4a/0x60 [ 46.112486] kfree_skb+0x195/0x560 [ 46.115999] ? skb_queue_purge+0x19/0x40 [ 46.120037] ? __kfree_skb+0x20/0x20 [ 46.123727] ? do_raw_spin_trylock+0x1b0/0x1b0 [ 46.128287] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 46.133366] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 46.138357] ? trace_hardirqs_on+0xd/0x10 [ 46.142482] ? skb_dequeue+0x12f/0x180 [ 46.146345] skb_queue_purge+0x19/0x40 [ 46.150208] packet_sock_destruct+0x93/0x290 [ 46.154591] ? packet_mm_close+0xc0/0xc0 [ 46.158626] ? graph_lock+0x170/0x170 [ 46.162401] ? __free_object+0x16e/0x330 [ 46.166438] ? __list_del_entry_valid.cold.1+0x58/0x58 [ 46.171692] ? do_raw_spin_trylock+0x1b0/0x1b0 [ 46.176251] ? packet_mm_close+0xc0/0xc0 [ 46.180289] __sk_destruct+0xff/0xa40 [ 46.184071] ? sock_warn_obsolete_bsdism+0xb0/0xb0 [ 46.188977] ? graph_lock+0x170/0x170 [ 46.192752] ? lock_downgrade+0x8e0/0x8e0 [ 46.196877] ? __lock_is_held+0xb5/0x140 [ 46.200917] ? kasan_check_read+0x11/0x20 [ 46.205043] ? do_raw_spin_unlock+0x9e/0x2e0 [ 46.209425] ? do_raw_spin_trylock+0x1b0/0x1b0 [ 46.213985] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 46.219066] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.224579] ? refcount_sub_and_test+0x212/0x330 [ 46.229312] ? refcount_inc_not_zero+0x2d0/0x2d0 [ 46.234041] ? refcount_inc_not_zero+0x2d0/0x2d0 [ 46.238771] ? pcpu_free_area+0xa90/0xa90 [ 46.242896] sk_destruct+0x78/0x90 [ 46.246415] __sk_free+0x22e/0x340 [ 46.249932] sk_free+0x42/0x50 [ 46.253101] packet_release+0xa18/0xd50 [ 46.257049] ? lock_downgrade+0x8e0/0x8e0 [ 46.261177] ? packet_lookup_frame+0x270/0x270 [ 46.265736] ? cpumask_weight.constprop.5+0x44/0x44 [ 46.270727] ? do_raw_spin_lock+0xc1/0x200 [ 46.274940] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 46.280454] ? locks_remove_file+0x3f7/0x5a0 [ 46.284839] ? fcntl_setlk+0x1020/0x1020 [ 46.288873] ? fsnotify+0x415/0x1100 [ 46.292565] ? fsnotify_first_mark+0x330/0x330 [ 46.297125] sock_release+0x96/0x1b0 [ 46.300815] ? sock_alloc_file+0x4e0/0x4e0 [ 46.305028] sock_close+0x16/0x20 [ 46.308456] __fput+0x34d/0x890 [ 46.311713] ? fput+0x1a0/0x1a0 [ 46.314970] ? check_same_owner+0x320/0x320 [ 46.319269] ____fput+0x15/0x20 [ 46.322523] task_work_run+0x1e4/0x290 [ 46.326386] ? task_work_cancel+0x240/0x240 [ 46.330686] ? switch_task_namespaces+0xbd/0xd0 [ 46.335336] do_exit+0x1aee/0x2730 [ 46.338854] ? mm_update_next_owner+0x980/0x980 [ 46.343498] ? finish_mkwrite_fault+0x610/0x610 [ 46.348143] ? debug_check_no_locks_freed+0x310/0x310 [ 46.353308] ? kasan_check_read+0x11/0x20 [ 46.357429] ? rcu_is_watching+0x85/0x140 [ 46.361553] ? lock_acquire+0x1dc/0x520 [ 46.365505] ? lock_release+0xa10/0xa10 [ 46.369456] ? tun_chr_close+0x60/0x60 [ 46.373323] ? kasan_check_write+0x14/0x20 [ 46.377533] ? do_raw_spin_lock+0xc1/0x200 [ 46.381754] ? __handle_mm_fault+0x88c/0x4150 [ 46.386227] ? vm_insert_mixed_mkwrite+0x40/0x40 [ 46.390957] ? graph_lock+0x170/0x170 [ 46.394732] ? rcu_is_watching+0x85/0x140 [ 46.398863] ? graph_lock+0x170/0x170 [ 46.402637] ? find_held_lock+0x36/0x1c0 [ 46.406679] ? find_held_lock+0x36/0x1c0 [ 46.410718] ? lock_downgrade+0x8e0/0x8e0 [ 46.414838] ? handle_mm_fault+0x8c0/0xc70 [ 46.419050] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 46.424562] ? handle_mm_fault+0x55a/0xc70 [ 46.428773] ? __handle_mm_fault+0x4150/0x4150 [ 46.433334] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.438848] ? __do_page_fault+0x441/0xe40 [ 46.443061] do_group_exit+0x16f/0x430 [ 46.446928] ? SyS_exit+0x30/0x30 [ 46.450358] ? syscall_slow_exit_work+0x4f0/0x4f0 [ 46.455174] ? do_syscall_64+0xb7/0x9d0 [ 46.459124] ? do_group_exit+0x430/0x430 [ 46.463161] SyS_exit_group+0x1d/0x20 [ 46.466937] do_syscall_64+0x29e/0x9d0 [ 46.470798] ? vmalloc_sync_all+0x30/0x30 [ 46.474923] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 46.479656] ? syscall_return_slowpath+0x5c0/0x5c0 [ 46.484562] ? syscall_return_slowpath+0x30f/0x5c0 [ 46.489467] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.494979] ? retint_user+0x18/0x18 [ 46.498671] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 46.503493] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 46.508656] RIP: 0033:0x441609 [ 46.511822] RSP: 002b:00007ffd965cfb48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 46.519506] RAX: ffffffffffffffda RBX: 000000000000001b RCX: 0000000000441609 [ 46.526751] RDX: 0000000000441540 RSI: 0000000000000001 RDI: 0000000000000001 [ 46.533997] RBP: 00000000004a3229 R08: 0000000000000000 R09: 00000000006cd018 [ 46.541243] R10: 0000000000000000 R11: 0000000000000206 R12: 00007ffd965cfc38 [ 46.548488] R13: 0000000000402390 R14: 0000000000000000 R15: 0000000000000000 [ 46.555737] [ 46.557341] Allocated by task 4393: [ 46.560944] save_stack+0x43/0xd0 [ 46.564372] kasan_kmalloc+0xc4/0xe0 [ 46.568062] __kmalloc_node_track_caller+0x47/0x70 [ 46.572970] __kmalloc_reserve.isra.38+0x3a/0xe0 [ 46.577698] __alloc_skb+0x14d/0x780 [ 46.581384] alloc_skb_with_frags+0x137/0x760 [ 46.585854] sock_alloc_send_pskb+0x87a/0xae0 [ 46.590325] packet_sendmsg+0x1bd1/0x6100 [ 46.594448] sock_sendmsg+0xd5/0x120 [ 46.598137] ___sys_sendmsg+0x805/0x940 [ 46.602085] __sys_sendmsg+0x115/0x270 [ 46.605947] SyS_sendmsg+0x29/0x30 [ 46.609463] do_syscall_64+0x29e/0x9d0 [ 46.613324] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 46.618481] [ 46.620083] Freed by task 4393: [ 46.623343] save_stack+0x43/0xd0 [ 46.626772] __kasan_slab_free+0x11a/0x170 [ 46.630981] kasan_slab_free+0xe/0x10 [ 46.634754] kfree+0xd9/0x260 [ 46.637836] skb_free_head+0x99/0xc0 [ 46.641524] skb_release_data+0x690/0x860 [ 46.645649] skb_release_all+0x4a/0x60 [ 46.649511] kfree_skb+0x195/0x560 [ 46.653030] ip6_tnl_start_xmit+0xa44/0x2290 [ 46.657413] dev_hard_start_xmit+0x264/0xc10 [ 46.661795] __dev_queue_xmit+0x2724/0x34c0 [ 46.666089] dev_queue_xmit+0x17/0x20 [ 46.669865] packet_sendmsg+0x411d/0x6100 [ 46.673991] sock_sendmsg+0xd5/0x120 [ 46.677681] ___sys_sendmsg+0x805/0x940 [ 46.681630] __sys_sendmsg+0x115/0x270 [ 46.685491] SyS_sendmsg+0x29/0x30 [ 46.689006] do_syscall_64+0x29e/0x9d0 [ 46.692867] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 46.698030] [ 46.699635] The buggy address belongs to the object at ffff8801c73c42c0 [ 46.699635] which belongs to the cache kmalloc-512 of size 512 [ 46.712265] The buggy address is located 224 bytes inside of [ 46.712265] 512-byte region [ffff8801c73c42c0, ffff8801c73c44c0) [ 46.724109] The buggy address belongs to the page: [ 46.729013] page:ffffea00071cf100 count:1 mapcount:0 mapping:ffff8801c73c4040 index:0x0 [ 46.737130] flags: 0x2fffc0000000100(slab) [ 46.741340] raw: 02fffc0000000100 ffff8801c73c4040 0000000000000000 0000000100000006 [ 46.749199] raw: ffffea0006e2e0e0 ffff8801dac01748 ffff8801dac00940 0000000000000000 [ 46.757051] page dumped because: kasan: bad access detected [ 46.762731] [ 46.764332] Memory state around the buggy address: [ 46.769233] ffff8801c73c4280: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 46.776563] ffff8801c73c4300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.783897] >ffff8801c73c4380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.791225] ^ [ 46.795610] ffff8801c73c4400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.802944] ffff8801c73c4480: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 46.810275] ================================================================== [ 46.817606] Disabling lock debugging due to kernel taint [ 46.823435] Kernel panic - not syncing: panic_on_warn set ... [ 46.823435] [ 46.830781] CPU: 0 PID: 4393 Comm: syzkaller610601 Tainted: G B 4.16.0+ #17 [ 46.839064] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.848386] Call Trace: [ 46.850947] dump_stack+0x1b9/0x294 [ 46.854548] ? dump_stack_print_info.cold.2+0x52/0x52 [ 46.859714] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 46.864442] ? skb_release_data+0xd0/0x860 [ 46.868653] panic+0x22f/0x4de [ 46.871819] ? add_taint.cold.5+0x16/0x16 [ 46.875943] ? do_raw_spin_unlock+0x9e/0x2e0 [ 46.880323] ? do_raw_spin_unlock+0x9e/0x2e0 [ 46.884705] ? skb_release_data+0x19b/0x860 [ 46.889001] kasan_end_report+0x47/0x4f [ 46.892947] kasan_report.cold.7+0xc9/0x2f5 [ 46.897246] check_memory_region+0x13e/0x1b0 [ 46.901632] kasan_check_write+0x14/0x20 [ 46.905667] skb_release_data+0x19b/0x860 [ 46.909790] ? skb_tx_error+0x2f0/0x2f0 [ 46.913739] ? kasan_check_read+0x11/0x20 [ 46.917866] ? rcu_is_watching+0x85/0x140 [ 46.921989] ? kasan_check_write+0x14/0x20 [ 46.926196] ? sock_rmem_free+0x6f/0x90 [ 46.930144] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 46.935656] skb_release_all+0x4a/0x60 [ 46.939520] kfree_skb+0x195/0x560 [ 46.943032] ? skb_queue_purge+0x19/0x40 [ 46.947065] ? __kfree_skb+0x20/0x20 [ 46.950757] ? do_raw_spin_trylock+0x1b0/0x1b0 [ 46.955314] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 46.960389] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 46.965378] ? trace_hardirqs_on+0xd/0x10 [ 46.969501] ? skb_dequeue+0x12f/0x180 [ 46.973359] skb_queue_purge+0x19/0x40 [ 46.977223] packet_sock_destruct+0x93/0x290 [ 46.981606] ? packet_mm_close+0xc0/0xc0 [ 46.985638] ? graph_lock+0x170/0x170 [ 46.989419] ? __free_object+0x16e/0x330 [ 46.993453] ? __list_del_entry_valid.cold.1+0x58/0x58 [ 46.998704] ? do_raw_spin_trylock+0x1b0/0x1b0 [ 47.003260] ? packet_mm_close+0xc0/0xc0 [ 47.007296] __sk_destruct+0xff/0xa40 [ 47.011069] ? sock_warn_obsolete_bsdism+0xb0/0xb0 [ 47.015970] ? graph_lock+0x170/0x170 [ 47.019743] ? lock_downgrade+0x8e0/0x8e0 [ 47.023863] ? __lock_is_held+0xb5/0x140 [ 47.027901] ? kasan_check_read+0x11/0x20 [ 47.032022] ? do_raw_spin_unlock+0x9e/0x2e0 [ 47.036404] ? do_raw_spin_trylock+0x1b0/0x1b0 [ 47.040963] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 47.046043] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.051556] ? refcount_sub_and_test+0x212/0x330 [ 47.056285] ? refcount_inc_not_zero+0x2d0/0x2d0 [ 47.061015] ? refcount_inc_not_zero+0x2d0/0x2d0 [ 47.065744] ? pcpu_free_area+0xa90/0xa90 [ 47.069864] sk_destruct+0x78/0x90 [ 47.073377] __sk_free+0x22e/0x340 [ 47.076890] sk_free+0x42/0x50 [ 47.080058] packet_release+0xa18/0xd50 [ 47.084007] ? lock_downgrade+0x8e0/0x8e0 [ 47.088127] ? packet_lookup_frame+0x270/0x270 [ 47.092686] ? cpumask_weight.constprop.5+0x44/0x44 [ 47.097673] ? do_raw_spin_lock+0xc1/0x200 [ 47.101887] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 47.107398] ? locks_remove_file+0x3f7/0x5a0 [ 47.111779] ? fcntl_setlk+0x1020/0x1020 [ 47.115814] ? fsnotify+0x415/0x1100 [ 47.119505] ? fsnotify_first_mark+0x330/0x330 [ 47.124060] sock_release+0x96/0x1b0 [ 47.127748] ? sock_alloc_file+0x4e0/0x4e0 [ 47.131957] sock_close+0x16/0x20 [ 47.135385] __fput+0x34d/0x890 [ 47.138636] ? fput+0x1a0/0x1a0 [ 47.141890] ? check_same_owner+0x320/0x320 [ 47.146185] ____fput+0x15/0x20 [ 47.149441] task_work_run+0x1e4/0x290 [ 47.153302] ? task_work_cancel+0x240/0x240 [ 47.157742] ? switch_task_namespaces+0xbd/0xd0 [ 47.162387] do_exit+0x1aee/0x2730 [ 47.165907] ? mm_update_next_owner+0x980/0x980 [ 47.170552] ? finish_mkwrite_fault+0x610/0x610 [ 47.175196] ? debug_check_no_locks_freed+0x310/0x310 [ 47.180362] ? kasan_check_read+0x11/0x20 [ 47.184484] ? rcu_is_watching+0x85/0x140 [ 47.188605] ? lock_acquire+0x1dc/0x520 [ 47.192561] ? lock_release+0xa10/0xa10 [ 47.196509] ? tun_chr_close+0x60/0x60 [ 47.200371] ? kasan_check_write+0x14/0x20 [ 47.204579] ? do_raw_spin_lock+0xc1/0x200 [ 47.208791] ? __handle_mm_fault+0x88c/0x4150 [ 47.213262] ? vm_insert_mixed_mkwrite+0x40/0x40 [ 47.217991] ? graph_lock+0x170/0x170 [ 47.221767] ? rcu_is_watching+0x85/0x140 [ 47.225897] ? graph_lock+0x170/0x170 [ 47.229670] ? find_held_lock+0x36/0x1c0 [ 47.233706] ? find_held_lock+0x36/0x1c0 [ 47.237746] ? lock_downgrade+0x8e0/0x8e0 [ 47.241869] ? handle_mm_fault+0x8c0/0xc70 [ 47.246079] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 47.251590] ? handle_mm_fault+0x55a/0xc70 [ 47.255798] ? __handle_mm_fault+0x4150/0x4150 [ 47.260358] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.265870] ? __do_page_fault+0x441/0xe40 [ 47.270081] do_group_exit+0x16f/0x430 [ 47.273944] ? SyS_exit+0x30/0x30 [ 47.277373] ? syscall_slow_exit_work+0x4f0/0x4f0 [ 47.282192] ? do_syscall_64+0xb7/0x9d0 [ 47.286140] ? do_group_exit+0x430/0x430 [ 47.290175] SyS_exit_group+0x1d/0x20 [ 47.293949] do_syscall_64+0x29e/0x9d0 [ 47.297809] ? vmalloc_sync_all+0x30/0x30 [ 47.301937] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 47.306669] ? syscall_return_slowpath+0x5c0/0x5c0 [ 47.311571] ? syscall_return_slowpath+0x30f/0x5c0 [ 47.316474] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.321986] ? retint_user+0x18/0x18 [ 47.325673] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.330488] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 47.335651] RIP: 0033:0x441609 [ 47.338817] RSP: 002b:00007ffd965cfb48 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 [ 47.346499] RAX: ffffffffffffffda RBX: 000000000000001b RCX: 0000000000441609 [ 47.353742] RDX: 0000000000441540 RSI: 0000000000000001 RDI: 0000000000000001 [ 47.360984] RBP: 00000000004a3229 R08: 0000000000000000 R09: 00000000006cd018 [ 47.368226] R10: 0000000000000000 R11: 0000000000000206 R12: 00007ffd965cfc38 [ 47.375469] R13: 0000000000402390 R14: 0000000000000000 R15: 0000000000000000 [ 47.383055] Dumping ftrace buffer: [ 47.386565] (ftrace buffer empty) [ 47.390246] Kernel Offset: disabled [ 47.393847] Rebooting in 86400 seconds..