[ 30.454397] audit: type=1800 audit(1544581213.674:30): pid=5899 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.10.27' (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: [ 186.408368] IPVS: ftp: loaded support on port[0] = 21 [ 186.659357] bridge0: port 1(bridge_slave_0) entered blocking state [ 186.666644] bridge0: port 1(bridge_slave_0) entered disabled state [ 186.673747] device bridge_slave_0 entered promiscuous mode [ 186.693514] bridge0: port 2(bridge_slave_1) entered blocking state [ 186.699999] bridge0: port 2(bridge_slave_1) entered disabled state [ 186.707141] device bridge_slave_1 entered promiscuous mode [ 186.726333] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 186.744115] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 186.795544] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 186.816689] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 186.894501] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 186.901929] team0: Port device team_slave_0 added [ 186.918873] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 186.926145] team0: Port device team_slave_1 added [ 186.942685] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 186.964275] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 186.982534] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 187.003468] 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 [ 187.149874] bridge0: port 2(bridge_slave_1) entered blocking state [ 187.156509] bridge0: port 2(bridge_slave_1) entered forwarding state [ 187.163435] bridge0: port 1(bridge_slave_0) entered blocking state [ 187.170980] 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 [ 187.686619] 8021q: adding VLAN 0 to HW filter on device bond0 [ 187.740951] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 187.795886] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 187.802315] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 187.810471] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 187.854097] 8021q: adding VLAN 0 to HW filter on device team0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 191.528462] ================================================================== [ 191.536031] BUG: KASAN: use-after-free in tipc_group_bc_cong+0x327/0x3f0 [ 191.542884] Read of size 2 at addr ffff8881d2ae6074 by task syz-executor995/7264 [ 191.550407] [ 191.552032] CPU: 0 PID: 7264 Comm: syz-executor995 Not tainted 4.20.0-rc6+ #226 [ 191.559469] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 191.568922] Call Trace: [ 191.571516] dump_stack+0x244/0x39d [ 191.575139] ? dump_stack_print_info.cold.1+0x20/0x20 [ 191.580327] ? printk+0xa7/0xcf [ 191.583642] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 191.588393] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 191.593500] print_address_description.cold.7+0x9/0x1ff [ 191.598865] kasan_report.cold.8+0x242/0x309 [ 191.603270] ? tipc_group_bc_cong+0x327/0x3f0 [ 191.607766] __asan_report_load2_noabort+0x14/0x20 [ 191.612744] tipc_group_bc_cong+0x327/0x3f0 [ 191.617061] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 191.622326] ? tipc_group_cong+0x5d0/0x5d0 [ 191.626774] ? remove_wait_queue+0x1a6/0x360 [ 191.631183] ? add_wait_queue+0x2b0/0x2b0 [ 191.635466] ? __local_bh_enable_ip+0x160/0x260 [ 191.640141] tipc_send_group_bcast+0x50a/0xd90 [ 191.644734] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 191.649756] ? __init_waitqueue_head+0x150/0x150 [ 191.654595] ? refill_pi_state_cache.part.8+0x310/0x310 [ 191.660053] ? mark_held_locks+0x130/0x130 [ 191.664414] ? futex_wait_setup+0x266/0x3e0 [ 191.668745] ? futex_wake+0x760/0x760 [ 191.672550] ? print_usage_bug+0xc0/0xc0 [ 191.676651] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 191.681862] __tipc_sendmsg+0xeec/0x1d40 [ 191.685921] ? futex_wait+0x5ec/0xa50 [ 191.689739] ? tipc_sendmcast+0xf50/0xf50 [ 191.693883] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 191.699071] ? zap_class+0x640/0x640 [ 191.702819] ? print_usage_bug+0xc0/0xc0 [ 191.706884] ? find_held_lock+0x36/0x1c0 [ 191.710949] ? mark_held_locks+0xc7/0x130 [ 191.715095] ? __local_bh_enable_ip+0x160/0x260 [ 191.719803] ? __local_bh_enable_ip+0x160/0x260 [ 191.724518] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 191.729105] ? trace_hardirqs_on+0xbd/0x310 [ 191.733470] ? lock_release+0xa00/0xa00 [ 191.737445] ? lock_sock_nested+0xe2/0x120 [ 191.741698] ? trace_hardirqs_off_caller+0x310/0x310 [ 191.746816] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 191.752355] ? check_preemption_disabled+0x48/0x280 [ 191.757370] ? lock_sock_nested+0x9a/0x120 [ 191.761610] ? lock_sock_nested+0x9a/0x120 [ 191.765882] ? __local_bh_enable_ip+0x160/0x260 [ 191.770558] tipc_sendmsg+0x50/0x70 [ 191.774182] ? __tipc_sendmsg+0x1d40/0x1d40 [ 191.778506] sock_sendmsg+0xd5/0x120 [ 191.782261] ___sys_sendmsg+0x7fd/0x930 [ 191.786249] ? find_held_lock+0x36/0x1c0 [ 191.790349] ? copy_msghdr_from_user+0x580/0x580 [ 191.795104] ? __fd_install+0x2b5/0x8f0 [ 191.799083] ? check_preemption_disabled+0x48/0x280 [ 191.804105] ? __fget_light+0x2e9/0x430 [ 191.808126] ? fget_raw+0x20/0x20 [ 191.811586] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 191.817125] ? __fd_install+0x2f9/0x8f0 [ 191.821104] ? get_unused_fd_flags+0x1a0/0x1a0 [ 191.825712] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 191.831261] ? sockfd_lookup_light+0xc5/0x160 [ 191.835764] __sys_sendmsg+0x11d/0x280 [ 191.839658] ? __ia32_sys_shutdown+0x80/0x80 [ 191.844087] ? fput+0x130/0x1a0 [ 191.847370] ? __x64_sys_futex+0x47f/0x6a0 [ 191.851649] ? do_syscall_64+0x9a/0x820 [ 191.855643] ? do_syscall_64+0x9a/0x820 [ 191.859690] ? trace_hardirqs_off_caller+0x310/0x310 [ 191.864801] __x64_sys_sendmsg+0x78/0xb0 [ 191.868863] do_syscall_64+0x1b9/0x820 [ 191.872787] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 191.878153] ? syscall_return_slowpath+0x5e0/0x5e0 [ 191.883080] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 191.887925] ? trace_hardirqs_on_caller+0x310/0x310 [ 191.892949] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 191.897968] ? prepare_exit_to_usermode+0x291/0x3b0 [ 191.903028] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 191.907918] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 191.913108] RIP: 0033:0x448329 [ 191.916304] Code: e8 ec ba 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 4b 00 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 191.935207] RSP: 002b:00007fbb0752ace8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 191.942925] RAX: ffffffffffffffda RBX: 00000000006dec48 RCX: 0000000000448329 [ 191.950201] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000006 [ 191.957473] RBP: 00000000006dec40 R08: 0000000000000000 R09: 0000000000000000 [ 191.964795] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dec4c [ 191.972111] R13: 00007ffda02515bf R14: 00007fbb0752b9c0 R15: 0000000000000000 [ 191.979388] [ 191.981098] Allocated by task 7265: [ 191.984736] save_stack+0x43/0xd0 [ 191.988232] kasan_kmalloc+0xc7/0xe0 [ 191.991950] kmem_cache_alloc_trace+0x152/0x750 [ 191.996664] tipc_group_create+0x152/0xa70 [ 192.000915] tipc_setsockopt+0x2d1/0xd70 [ 192.004979] __sys_setsockopt+0x1ba/0x3c0 [ 192.009124] __x64_sys_setsockopt+0xbe/0x150 [ 192.013573] do_syscall_64+0x1b9/0x820 [ 192.017461] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 192.022636] [ 192.024255] Freed by task 7265: [ 192.027533] save_stack+0x43/0xd0 [ 192.031026] __kasan_slab_free+0x102/0x150 [ 192.035295] kasan_slab_free+0xe/0x10 [ 192.039091] kfree+0xcf/0x230 [ 192.042193] tipc_group_delete+0x2e4/0x3f0 [ 192.046423] tipc_sk_leave+0x113/0x220 [ 192.050307] tipc_setsockopt+0x97d/0xd70 [ 192.054362] __sys_setsockopt+0x1ba/0x3c0 [ 192.058507] __x64_sys_setsockopt+0xbe/0x150 [ 192.062960] do_syscall_64+0x1b9/0x820 [ 192.066845] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 192.072021] [ 192.073642] The buggy address belongs to the object at ffff8881d2ae6000 [ 192.073642] which belongs to the cache kmalloc-192 of size 192 [ 192.086476] The buggy address is located 116 bytes inside of [ 192.086476] 192-byte region [ffff8881d2ae6000, ffff8881d2ae60c0) [ 192.098350] The buggy address belongs to the page: [ 192.103284] page:ffffea00074ab980 count:1 mapcount:0 mapping:ffff8881da800040 index:0x0 [ 192.111429] flags: 0x2fffc0000000200(slab) [ 192.115666] raw: 02fffc0000000200 ffffea0007545288 ffffea0007498208 ffff8881da800040 [ 192.123571] raw: 0000000000000000 ffff8881d2ae6000 0000000100000010 0000000000000000 [ 192.131452] page dumped because: kasan: bad access detected [ 192.137207] [ 192.138830] Memory state around the buggy address: [ 192.143756] ffff8881d2ae5f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 192.151117] ffff8881d2ae5f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 192.158478] >ffff8881d2ae6000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 192.165836] ^ [ 192.172852] ffff8881d2ae6080: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 192.180218] ffff8881d2ae6100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 192.187575] ================================================================== [ 192.194932] Disabling lock debugging due to kernel taint [ 192.202061] Kernel panic - not syncing: panic_on_warn set ... [ 192.207987] CPU: 1 PID: 7264 Comm: syz-executor995 Tainted: G B 4.20.0-rc6+ #226 [ 192.217130] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 192.226521] Call Trace: [ 192.229111] dump_stack+0x244/0x39d [ 192.232737] ? dump_stack_print_info.cold.1+0x20/0x20 [ 192.237926] panic+0x2ad/0x55c [ 192.241117] ? add_taint.cold.5+0x16/0x16 [ 192.245368] ? preempt_schedule+0x4d/0x60 [ 192.249514] ? ___preempt_schedule+0x16/0x18 [ 192.253917] ? trace_hardirqs_on+0xb4/0x310 [ 192.258238] kasan_end_report+0x47/0x4f [ 192.262207] kasan_report.cold.8+0x76/0x309 [ 192.266525] ? tipc_group_bc_cong+0x327/0x3f0 [ 192.271019] __asan_report_load2_noabort+0x14/0x20 [ 192.275956] tipc_group_bc_cong+0x327/0x3f0 [ 192.280289] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 192.285389] ? tipc_group_cong+0x5d0/0x5d0 [ 192.289623] ? remove_wait_queue+0x1a6/0x360 [ 192.294161] ? add_wait_queue+0x2b0/0x2b0 [ 192.298306] ? __local_bh_enable_ip+0x160/0x260 [ 192.302974] tipc_send_group_bcast+0x50a/0xd90 [ 192.307645] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 192.312663] ? __init_waitqueue_head+0x150/0x150 [ 192.317428] ? refill_pi_state_cache.part.8+0x310/0x310 [ 192.322794] ? mark_held_locks+0x130/0x130 [ 192.327017] ? futex_wait_setup+0x266/0x3e0 [ 192.331328] ? futex_wake+0x760/0x760 [ 192.335140] ? print_usage_bug+0xc0/0xc0 [ 192.339216] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 192.344395] __tipc_sendmsg+0xeec/0x1d40 [ 192.348445] ? futex_wait+0x5ec/0xa50 [ 192.352234] ? tipc_sendmcast+0xf50/0xf50 [ 192.356387] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 192.361589] ? zap_class+0x640/0x640 [ 192.365292] ? print_usage_bug+0xc0/0xc0 [ 192.369343] ? find_held_lock+0x36/0x1c0 [ 192.373392] ? mark_held_locks+0xc7/0x130 [ 192.377546] ? __local_bh_enable_ip+0x160/0x260 [ 192.382199] ? __local_bh_enable_ip+0x160/0x260 [ 192.386876] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 192.391447] ? trace_hardirqs_on+0xbd/0x310 [ 192.395754] ? lock_release+0xa00/0xa00 [ 192.399739] ? lock_sock_nested+0xe2/0x120 [ 192.403961] ? trace_hardirqs_off_caller+0x310/0x310 [ 192.409051] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 192.414573] ? check_preemption_disabled+0x48/0x280 [ 192.419592] ? lock_sock_nested+0x9a/0x120 [ 192.423809] ? lock_sock_nested+0x9a/0x120 [ 192.428028] ? __local_bh_enable_ip+0x160/0x260 [ 192.432692] tipc_sendmsg+0x50/0x70 [ 192.436304] ? __tipc_sendmsg+0x1d40/0x1d40 [ 192.440611] sock_sendmsg+0xd5/0x120 [ 192.444310] ___sys_sendmsg+0x7fd/0x930 [ 192.448281] ? find_held_lock+0x36/0x1c0 [ 192.452328] ? copy_msghdr_from_user+0x580/0x580 [ 192.457067] ? __fd_install+0x2b5/0x8f0 [ 192.461028] ? check_preemption_disabled+0x48/0x280 [ 192.466033] ? __fget_light+0x2e9/0x430 [ 192.469987] ? fget_raw+0x20/0x20 [ 192.473447] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 192.478969] ? __fd_install+0x2f9/0x8f0 [ 192.482925] ? get_unused_fd_flags+0x1a0/0x1a0 [ 192.487496] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 192.493016] ? sockfd_lookup_light+0xc5/0x160 [ 192.497511] __sys_sendmsg+0x11d/0x280 [ 192.501408] ? __ia32_sys_shutdown+0x80/0x80 [ 192.505833] ? fput+0x130/0x1a0 [ 192.509098] ? __x64_sys_futex+0x47f/0x6a0 [ 192.513315] ? do_syscall_64+0x9a/0x820 [ 192.517274] ? do_syscall_64+0x9a/0x820 [ 192.521236] ? trace_hardirqs_off_caller+0x310/0x310 [ 192.526324] __x64_sys_sendmsg+0x78/0xb0 [ 192.530373] do_syscall_64+0x1b9/0x820 [ 192.534245] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 192.539868] ? syscall_return_slowpath+0x5e0/0x5e0 [ 192.544779] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 192.549606] ? trace_hardirqs_on_caller+0x310/0x310 [ 192.554604] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 192.559618] ? prepare_exit_to_usermode+0x291/0x3b0 [ 192.564634] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 192.569464] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 192.574635] RIP: 0033:0x448329 [ 192.577815] Code: e8 ec ba 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 4b 00 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 192.596701] RSP: 002b:00007fbb0752ace8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 192.604405] RAX: ffffffffffffffda RBX: 00000000006dec48 RCX: 0000000000448329 [ 192.611656] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000006 [ 192.618912] RBP: 00000000006dec40 R08: 0000000000000000 R09: 0000000000000000 [ 192.626167] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dec4c [ 192.633423] R13: 00007ffda02515bf R14: 00007fbb0752b9c0 R15: 0000000000000000 [ 192.641817] Kernel Offset: disabled [ 192.645452] Rebooting in 86400 seconds..