[....] 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. [ 29.232846] kauditd_printk_skb: 7 callbacks suppressed [ 29.232858] audit: type=1800 audit(1545626169.920:29): pid=5911 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 29.266423] audit: type=1800 audit(1545626169.920:30): pid=5911 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 33.804268] sshd (6049) used greatest stack depth: 15728 bytes left Warning: Permanently added '10.128.0.138' (ECDSA) to the list of known hosts. 2018/12/24 04:38:39 parsed 1 programs 2018/12/24 04:38:41 executed programs: 0 [ 180.586835] IPVS: ftp: loaded support on port[0] = 21 [ 180.839817] bridge0: port 1(bridge_slave_0) entered blocking state [ 180.846625] bridge0: port 1(bridge_slave_0) entered disabled state [ 180.853572] device bridge_slave_0 entered promiscuous mode [ 180.871811] bridge0: port 2(bridge_slave_1) entered blocking state [ 180.878601] bridge0: port 2(bridge_slave_1) entered disabled state [ 180.885448] device bridge_slave_1 entered promiscuous mode [ 180.902973] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 180.920673] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 180.969619] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 180.989512] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 181.063818] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 181.071286] team0: Port device team_slave_0 added [ 181.087255] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 181.094457] team0: Port device team_slave_1 added [ 181.112408] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 181.131755] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 181.150475] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 181.170411] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 181.317430] bridge0: port 2(bridge_slave_1) entered blocking state [ 181.323878] bridge0: port 2(bridge_slave_1) entered forwarding state [ 181.330791] bridge0: port 1(bridge_slave_0) entered blocking state [ 181.337158] bridge0: port 1(bridge_slave_0) entered forwarding state [ 181.848272] 8021q: adding VLAN 0 to HW filter on device bond0 [ 181.899662] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 181.952915] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 181.959185] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 181.966230] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 182.020171] 8021q: adding VLAN 0 to HW filter on device team0 [ 183.133825] ================================================================== [ 183.141336] BUG: KASAN: use-after-free in tipc_mcast_xmit+0xb77/0xdb0 [ 183.147905] Read of size 1 at addr ffff8881d77ca54e by task syz-executor0/6336 [ 183.155279] [ 183.156903] CPU: 1 PID: 6336 Comm: syz-executor0 Not tainted 4.20.0-rc6-next-20181217+ #172 [ 183.165373] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 183.174720] Call Trace: [ 183.177315] dump_stack+0x244/0x39d [ 183.180927] ? dump_stack_print_info.cold.1+0x20/0x20 [ 183.186122] ? printk+0xa7/0xcf [ 183.189387] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 183.194133] print_address_description.cold.4+0x9/0x1ff [ 183.199482] ? tipc_mcast_xmit+0xb77/0xdb0 [ 183.203707] kasan_report.cold.5+0x1b/0x39 [ 183.207941] ? tipc_mcast_xmit+0xb77/0xdb0 [ 183.212161] ? tipc_mcast_xmit+0xb77/0xdb0 [ 183.216384] __asan_report_load1_noabort+0x14/0x20 [ 183.221302] tipc_mcast_xmit+0xb77/0xdb0 [ 183.225360] ? tipc_bcast_dec_bearer_dst_cnt+0xa80/0xa80 [ 183.230795] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 183.235795] ? skb_put+0x17b/0x1e0 [ 183.239326] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 183.244887] ? tipc_msg_build+0x4a5/0x12d0 [ 183.249127] ? tipc_msg_assemble+0x6b0/0x6b0 [ 183.253563] ? remove_wait_queue+0x1a6/0x360 [ 183.257960] ? lockdep_init_map+0x105/0x590 [ 183.262275] tipc_send_group_bcast+0xa5f/0xdf0 [ 183.266844] ? check_preemption_disabled+0x48/0x280 [ 183.271869] ? tipc_sk_sock_err.isra.60+0x2f0/0x2f0 [ 183.276876] ? __init_waitqueue_head+0x150/0x150 [ 183.281621] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 183.286710] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 183.291288] ? mark_held_locks+0x130/0x130 [ 183.295507] ? ___preempt_schedule+0x16/0x18 [ 183.299909] ? try_to_wake_up+0x11c/0x1440 [ 183.304127] ? graph_lock+0x270/0x270 [ 183.307920] __tipc_sendmsg+0xeec/0x1d40 [ 183.311966] ? migrate_swap_stop+0x8a0/0x8a0 [ 183.316404] ? tipc_sendmcast+0xf50/0xf50 [ 183.320540] ? graph_lock+0x270/0x270 [ 183.324329] ? print_usage_bug+0xc0/0xc0 [ 183.328386] ? find_held_lock+0x36/0x1c0 [ 183.332435] ? mark_held_locks+0xc7/0x130 [ 183.336571] ? __local_bh_enable_ip+0x160/0x260 [ 183.341227] ? __local_bh_enable_ip+0x160/0x260 [ 183.345911] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 183.350478] ? trace_hardirqs_on+0xbd/0x310 [ 183.354799] ? lock_release+0xa00/0xa00 [ 183.358774] ? lock_sock_nested+0xe2/0x120 [ 183.362994] ? trace_hardirqs_off_caller+0x310/0x310 [ 183.368082] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 183.373604] ? check_preemption_disabled+0x48/0x280 [ 183.378605] ? lock_sock_nested+0x9a/0x120 [ 183.382823] ? lock_sock_nested+0x9a/0x120 [ 183.387046] ? __local_bh_enable_ip+0x160/0x260 [ 183.391764] tipc_sendmsg+0x50/0x70 [ 183.395377] ? __tipc_sendmsg+0x1d40/0x1d40 [ 183.399703] sock_sendmsg+0xd5/0x120 [ 183.403435] ___sys_sendmsg+0x51d/0x930 [ 183.407396] ? graph_lock+0x270/0x270 [ 183.411188] ? copy_msghdr_from_user+0x580/0x580 [ 183.415945] ? find_held_lock+0x36/0x1c0 [ 183.420005] ? __fget_light+0x2e9/0x430 [ 183.423973] ? fget_raw+0x20/0x20 [ 183.427414] ? graph_lock+0x270/0x270 [ 183.431196] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 183.435786] ? trace_hardirqs_on+0xbd/0x310 [ 183.440092] ? _raw_spin_unlock_bh+0x30/0x40 [ 183.444496] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 183.450027] ? sockfd_lookup_light+0xc5/0x160 [ 183.454510] __sys_sendmmsg+0x246/0x6d0 [ 183.458478] ? __ia32_sys_sendmsg+0xb0/0xb0 [ 183.462802] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 183.468338] ? put_timespec64+0x10f/0x1b0 [ 183.472472] ? nsecs_to_jiffies+0x30/0x30 [ 183.476623] ? do_syscall_64+0x9a/0x820 [ 183.480592] ? do_syscall_64+0x9a/0x820 [ 183.484551] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 183.489136] ? trace_hardirqs_on+0xbd/0x310 [ 183.493462] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 183.498987] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 183.504354] ? trace_hardirqs_off_caller+0x310/0x310 [ 183.509461] __x64_sys_sendmmsg+0x9d/0x100 [ 183.513682] do_syscall_64+0x1b9/0x820 [ 183.517588] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 183.522938] ? syscall_return_slowpath+0x5e0/0x5e0 [ 183.527854] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 183.532682] ? trace_hardirqs_on_caller+0x310/0x310 [ 183.537708] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 183.542733] ? prepare_exit_to_usermode+0x291/0x3b0 [ 183.547739] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 183.552590] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 183.557768] RIP: 0033:0x457669 [ 183.560972] Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 183.580017] RSP: 002b:00007f23c32e0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 [ 183.587707] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457669 [ 183.594960] RDX: 0000000000000142 RSI: 0000000020000000 RDI: 0000000000000004 [ 183.602228] RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 [ 183.609491] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f23c32e16d4 [ 183.616742] R13: 00000000004c3e4b R14: 00000000004d6ca8 R15: 00000000ffffffff [ 183.624003] [ 183.625612] Allocated by task 6336: [ 183.629222] save_stack+0x43/0xd0 [ 183.632665] kasan_kmalloc+0xcb/0xd0 [ 183.636362] kmem_cache_alloc_trace+0x154/0x740 [ 183.641013] tipc_group_create+0x152/0xa70 [ 183.645229] tipc_setsockopt+0x2d1/0xd70 [ 183.649292] __sys_setsockopt+0x1ba/0x3c0 [ 183.653429] __x64_sys_setsockopt+0xbe/0x150 [ 183.657829] do_syscall_64+0x1b9/0x820 [ 183.661699] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 183.666870] [ 183.668491] Freed by task 6337: [ 183.671751] save_stack+0x43/0xd0 [ 183.675221] __kasan_slab_free+0x102/0x150 [ 183.679445] kasan_slab_free+0xe/0x10 [ 183.683227] kfree+0xcf/0x230 [ 183.686325] tipc_group_delete+0x2e4/0x3f0 [ 183.690542] tipc_sk_leave+0x113/0x220 [ 183.694412] tipc_setsockopt+0x97d/0xd70 [ 183.698472] __sys_setsockopt+0x1ba/0x3c0 [ 183.702618] __x64_sys_setsockopt+0xbe/0x150 [ 183.707017] do_syscall_64+0x1b9/0x820 [ 183.710898] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 183.716069] [ 183.717681] The buggy address belongs to the object at ffff8881d77ca500 [ 183.717681] which belongs to the cache kmalloc-192 of size 192 [ 183.730321] The buggy address is located 78 bytes inside of [ 183.730321] 192-byte region [ffff8881d77ca500, ffff8881d77ca5c0) [ 183.742117] The buggy address belongs to the page: [ 183.747034] page:ffffea00075df280 count:1 mapcount:0 mapping:ffff8881da800040 index:0x0 [ 183.755158] flags: 0x2fffc0000000200(slab) [ 183.759380] raw: 02fffc0000000200 ffffea00075defc8 ffffea00075df3c8 ffff8881da800040 [ 183.767262] raw: 0000000000000000 ffff8881d77ca000 0000000100000010 0000000000000000 [ 183.775137] page dumped because: kasan: bad access detected [ 183.780826] [ 183.782435] Memory state around the buggy address: [ 183.787359] ffff8881d77ca400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 183.794708] ffff8881d77ca480: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 183.802049] >ffff8881d77ca500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 183.809402] ^ [ 183.815092] ffff8881d77ca580: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 183.822432] ffff8881d77ca600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 183.829788] ================================================================== [ 183.837125] Disabling lock debugging due to kernel taint [ 183.845272] Kernel panic - not syncing: panic_on_warn set ... [ 183.851172] CPU: 1 PID: 6336 Comm: syz-executor0 Tainted: G B 4.20.0-rc6-next-20181217+ #172 [ 183.861028] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 183.870363] Call Trace: [ 183.872932] dump_stack+0x244/0x39d [ 183.876542] ? dump_stack_print_info.cold.1+0x20/0x20 [ 183.881716] ? tipc_mcast_xmit+0xb30/0xdb0 [ 183.885949] panic+0x2ad/0x632 [ 183.889134] ? add_taint.cold.5+0x16/0x16 [ 183.893269] ? preempt_schedule+0x4d/0x60 [ 183.897400] ? ___preempt_schedule+0x16/0x18 [ 183.901802] ? trace_hardirqs_on+0xb4/0x310 [ 183.906105] ? tipc_mcast_xmit+0xb77/0xdb0 [ 183.910322] end_report+0x47/0x4f [ 183.913766] kasan_report.cold.5+0xe/0x39 [ 183.917909] ? tipc_mcast_xmit+0xb77/0xdb0 [ 183.922133] ? tipc_mcast_xmit+0xb77/0xdb0 [ 183.926351] __asan_report_load1_noabort+0x14/0x20 [ 183.931268] tipc_mcast_xmit+0xb77/0xdb0 [ 183.935331] ? tipc_bcast_dec_bearer_dst_cnt+0xa80/0xa80 [ 183.940769] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 183.945774] ? skb_put+0x17b/0x1e0 [ 183.949299] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 183.954823] ? tipc_msg_build+0x4a5/0x12d0 [ 183.959044] ? tipc_msg_assemble+0x6b0/0x6b0 [ 183.963436] ? remove_wait_queue+0x1a6/0x360 [ 183.967832] ? lockdep_init_map+0x105/0x590 [ 183.972141] tipc_send_group_bcast+0xa5f/0xdf0 [ 183.976709] ? check_preemption_disabled+0x48/0x280 [ 183.981711] ? tipc_sk_sock_err.isra.60+0x2f0/0x2f0 [ 183.986730] ? __init_waitqueue_head+0x150/0x150 [ 183.991470] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 183.996555] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 184.001138] ? mark_held_locks+0x130/0x130 [ 184.005360] ? ___preempt_schedule+0x16/0x18 [ 184.009754] ? try_to_wake_up+0x11c/0x1440 [ 184.013977] ? graph_lock+0x270/0x270 [ 184.017782] __tipc_sendmsg+0xeec/0x1d40 [ 184.021828] ? migrate_swap_stop+0x8a0/0x8a0 [ 184.026224] ? tipc_sendmcast+0xf50/0xf50 [ 184.030363] ? graph_lock+0x270/0x270 [ 184.034147] ? print_usage_bug+0xc0/0xc0 [ 184.038197] ? find_held_lock+0x36/0x1c0 [ 184.042256] ? mark_held_locks+0xc7/0x130 [ 184.046405] ? __local_bh_enable_ip+0x160/0x260 [ 184.051062] ? __local_bh_enable_ip+0x160/0x260 [ 184.055722] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 184.060288] ? trace_hardirqs_on+0xbd/0x310 [ 184.064590] ? lock_release+0xa00/0xa00 [ 184.068545] ? lock_sock_nested+0xe2/0x120 [ 184.072783] ? trace_hardirqs_off_caller+0x310/0x310 [ 184.077874] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 184.083394] ? check_preemption_disabled+0x48/0x280 [ 184.088391] ? lock_sock_nested+0x9a/0x120 [ 184.092629] ? lock_sock_nested+0x9a/0x120 [ 184.096847] ? __local_bh_enable_ip+0x160/0x260 [ 184.101504] tipc_sendmsg+0x50/0x70 [ 184.105113] ? __tipc_sendmsg+0x1d40/0x1d40 [ 184.109452] sock_sendmsg+0xd5/0x120 [ 184.113166] ___sys_sendmsg+0x51d/0x930 [ 184.117131] ? graph_lock+0x270/0x270 [ 184.120917] ? copy_msghdr_from_user+0x580/0x580 [ 184.125656] ? find_held_lock+0x36/0x1c0 [ 184.129715] ? __fget_light+0x2e9/0x430 [ 184.133680] ? fget_raw+0x20/0x20 [ 184.137115] ? graph_lock+0x270/0x270 [ 184.140895] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 184.145461] ? trace_hardirqs_on+0xbd/0x310 [ 184.149772] ? _raw_spin_unlock_bh+0x30/0x40 [ 184.154170] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 184.159703] ? sockfd_lookup_light+0xc5/0x160 [ 184.164179] __sys_sendmmsg+0x246/0x6d0 [ 184.168139] ? __ia32_sys_sendmsg+0xb0/0xb0 [ 184.172454] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 184.177974] ? put_timespec64+0x10f/0x1b0 [ 184.182105] ? nsecs_to_jiffies+0x30/0x30 [ 184.186242] ? do_syscall_64+0x9a/0x820 [ 184.190202] ? do_syscall_64+0x9a/0x820 [ 184.194163] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 184.198731] ? trace_hardirqs_on+0xbd/0x310 [ 184.203040] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 184.208561] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 184.213907] ? trace_hardirqs_off_caller+0x310/0x310 [ 184.218998] __x64_sys_sendmmsg+0x9d/0x100 [ 184.223215] do_syscall_64+0x1b9/0x820 [ 184.227094] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 184.232442] ? syscall_return_slowpath+0x5e0/0x5e0 [ 184.237354] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 184.242181] ? trace_hardirqs_on_caller+0x310/0x310 [ 184.247182] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 184.252183] ? prepare_exit_to_usermode+0x291/0x3b0 [ 184.257195] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 184.262022] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 184.267209] RIP: 0033:0x457669 [ 184.270392] Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 184.289277] RSP: 002b:00007f23c32e0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 [ 184.296994] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457669 [ 184.304252] RDX: 0000000000000142 RSI: 0000000020000000 RDI: 0000000000000004 [ 184.311506] RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 [ 184.318776] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f23c32e16d4 [ 184.326040] R13: 00000000004c3e4b R14: 00000000004d6ca8 R15: 00000000ffffffff [ 184.334246] Kernel Offset: disabled [ 184.337870] Rebooting in 86400 seconds..