[....] 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.044554] kauditd_printk_skb: 7 callbacks suppressed [ 29.044566] audit: type=1800 audit(1544406288.724:29): pid=5870 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.071756] audit: type=1800 audit(1544406288.734:30): pid=5870 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 Warning: Permanently added '10.128.0.82' (ECDSA) to the list of known hosts. net.ipv6.conf.syz_tun.accept_dad = 0 syzkaller login: [ 39.591442] IPVS: ftp: loaded support on port[0] = 21 net.ipv6.conf.syz_tun.router_solicitations = 0 [ 39.843190] bridge0: port 1(bridge_slave_0) entered blocking state [ 39.850667] bridge0: port 1(bridge_slave_0) entered disabled state [ 39.857965] device bridge_slave_0 entered promiscuous mode [ 39.876042] bridge0: port 2(bridge_slave_1) entered blocking state [ 39.882519] bridge0: port 2(bridge_slave_1) entered disabled state [ 39.889670] device bridge_slave_1 entered promiscuous mode [ 39.907836] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 39.925438] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 39.975041] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 39.996511] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 40.074797] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 40.082301] team0: Port device team_slave_0 added [ 40.098691] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 40.105752] team0: Port device team_slave_1 added [ 40.123264] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 40.143304] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 40.163136] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 40.183972] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready RTNETLINK answers: Operation not supported RTNETLINK answers: No buffer space available RTNETLINK answers: Operation not supported [ 40.331648] bridge0: port 2(bridge_slave_1) entered blocking state [ 40.338106] bridge0: port 2(bridge_slave_1) entered forwarding state [ 40.344857] bridge0: port 1(bridge_slave_0) entered blocking state [ 40.351274] bridge0: port 1(bridge_slave_0) entered forwarding state 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 [ 40.884532] 8021q: adding VLAN 0 to HW filter on device bond0 [ 40.938055] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 40.989048] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 40.995146] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 41.003015] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 41.050054] 8021q: adding VLAN 0 to HW filter on device team0 executing program [ 41.614870] ================================================================== [ 41.622347] BUG: KASAN: use-after-free in tipc_group_bc_cong+0x327/0x3f0 [ 41.629181] Read of size 2 at addr ffff8881d758d574 by task syz-executor256/6284 [ 41.636696] [ 41.638310] CPU: 0 PID: 6284 Comm: syz-executor256 Not tainted 4.20.0-rc4+ #222 [ 41.645733] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.655065] Call Trace: [ 41.657637] dump_stack+0x244/0x39d [ 41.661248] ? dump_stack_print_info.cold.1+0x20/0x20 [ 41.666420] ? printk+0xa7/0xcf [ 41.669682] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 41.674421] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 41.679511] print_address_description.cold.7+0x9/0x1ff [ 41.684860] kasan_report.cold.8+0x242/0x309 [ 41.689250] ? tipc_group_bc_cong+0x327/0x3f0 [ 41.693727] __asan_report_load2_noabort+0x14/0x20 [ 41.698638] tipc_group_bc_cong+0x327/0x3f0 [ 41.702941] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 41.708028] ? tipc_group_cong+0x5d0/0x5d0 [ 41.712248] ? remove_wait_queue+0x1a6/0x360 [ 41.716639] ? add_wait_queue+0x2b0/0x2b0 [ 41.720771] ? __local_bh_enable_ip+0x160/0x260 [ 41.725424] tipc_send_group_bcast+0x50a/0xd90 [ 41.729996] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 41.735001] ? __init_waitqueue_head+0x150/0x150 [ 41.739747] ? mark_held_locks+0x130/0x130 [ 41.743962] ? __might_sleep+0x95/0x190 [ 41.747921] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.753443] ? futex_wait_queue_me+0x55d/0x840 [ 41.758013] ? refill_pi_state_cache.part.8+0x310/0x310 [ 41.763358] ? print_usage_bug+0xc0/0xc0 [ 41.767412] __tipc_sendmsg+0xeec/0x1d40 [ 41.771457] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.776991] ? get_futex_value_locked+0xcb/0xf0 [ 41.781652] ? tipc_sendmcast+0xf50/0xf50 [ 41.785783] ? futex_wake+0x760/0x760 [ 41.789570] ? __lock_acquire+0x62f/0x4c20 [ 41.793788] ? zap_class+0x640/0x640 [ 41.797519] ? print_usage_bug+0xc0/0xc0 [ 41.801584] ? find_held_lock+0x36/0x1c0 [ 41.805661] ? mark_held_locks+0xc7/0x130 [ 41.809823] ? __local_bh_enable_ip+0x160/0x260 [ 41.814531] ? __local_bh_enable_ip+0x160/0x260 [ 41.819196] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 41.823763] ? trace_hardirqs_on+0xbd/0x310 [ 41.828073] ? lock_release+0xa00/0xa00 [ 41.832028] ? lock_sock_nested+0xe2/0x120 [ 41.836248] ? trace_hardirqs_off_caller+0x310/0x310 [ 41.841339] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.846877] ? check_preemption_disabled+0x48/0x280 [ 41.851889] ? lock_sock_nested+0x9a/0x120 [ 41.856107] ? lock_sock_nested+0x9a/0x120 [ 41.860326] ? __local_bh_enable_ip+0x160/0x260 [ 41.864981] tipc_sendmsg+0x50/0x70 [ 41.868592] ? __tipc_sendmsg+0x1d40/0x1d40 [ 41.872898] sock_sendmsg+0xd5/0x120 [ 41.876593] ___sys_sendmsg+0x51d/0x930 [ 41.880551] ? zap_class+0x640/0x640 [ 41.884254] ? copy_msghdr_from_user+0x580/0x580 [ 41.888995] ? find_held_lock+0x36/0x1c0 [ 41.893040] ? __fget_light+0x2e9/0x430 [ 41.897006] ? fget_raw+0x20/0x20 [ 41.900442] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 41.905005] ? trace_hardirqs_on+0xbd/0x310 [ 41.909327] ? _raw_spin_unlock_bh+0x30/0x40 [ 41.913733] ? trace_hardirqs_off_caller+0x310/0x310 [ 41.918821] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.924340] ? check_preemption_disabled+0x48/0x280 [ 41.929352] ? release_sock+0x1ec/0x2c0 [ 41.933322] ? release_sock+0x1ec/0x2c0 [ 41.937286] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 41.942806] ? sockfd_lookup_light+0xc5/0x160 [ 41.947284] __sys_sendmmsg+0x246/0x6d0 [ 41.951250] ? __ia32_sys_sendmsg+0xb0/0xb0 [ 41.955554] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 41.961074] ? rcvbuf_limit+0x2c0/0x2c0 [ 41.965049] ? aa_sock_opt_perm.isra.13+0xa1/0x130 [ 41.969971] ? __x64_sys_futex+0x47f/0x6a0 [ 41.974213] ? do_syscall_64+0x9a/0x820 [ 41.978194] ? do_syscall_64+0x9a/0x820 [ 41.982160] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 41.986747] ? trace_hardirqs_on+0xbd/0x310 [ 41.991063] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 41.996408] ? trace_hardirqs_off_caller+0x310/0x310 [ 42.001495] __x64_sys_sendmmsg+0x9d/0x100 [ 42.005727] do_syscall_64+0x1b9/0x820 [ 42.009593] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 42.014954] ? syscall_return_slowpath+0x5e0/0x5e0 [ 42.019883] ? trace_hardirqs_on_caller+0x310/0x310 [ 42.024895] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 42.029896] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 42.036544] ? __switch_to_asm+0x40/0x70 [ 42.040588] ? __switch_to_asm+0x34/0x70 [ 42.044637] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.049465] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.054636] RIP: 0033:0x446e79 [ 42.057815] Code: e8 ec be 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 fb 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 42.076700] RSP: 002b:00007fe184b4cce8 EFLAGS: 00000206 ORIG_RAX: 0000000000000133 [ 42.084392] RAX: ffffffffffffffda RBX: 00000000006ddc58 RCX: 0000000000446e79 [ 42.091644] RDX: 0000000000000142 RSI: 0000000020000000 RDI: 0000000000000006 [ 42.098897] RBP: 00000000006ddc50 R08: 0000000000000000 R09: 0000000000000000 [ 42.106147] R10: 0000000000000000 R11: 0000000000000206 R12: 00000000006ddc5c [ 42.113402] R13: 00007fff13328cbf R14: 00007fe184b4d9c0 R15: 0000000000000005 [ 42.120658] [ 42.122284] Allocated by task 6284: [ 42.125913] save_stack+0x43/0xd0 [ 42.129349] kasan_kmalloc+0xc7/0xe0 [ 42.133045] kmem_cache_alloc_trace+0x152/0x750 [ 42.137697] tipc_group_create+0x152/0xa70 [ 42.141928] tipc_setsockopt+0x2d1/0xd70 [ 42.145970] __sys_setsockopt+0x1ba/0x3c0 [ 42.150113] __x64_sys_setsockopt+0xbe/0x150 [ 42.154504] do_syscall_64+0x1b9/0x820 [ 42.158373] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.163537] [ 42.165142] Freed by task 6285: [ 42.168404] save_stack+0x43/0xd0 [ 42.171837] __kasan_slab_free+0x102/0x150 [ 42.176052] kasan_slab_free+0xe/0x10 [ 42.179831] kfree+0xcf/0x230 [ 42.182944] tipc_group_delete+0x2e4/0x3f0 [ 42.187157] tipc_sk_leave+0x113/0x220 [ 42.191039] tipc_setsockopt+0x97d/0xd70 [ 42.195081] __sys_setsockopt+0x1ba/0x3c0 [ 42.199212] __x64_sys_setsockopt+0xbe/0x150 [ 42.203632] do_syscall_64+0x1b9/0x820 [ 42.207501] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.212664] [ 42.214289] The buggy address belongs to the object at ffff8881d758d500 [ 42.214289] which belongs to the cache kmalloc-192 of size 192 [ 42.226927] The buggy address is located 116 bytes inside of [ 42.226927] 192-byte region [ffff8881d758d500, ffff8881d758d5c0) [ 42.238781] The buggy address belongs to the page: [ 42.243693] page:ffffea00075d6340 count:1 mapcount:0 mapping:ffff8881da800040 index:0x0 [ 42.251817] flags: 0x2fffc0000000200(slab) [ 42.256047] raw: 02fffc0000000200 ffffea00075e8348 ffffea00075c03c8 ffff8881da800040 [ 42.263909] raw: 0000000000000000 ffff8881d758d000 0000000100000010 0000000000000000 [ 42.271785] page dumped because: kasan: bad access detected [ 42.277489] [ 42.279096] Memory state around the buggy address: [ 42.284038] ffff8881d758d400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.291392] ffff8881d758d480: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.298735] >ffff8881d758d500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.306074] ^ [ 42.313080] ffff8881d758d580: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 42.320436] ffff8881d758d600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.327770] ================================================================== [ 42.335117] Disabling lock debugging due to kernel taint [ 42.344209] Kernel panic - not syncing: panic_on_warn set ... [ 42.350109] CPU: 0 PID: 6284 Comm: syz-executor256 Tainted: G B 4.20.0-rc4+ #222 [ 42.358922] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.368257] Call Trace: [ 42.370828] dump_stack+0x244/0x39d [ 42.374442] ? dump_stack_print_info.cold.1+0x20/0x20 [ 42.379619] panic+0x2ad/0x55c [ 42.382795] ? add_taint.cold.5+0x16/0x16 [ 42.386925] ? preempt_schedule+0x4d/0x60 [ 42.391067] ? ___preempt_schedule+0x16/0x18 [ 42.395473] ? trace_hardirqs_on+0xb4/0x310 [ 42.399781] kasan_end_report+0x47/0x4f [ 42.403734] kasan_report.cold.8+0x76/0x309 [ 42.408039] ? tipc_group_bc_cong+0x327/0x3f0 [ 42.412515] __asan_report_load2_noabort+0x14/0x20 [ 42.417448] tipc_group_bc_cong+0x327/0x3f0 [ 42.421754] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 42.426837] ? tipc_group_cong+0x5d0/0x5d0 [ 42.431083] ? remove_wait_queue+0x1a6/0x360 [ 42.435477] ? add_wait_queue+0x2b0/0x2b0 [ 42.439609] ? __local_bh_enable_ip+0x160/0x260 [ 42.444261] tipc_send_group_bcast+0x50a/0xd90 [ 42.448853] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 42.453851] ? __init_waitqueue_head+0x150/0x150 [ 42.458592] ? mark_held_locks+0x130/0x130 [ 42.462825] ? __might_sleep+0x95/0x190 [ 42.466784] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.472306] ? futex_wait_queue_me+0x55d/0x840 [ 42.476872] ? refill_pi_state_cache.part.8+0x310/0x310 [ 42.482224] ? print_usage_bug+0xc0/0xc0 [ 42.486268] __tipc_sendmsg+0xeec/0x1d40 [ 42.490310] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.495827] ? get_futex_value_locked+0xcb/0xf0 [ 42.500480] ? tipc_sendmcast+0xf50/0xf50 [ 42.504606] ? futex_wake+0x760/0x760 [ 42.508389] ? __lock_acquire+0x62f/0x4c20 [ 42.512606] ? zap_class+0x640/0x640 [ 42.516302] ? print_usage_bug+0xc0/0xc0 [ 42.520348] ? find_held_lock+0x36/0x1c0 [ 42.524394] ? mark_held_locks+0xc7/0x130 [ 42.528522] ? __local_bh_enable_ip+0x160/0x260 [ 42.533169] ? __local_bh_enable_ip+0x160/0x260 [ 42.537846] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 42.542407] ? trace_hardirqs_on+0xbd/0x310 [ 42.546711] ? lock_release+0xa00/0xa00 [ 42.550665] ? lock_sock_nested+0xe2/0x120 [ 42.554884] ? trace_hardirqs_off_caller+0x310/0x310 [ 42.559973] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.565491] ? check_preemption_disabled+0x48/0x280 [ 42.570489] ? lock_sock_nested+0x9a/0x120 [ 42.574706] ? lock_sock_nested+0x9a/0x120 [ 42.578924] ? __local_bh_enable_ip+0x160/0x260 [ 42.583590] tipc_sendmsg+0x50/0x70 [ 42.587214] ? __tipc_sendmsg+0x1d40/0x1d40 [ 42.591561] sock_sendmsg+0xd5/0x120 [ 42.595255] ___sys_sendmsg+0x51d/0x930 [ 42.599214] ? zap_class+0x640/0x640 [ 42.602910] ? copy_msghdr_from_user+0x580/0x580 [ 42.607652] ? find_held_lock+0x36/0x1c0 [ 42.611695] ? __fget_light+0x2e9/0x430 [ 42.615666] ? fget_raw+0x20/0x20 [ 42.619114] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 42.623679] ? trace_hardirqs_on+0xbd/0x310 [ 42.628000] ? _raw_spin_unlock_bh+0x30/0x40 [ 42.632390] ? trace_hardirqs_off_caller+0x310/0x310 [ 42.637490] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.643020] ? check_preemption_disabled+0x48/0x280 [ 42.648021] ? release_sock+0x1ec/0x2c0 [ 42.651975] ? release_sock+0x1ec/0x2c0 [ 42.655931] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 42.661449] ? sockfd_lookup_light+0xc5/0x160 [ 42.665927] __sys_sendmmsg+0x246/0x6d0 [ 42.669887] ? __ia32_sys_sendmsg+0xb0/0xb0 [ 42.674200] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 42.679746] ? rcvbuf_limit+0x2c0/0x2c0 [ 42.683718] ? aa_sock_opt_perm.isra.13+0xa1/0x130 [ 42.688633] ? __x64_sys_futex+0x47f/0x6a0 [ 42.692860] ? do_syscall_64+0x9a/0x820 [ 42.696816] ? do_syscall_64+0x9a/0x820 [ 42.700773] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 42.705340] ? trace_hardirqs_on+0xbd/0x310 [ 42.709644] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.714990] ? trace_hardirqs_off_caller+0x310/0x310 [ 42.720093] __x64_sys_sendmmsg+0x9d/0x100 [ 42.724479] do_syscall_64+0x1b9/0x820 [ 42.728347] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 42.733694] ? syscall_return_slowpath+0x5e0/0x5e0 [ 42.738608] ? trace_hardirqs_on_caller+0x310/0x310 [ 42.743607] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 42.748606] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 42.755252] ? __switch_to_asm+0x40/0x70 [ 42.759294] ? __switch_to_asm+0x34/0x70 [ 42.763339] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.768168] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.773349] RIP: 0033:0x446e79 [ 42.776526] Code: e8 ec be 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 fb 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 42.795407] RSP: 002b:00007fe184b4cce8 EFLAGS: 00000206 ORIG_RAX: 0000000000000133 [ 42.803109] RAX: ffffffffffffffda RBX: 00000000006ddc58 RCX: 0000000000446e79 [ 42.810360] RDX: 0000000000000142 RSI: 0000000020000000 RDI: 0000000000000006 [ 42.817612] RBP: 00000000006ddc50 R08: 0000000000000000 R09: 0000000000000000 [ 42.824878] R10: 0000000000000000 R11: 0000000000000206 R12: 00000000006ddc5c [ 42.832127] R13: 00007fff13328cbf R14: 00007fe184b4d9c0 R15: 0000000000000005 [ 42.840333] Kernel Offset: disabled [ 42.843957] Rebooting in 86400 seconds..