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.20' (ECDSA) to the list of known hosts. net.ipv6.conf.syz_tun.accept_dad = 0 syzkaller login: [ 30.054734] IPVS: ftp: loaded support on port[0] = 21 net.ipv6.conf.syz_tun.router_solicitations = 0 RTNETLINK answers: Operation not supported RTNETLINK answers: No buffer space available RTNETLINK answers: Operation not supported [ 30.333346] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument [ 30.730298] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 30.736413] 8021q: adding VLAN 0 to HW filter on device bond0 [ 30.777584] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 30.821589] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 30.865881] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 30.871997] 8021q: adding VLAN 0 to HW filter on device team0 [ 30.900694] bond0: Enslaving bond_slave as an active interface with an up link [ 30.909736] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready executing program [ 30.924805] team0: Port device team_slave added [ 30.930211] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 30.969156] ================================================================== [ 30.976614] BUG: KASAN: use-after-free in skb_release_data+0x19b/0x860 [ 30.983259] Write of size 4 at addr ffff8801d345a660 by task syzkaller047047/4480 [ 30.990854] [ 30.992465] CPU: 1 PID: 4480 Comm: syzkaller047047 Not tainted 4.16.0+ #1 [ 30.999368] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.008701] Call Trace: [ 31.011280] dump_stack+0x1b9/0x294 [ 31.014889] ? dump_stack_print_info.cold.2+0x52/0x52 [ 31.020058] ? printk+0x9e/0xba [ 31.023317] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 31.028056] ? kasan_check_write+0x14/0x20 [ 31.032271] print_address_description+0x6c/0x20b [ 31.037091] ? skb_release_data+0x19b/0x860 [ 31.041389] kasan_report.cold.7+0xac/0x2f5 [ 31.045686] check_memory_region+0x13e/0x1b0 [ 31.050071] kasan_check_write+0x14/0x20 [ 31.054131] skb_release_data+0x19b/0x860 [ 31.058258] ? skb_tx_error+0x2f0/0x2f0 [ 31.062207] ? kasan_check_read+0x11/0x20 [ 31.066339] ? rcu_is_watching+0x85/0x140 [ 31.070465] ? kasan_check_write+0x14/0x20 [ 31.074678] ? sock_rmem_free+0x6f/0x90 [ 31.078637] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 31.084151] skb_release_all+0x4a/0x60 [ 31.088019] kfree_skb+0x195/0x560 [ 31.091542] ? skb_queue_purge+0x19/0x40 [ 31.095580] ? __kfree_skb+0x20/0x20 [ 31.099275] ? do_raw_spin_trylock+0x1b0/0x1b0 [ 31.103840] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 31.108921] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 31.113913] ? trace_hardirqs_on+0xd/0x10 [ 31.118041] ? skb_dequeue+0x12f/0x180 [ 31.121904] skb_queue_purge+0x19/0x40 [ 31.125770] packet_sock_destruct+0x93/0x290 [ 31.130153] ? packet_mm_close+0xc0/0xc0 [ 31.134189] ? graph_lock+0x170/0x170 [ 31.137967] ? __free_object+0x16e/0x330 [ 31.142012] ? __list_del_entry_valid.cold.1+0x58/0x58 [ 31.147275] ? do_raw_spin_trylock+0x1b0/0x1b0 [ 31.151836] ? packet_mm_close+0xc0/0xc0 [ 31.155872] __sk_destruct+0xff/0xa40 [ 31.159650] ? sock_warn_obsolete_bsdism+0xb0/0xb0 [ 31.164553] ? graph_lock+0x170/0x170 [ 31.168338] ? lock_downgrade+0x8e0/0x8e0 [ 31.172463] ? __lock_is_held+0xb5/0x140 [ 31.176504] ? kasan_check_read+0x11/0x20 [ 31.180627] ? do_raw_spin_unlock+0x9e/0x2e0 [ 31.185017] ? do_raw_spin_trylock+0x1b0/0x1b0 [ 31.189583] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 31.194666] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 31.200181] ? refcount_sub_and_test+0x212/0x330 [ 31.204914] ? refcount_inc_not_zero+0x2d0/0x2d0 [ 31.209643] ? refcount_inc_not_zero+0x2d0/0x2d0 [ 31.214382] ? pcpu_free_area+0xa90/0xa90 [ 31.218509] sk_destruct+0x78/0x90 [ 31.222044] __sk_free+0x22e/0x340 [ 31.225568] sk_free+0x42/0x50 [ 31.228740] packet_release+0xa18/0xd50 [ 31.232691] ? lock_downgrade+0x8e0/0x8e0 [ 31.236817] ? packet_lookup_frame+0x270/0x270 [ 31.241383] ? cpumask_weight.constprop.5+0x44/0x44 [ 31.246379] ? do_raw_spin_lock+0xc1/0x200 [ 31.250596] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 31.256117] ? locks_remove_file+0x3f7/0x5a0 [ 31.260501] ? fcntl_setlk+0x1020/0x1020 [ 31.264540] ? fsnotify+0x415/0x1100 [ 31.268236] ? fsnotify_first_mark+0x330/0x330 [ 31.272800] sock_release+0x96/0x1b0 [ 31.276492] ? sock_alloc_file+0x4e0/0x4e0 [ 31.280704] sock_close+0x16/0x20 [ 31.284142] __fput+0x34d/0x890 [ 31.287401] ? fput+0x1a0/0x1a0 [ 31.290661] ? check_same_owner+0x320/0x320 [ 31.294960] ____fput+0x15/0x20 [ 31.298216] task_work_run+0x1e4/0x290 [ 31.302080] ? task_work_cancel+0x240/0x240 [ 31.306388] ? switch_task_namespaces+0xbd/0xd0 [ 31.311039] do_exit+0x1aee/0x2730 [ 31.314568] ? mm_update_next_owner+0x980/0x980 [ 31.319216] ? finish_mkwrite_fault+0x610/0x610 [ 31.323864] ? debug_check_no_locks_freed+0x310/0x310 [ 31.329040] ? kasan_check_read+0x11/0x20 [ 31.333176] ? rcu_is_watching+0x85/0x140 [ 31.337301] ? lock_acquire+0x1dc/0x520 [ 31.341255] ? lock_release+0xa10/0xa10 [ 31.345207] ? tun_chr_close+0x60/0x60 [ 31.349074] ? kasan_check_write+0x14/0x20 [ 31.353288] ? do_raw_spin_lock+0xc1/0x200 [ 31.357500] ? __handle_mm_fault+0x88c/0x4150 [ 31.361974] ? vm_insert_mixed_mkwrite+0x40/0x40 [ 31.366708] ? graph_lock+0x170/0x170 [ 31.370485] ? rcu_is_watching+0x85/0x140 [ 31.374606] ? graph_lock+0x170/0x170 [ 31.378384] ? find_held_lock+0x36/0x1c0 [ 31.382916] ? find_held_lock+0x36/0x1c0 [ 31.386963] ? lock_downgrade+0x8e0/0x8e0 [ 31.391090] ? handle_mm_fault+0x8c0/0xc70 [ 31.395307] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 31.400829] ? handle_mm_fault+0x55a/0xc70 [ 31.405047] ? __handle_mm_fault+0x4150/0x4150 [ 31.409612] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 31.415128] ? __do_page_fault+0x441/0xe40 [ 31.419344] do_group_exit+0x16f/0x430 [ 31.423208] ? SyS_exit+0x30/0x30 [ 31.426639] ? syscall_slow_exit_work+0x4f0/0x4f0 [ 31.431459] ? do_syscall_64+0xb7/0x9d0 [ 31.435411] ? do_group_exit+0x430/0x430 [ 31.439450] SyS_exit_group+0x1d/0x20 [ 31.443228] do_syscall_64+0x29e/0x9d0 [ 31.447090] ? vmalloc_sync_all+0x30/0x30 [ 31.451214] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 31.455944] ? syscall_return_slowpath+0x5c0/0x5c0 [ 31.460849] ? syscall_return_slowpath+0x30f/0x5c0 [ 31.465756] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 31.471271] ? retint_user+0x18/0x18 [ 31.474965] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 31.479788] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 31.484955] RIP: 0033:0x4416e9 [ 31.488119] RSP: 002b:00007ffe85497018 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7 [ 31.495807] RAX: ffffffffffffffda RBX: 000000000000001b RCX: 00000000004416e9 [ 31.503053] RDX: 0000000000441620 RSI: 0000000000000001 RDI: 0000000000000001 [ 31.510305] RBP: 00000000004a3309 R08: 0000000000000000 R09: 00000000006cd018 [ 31.517550] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffe85497108 [ 31.524808] R13: 0000000000402470 R14: 0000000000000000 R15: 0000000000000000 [ 31.532064] [ 31.533669] Allocated by task 4480: [ 31.537282] save_stack+0x43/0xd0 [ 31.540711] kasan_kmalloc+0xc4/0xe0 [ 31.544411] __kmalloc_node_track_caller+0x47/0x70 [ 31.549320] __kmalloc_reserve.isra.38+0x3a/0xe0 [ 31.554050] __alloc_skb+0x14d/0x780 [ 31.557738] alloc_skb_with_frags+0x137/0x760 [ 31.562208] sock_alloc_send_pskb+0x87a/0xae0 [ 31.566683] packet_sendmsg+0x1bd1/0x6100 [ 31.570894] sock_sendmsg+0xd5/0x120 [ 31.574583] ___sys_sendmsg+0x805/0x940 [ 31.578533] __sys_sendmsg+0x115/0x270 [ 31.582400] SyS_sendmsg+0x29/0x30 [ 31.585919] do_syscall_64+0x29e/0x9d0 [ 31.589783] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 31.594946] [ 31.596549] Freed by task 4480: [ 31.599811] save_stack+0x43/0xd0 [ 31.603244] __kasan_slab_free+0x11a/0x170 [ 31.607472] kasan_slab_free+0xe/0x10 [ 31.611273] kfree+0xd9/0x260 [ 31.614378] skb_free_head+0x99/0xc0 [ 31.618070] skb_release_data+0x690/0x860 [ 31.622191] skb_release_all+0x4a/0x60 [ 31.626057] kfree_skb+0x195/0x560 [ 31.629579] ip6_tnl_start_xmit+0xa44/0x2290 [ 31.633996] dev_hard_start_xmit+0x264/0xc10 [ 31.638391] __dev_queue_xmit+0x2724/0x34c0 [ 31.642694] dev_queue_xmit+0x17/0x20 [ 31.646474] packet_sendmsg+0x411d/0x6100 [ 31.650597] sock_sendmsg+0xd5/0x120 [ 31.654287] ___sys_sendmsg+0x805/0x940 [ 31.658239] __sys_sendmsg+0x115/0x270 [ 31.662103] SyS_sendmsg+0x29/0x30 [ 31.665619] do_syscall_64+0x29e/0x9d0 [ 31.669483] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 31.674642] [ 31.676246] The buggy address belongs to the object at ffff8801d345a580 [ 31.676246] which belongs to the cache kmalloc-512 of size 512 [ 31.688878] The buggy address is located 224 bytes inside of [ 31.688878] 512-byte region [ffff8801d345a580, ffff8801d345a780) [ 31.700723] The buggy address belongs to the page: [ 31.705628] page:ffffea00074d1680 count:1 mapcount:0 mapping:ffff8801d345a080 index:0x0 [ 31.713754] flags: 0x2fffc0000000100(slab) [ 31.717964] raw: 02fffc0000000100 ffff8801d345a080 0000000000000000 0000000100000006 [ 31.725820] raw: ffffea00074d1660 ffffea00074d1a60 ffff8801dac00940 0000000000000000 [ 31.733758] page dumped because: kasan: bad access detected [ 31.739442] [ 31.741047] Memory state around the buggy address: [ 31.745958] ffff8801d345a500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.753307] ffff8801d345a580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.760652] >ffff8801d345a600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.767985] ^ [ 31.774453] ffff8801d345a680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.781788] ffff8801d345a700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 31.789129] ================================================================== [ 31.796461] Disabling lock debugging due to kernel taint [ 31.802467] Kernel panic - not syncing: panic_on_warn set ... [ 31.802467] [ 31.809843] CPU: 1 PID: 4480 Comm: syzkaller047047 Tainted: G B 4.16.0+ #1 [ 31.818142] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.827469] Call Trace: [ 31.830042] dump_stack+0x1b9/0x294 [ 31.833645] ? dump_stack_print_info.cold.2+0x52/0x52 [ 31.838813] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 31.843547] ? skb_release_data+0xd0/0x860 [ 31.847758] panic+0x22f/0x4de [ 31.850928] ? add_taint.cold.5+0x16/0x16 [ 31.855051] ? do_raw_spin_unlock+0x9e/0x2e0 [ 31.859432] ? do_raw_spin_unlock+0x9e/0x2e0 [ 31.863812] ? skb_release_data+0x19b/0x860 [ 31.868109] kasan_end_report+0x47/0x4f [ 31.872061] kasan_report.cold.7+0xc9/0x2f5 [ 31.876357] check_memory_region+0x13e/0x1b0 [ 31.880738] kasan_check_write+0x14/0x20 [ 31.884777] skb_release_data+0x19b/0x860 [ 31.888902] ? skb_tx_error+0x2f0/0x2f0 [ 31.892849] ? kasan_check_read+0x11/0x20 [ 31.896973] ? rcu_is_watching+0x85/0x140 [ 31.901110] ? kasan_check_write+0x14/0x20 [ 31.905322] ? sock_rmem_free+0x6f/0x90 [ 31.909274] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 31.914792] skb_release_all+0x4a/0x60 [ 31.918653] kfree_skb+0x195/0x560 [ 31.922168] ? skb_queue_purge+0x19/0x40 [ 31.926203] ? __kfree_skb+0x20/0x20 [ 31.929896] ? do_raw_spin_trylock+0x1b0/0x1b0 [ 31.934456] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 31.939534] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 31.944523] ? trace_hardirqs_on+0xd/0x10 [ 31.948647] ? skb_dequeue+0x12f/0x180 [ 31.952518] skb_queue_purge+0x19/0x40 [ 31.956383] packet_sock_destruct+0x93/0x290 [ 31.960776] ? packet_mm_close+0xc0/0xc0 [ 31.964812] ? graph_lock+0x170/0x170 [ 31.968589] ? __free_object+0x16e/0x330 [ 31.972625] ? __list_del_entry_valid.cold.1+0x58/0x58 [ 31.977877] ? do_raw_spin_trylock+0x1b0/0x1b0 [ 31.982434] ? packet_mm_close+0xc0/0xc0 [ 31.986469] __sk_destruct+0xff/0xa40 [ 31.990246] ? sock_warn_obsolete_bsdism+0xb0/0xb0 [ 31.995149] ? graph_lock+0x170/0x170 [ 31.998925] ? lock_downgrade+0x8e0/0x8e0 [ 32.003048] ? __lock_is_held+0xb5/0x140 [ 32.007086] ? kasan_check_read+0x11/0x20 [ 32.011210] ? do_raw_spin_unlock+0x9e/0x2e0 [ 32.015596] ? do_raw_spin_trylock+0x1b0/0x1b0 [ 32.020157] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 32.025244] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.030760] ? refcount_sub_and_test+0x212/0x330 [ 32.035503] ? refcount_inc_not_zero+0x2d0/0x2d0 [ 32.040234] ? refcount_inc_not_zero+0x2d0/0x2d0 [ 32.044967] ? pcpu_free_area+0xa90/0xa90 [ 32.049093] sk_destruct+0x78/0x90 [ 32.052608] __sk_free+0x22e/0x340 [ 32.056123] sk_free+0x42/0x50 [ 32.059292] packet_release+0xa18/0xd50 [ 32.063241] ? lock_downgrade+0x8e0/0x8e0 [ 32.067367] ? packet_lookup_frame+0x270/0x270 [ 32.071925] ? cpumask_weight.constprop.5+0x44/0x44 [ 32.076914] ? do_raw_spin_lock+0xc1/0x200 [ 32.081124] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 32.086650] ? locks_remove_file+0x3f7/0x5a0 [ 32.091049] ? fcntl_setlk+0x1020/0x1020 [ 32.095092] ? fsnotify+0x415/0x1100 [ 32.098785] ? fsnotify_first_mark+0x330/0x330 [ 32.103347] sock_release+0x96/0x1b0 [ 32.107036] ? sock_alloc_file+0x4e0/0x4e0 [ 32.111245] sock_close+0x16/0x20 [ 32.114672] __fput+0x34d/0x890 [ 32.117926] ? fput+0x1a0/0x1a0 [ 32.121619] ? check_same_owner+0x320/0x320 [ 32.125916] ____fput+0x15/0x20 [ 32.129181] task_work_run+0x1e4/0x290 [ 32.133041] ? task_work_cancel+0x240/0x240 [ 32.137338] ? switch_task_namespaces+0xbd/0xd0 [ 32.141984] do_exit+0x1aee/0x2730 [ 32.145500] ? mm_update_next_owner+0x980/0x980 [ 32.150494] ? finish_mkwrite_fault+0x610/0x610 [ 32.155149] ? debug_check_no_locks_freed+0x310/0x310 [ 32.160335] ? kasan_check_read+0x11/0x20 [ 32.164466] ? rcu_is_watching+0x85/0x140 [ 32.168596] ? lock_acquire+0x1dc/0x520 [ 32.172543] ? lock_release+0xa10/0xa10 [ 32.176498] ? tun_chr_close+0x60/0x60 [ 32.180367] ? kasan_check_write+0x14/0x20 [ 32.184576] ? do_raw_spin_lock+0xc1/0x200 [ 32.188789] ? __handle_mm_fault+0x88c/0x4150 [ 32.193258] ? vm_insert_mixed_mkwrite+0x40/0x40 [ 32.197988] ? graph_lock+0x170/0x170 [ 32.201765] ? rcu_is_watching+0x85/0x140 [ 32.205889] ? graph_lock+0x170/0x170 [ 32.209663] ? find_held_lock+0x36/0x1c0 [ 32.213702] ? find_held_lock+0x36/0x1c0 [ 32.217740] ? lock_downgrade+0x8e0/0x8e0 [ 32.221863] ? handle_mm_fault+0x8c0/0xc70 [ 32.226076] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 32.231586] ? handle_mm_fault+0x55a/0xc70 [ 32.235802] ? __handle_mm_fault+0x4150/0x4150 [ 32.240360] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.245871] ? __do_page_fault+0x441/0xe40 [ 32.250085] do_group_exit+0x16f/0x430 [ 32.253945] ? SyS_exit+0x30/0x30 [ 32.257375] ? syscall_slow_exit_work+0x4f0/0x4f0 [ 32.262200] ? do_syscall_64+0xb7/0x9d0 [ 32.266153] ? do_group_exit+0x430/0x430 [ 32.270190] SyS_exit_group+0x1d/0x20 [ 32.273966] do_syscall_64+0x29e/0x9d0 [ 32.277830] ? vmalloc_sync_all+0x30/0x30 [ 32.281955] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.286684] ? syscall_return_slowpath+0x5c0/0x5c0 [ 32.291599] ? syscall_return_slowpath+0x30f/0x5c0 [ 32.296511] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.302041] ? retint_user+0x18/0x18 [ 32.305735] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.310558] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 32.315722] RIP: 0033:0x4416e9 [ 32.318887] RSP: 002b:00007ffe85497018 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7 [ 32.326568] RAX: ffffffffffffffda RBX: 000000000000001b RCX: 00000000004416e9 [ 32.333811] RDX: 0000000000441620 RSI: 0000000000000001 RDI: 0000000000000001 [ 32.341053] RBP: 00000000004a3309 R08: 0000000000000000 R09: 00000000006cd018 [ 32.348296] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffe85497108 [ 32.355547] R13: 0000000000402470 R14: 0000000000000000 R15: 0000000000000000 [ 32.363234] Dumping ftrace buffer: [ 32.366749] (ftrace buffer empty) [ 32.370430] Kernel Offset: disabled [ 32.374031] Rebooting in 86400 seconds..