[info] Using makefile-style concurrent boot in runlevel 2. [ 26.224714] audit: type=1800 audit(1545032970.151:21): pid=5851 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="bootlogs" dev="sda1" ino=2419 res=0 [....] 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.117' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 52.371258] ================================================================== [ 52.378700] BUG: KASAN: use-after-free in tipc_group_bc_cong+0x327/0x3f0 [ 52.385529] Read of size 2 at addr ffff8881d7f15a74 by task syz-executor056/6007 [ 52.393042] [ 52.394656] CPU: 0 PID: 6007 Comm: syz-executor056 Not tainted 4.20.0-rc7+ #278 [ 52.402082] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.411418] Call Trace: [ 52.413996] dump_stack+0x244/0x39d [ 52.417613] ? dump_stack_print_info.cold.1+0x20/0x20 [ 52.422784] ? printk+0xa7/0xcf [ 52.426081] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 52.430831] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 52.436094] print_address_description.cold.7+0x9/0x1ff [ 52.441474] kasan_report.cold.8+0x242/0x309 [ 52.445869] ? tipc_group_bc_cong+0x327/0x3f0 [ 52.450388] __asan_report_load2_noabort+0x14/0x20 [ 52.455426] tipc_group_bc_cong+0x327/0x3f0 [ 52.459743] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 52.464837] ? tipc_group_cong+0x5d0/0x5d0 [ 52.469060] ? remove_wait_queue+0x1a6/0x360 [ 52.473454] ? add_wait_queue+0x2b0/0x2b0 [ 52.477595] ? __local_bh_enable_ip+0x160/0x260 [ 52.482257] tipc_send_group_bcast+0x50a/0xd90 [ 52.486836] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 52.491852] ? __init_waitqueue_head+0x150/0x150 [ 52.496601] ? mark_held_locks+0x130/0x130 [ 52.500820] ? futex_wake+0x760/0x760 [ 52.504604] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 52.509778] __tipc_sendmsg+0xeec/0x1d40 [ 52.513821] ? futex_wait+0x5ec/0xa50 [ 52.517620] ? tipc_sendmcast+0xf50/0xf50 [ 52.521761] ? zap_class+0x640/0x640 [ 52.525460] ? print_usage_bug+0xc0/0xc0 [ 52.529533] ? find_held_lock+0x36/0x1c0 [ 52.533583] ? mark_held_locks+0xc7/0x130 [ 52.537718] ? __local_bh_enable_ip+0x160/0x260 [ 52.542368] ? __local_bh_enable_ip+0x160/0x260 [ 52.547023] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 52.551591] ? trace_hardirqs_on+0xbd/0x310 [ 52.555892] ? lock_release+0xa00/0xa00 [ 52.559861] ? lock_sock_nested+0xe2/0x120 [ 52.564075] ? trace_hardirqs_off_caller+0x310/0x310 [ 52.569180] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.574698] ? check_preemption_disabled+0x48/0x280 [ 52.579692] ? lock_sock_nested+0x9a/0x120 [ 52.584003] ? lock_sock_nested+0x9a/0x120 [ 52.588226] ? __local_bh_enable_ip+0x160/0x260 [ 52.592881] tipc_sendmsg+0x50/0x70 [ 52.596489] ? __tipc_sendmsg+0x1d40/0x1d40 [ 52.600799] sock_sendmsg+0xd5/0x120 [ 52.604495] ___sys_sendmsg+0x7fd/0x930 [ 52.608462] ? copy_msghdr_from_user+0x580/0x580 [ 52.613198] ? trace_hardirqs_on+0xbd/0x310 [ 52.617504] ? _raw_spin_unlock_bh+0x30/0x40 [ 52.621902] ? trace_hardirqs_off_caller+0x310/0x310 [ 52.626988] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.632510] ? __fget_light+0x2e9/0x430 [ 52.636472] ? fget_raw+0x20/0x20 [ 52.639906] ? _raw_spin_unlock_bh+0x30/0x40 [ 52.644306] ? release_sock+0x1ec/0x2c0 [ 52.648275] ? __release_sock+0x3a0/0x3a0 [ 52.652417] ? __local_bh_enable_ip+0x160/0x260 [ 52.657073] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 52.662711] ? sockfd_lookup_light+0xc5/0x160 [ 52.667199] __sys_sendmsg+0x11d/0x280 [ 52.671124] ? __ia32_sys_shutdown+0x80/0x80 [ 52.675543] ? do_fast_syscall_32+0x150/0xfb2 [ 52.680091] ? do_fast_syscall_32+0x150/0xfb2 [ 52.684582] ? trace_hardirqs_off_caller+0x310/0x310 [ 52.689690] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.695233] __ia32_compat_sys_sendmsg+0x7a/0xb0 [ 52.700000] do_fast_syscall_32+0x34d/0xfb2 [ 52.704309] ? do_int80_syscall_32+0x890/0x890 [ 52.708874] ? entry_SYSENTER_compat+0x68/0x7f [ 52.713468] ? trace_hardirqs_off_caller+0xbb/0x310 [ 52.718481] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 52.723304] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 52.728127] ? trace_hardirqs_on_caller+0x310/0x310 [ 52.733124] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 52.738122] ? prepare_exit_to_usermode+0x291/0x3b0 [ 52.743121] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 52.747946] entry_SYSENTER_compat+0x70/0x7f [ 52.752338] RIP: 0023:0xf7fd1a29 [ 52.755702] Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 [ 52.774680] RSP: 002b:00000000f7fcd1fc EFLAGS: 00000297 ORIG_RAX: 0000000000000172 [ 52.782375] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200001c0 [ 52.789678] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 52.797024] RBP: 00000000003d0f00 R08: 0000000000000000 R09: 0000000000000000 [ 52.804315] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 52.811571] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 52.818831] [ 52.820441] Allocated by task 6007: [ 52.824055] save_stack+0x43/0xd0 [ 52.827493] kasan_kmalloc+0xc7/0xe0 [ 52.831212] kmem_cache_alloc_trace+0x152/0x750 [ 52.835861] tipc_group_create+0x152/0xa70 [ 52.840075] tipc_setsockopt+0x2d1/0xd70 [ 52.844113] __compat_sys_setsockopt+0x329/0x860 [ 52.848889] __ia32_compat_sys_setsockopt+0xbd/0x150 [ 52.853972] do_fast_syscall_32+0x34d/0xfb2 [ 52.858275] entry_SYSENTER_compat+0x70/0x7f [ 52.862730] [ 52.864343] Freed by task 6008: [ 52.867613] save_stack+0x43/0xd0 [ 52.871053] __kasan_slab_free+0x102/0x150 [ 52.875274] kasan_slab_free+0xe/0x10 [ 52.879052] kfree+0xcf/0x230 [ 52.882141] tipc_group_delete+0x2e4/0x3f0 [ 52.886357] tipc_sk_leave+0x113/0x220 [ 52.890231] tipc_setsockopt+0x97d/0xd70 [ 52.894274] __compat_sys_setsockopt+0x329/0x860 [ 52.899017] __ia32_compat_sys_setsockopt+0xbd/0x150 [ 52.904119] do_fast_syscall_32+0x34d/0xfb2 [ 52.908423] entry_SYSENTER_compat+0x70/0x7f [ 52.912806] [ 52.914414] The buggy address belongs to the object at ffff8881d7f15a00 [ 52.914414] which belongs to the cache kmalloc-192 of size 192 [ 52.927052] The buggy address is located 116 bytes inside of [ 52.927052] 192-byte region [ffff8881d7f15a00, ffff8881d7f15ac0) [ 52.938910] The buggy address belongs to the page: [ 52.943871] page:ffffea00075fc540 count:1 mapcount:0 mapping:ffff8881da800040 index:0xffff8881d7f15f00 [ 52.953311] flags: 0x2fffc0000000200(slab) [ 52.957535] raw: 02fffc0000000200 ffffea0007619ac8 ffff8881da801138 ffff8881da800040 [ 52.965398] raw: ffff8881d7f15f00 ffff8881d7f15000 0000000100000003 0000000000000000 [ 52.973258] page dumped because: kasan: bad access detected [ 52.979077] [ 52.980685] Memory state around the buggy address: [ 52.985612] ffff8881d7f15900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.992952] ffff8881d7f15980: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 53.000291] >ffff8881d7f15a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.007715] ^ [ 53.014707] ffff8881d7f15a80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 53.022055] ffff8881d7f15b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.029389] ================================================================== [ 53.036726] Disabling lock debugging due to kernel taint [ 53.042694] Kernel panic - not syncing: panic_on_warn set ... [ 53.048601] CPU: 0 PID: 6007 Comm: syz-executor056 Tainted: G B 4.20.0-rc7+ #278 [ 53.057428] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.066763] Call Trace: [ 53.069331] dump_stack+0x244/0x39d [ 53.072941] ? dump_stack_print_info.cold.1+0x20/0x20 [ 53.078119] panic+0x2ad/0x55c [ 53.081291] ? add_taint.cold.5+0x16/0x16 [ 53.085434] ? preempt_schedule+0x4d/0x60 [ 53.089574] ? ___preempt_schedule+0x16/0x18 [ 53.093965] ? trace_hardirqs_on+0xb4/0x310 [ 53.098283] kasan_end_report+0x47/0x4f [ 53.102271] kasan_report.cold.8+0x76/0x309 [ 53.106576] ? tipc_group_bc_cong+0x327/0x3f0 [ 53.111052] __asan_report_load2_noabort+0x14/0x20 [ 53.115961] tipc_group_bc_cong+0x327/0x3f0 [ 53.120278] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 53.125379] ? tipc_group_cong+0x5d0/0x5d0 [ 53.129594] ? remove_wait_queue+0x1a6/0x360 [ 53.133982] ? add_wait_queue+0x2b0/0x2b0 [ 53.138187] ? __local_bh_enable_ip+0x160/0x260 [ 53.142842] tipc_send_group_bcast+0x50a/0xd90 [ 53.147411] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 53.152411] ? __init_waitqueue_head+0x150/0x150 [ 53.157225] ? mark_held_locks+0x130/0x130 [ 53.161465] ? futex_wake+0x760/0x760 [ 53.165248] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 53.170419] __tipc_sendmsg+0xeec/0x1d40 [ 53.174462] ? futex_wait+0x5ec/0xa50 [ 53.178259] ? tipc_sendmcast+0xf50/0xf50 [ 53.182393] ? zap_class+0x640/0x640 [ 53.186093] ? print_usage_bug+0xc0/0xc0 [ 53.190139] ? find_held_lock+0x36/0x1c0 [ 53.194181] ? mark_held_locks+0xc7/0x130 [ 53.198315] ? __local_bh_enable_ip+0x160/0x260 [ 53.203064] ? __local_bh_enable_ip+0x160/0x260 [ 53.207724] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 53.212285] ? trace_hardirqs_on+0xbd/0x310 [ 53.216602] ? lock_release+0xa00/0xa00 [ 53.220555] ? lock_sock_nested+0xe2/0x120 [ 53.224768] ? trace_hardirqs_off_caller+0x310/0x310 [ 53.229854] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.235376] ? check_preemption_disabled+0x48/0x280 [ 53.240379] ? lock_sock_nested+0x9a/0x120 [ 53.244609] ? lock_sock_nested+0x9a/0x120 [ 53.248828] ? __local_bh_enable_ip+0x160/0x260 [ 53.253475] tipc_sendmsg+0x50/0x70 [ 53.257082] ? __tipc_sendmsg+0x1d40/0x1d40 [ 53.261385] sock_sendmsg+0xd5/0x120 [ 53.265091] ___sys_sendmsg+0x7fd/0x930 [ 53.269061] ? copy_msghdr_from_user+0x580/0x580 [ 53.273812] ? trace_hardirqs_on+0xbd/0x310 [ 53.278116] ? _raw_spin_unlock_bh+0x30/0x40 [ 53.282504] ? trace_hardirqs_off_caller+0x310/0x310 [ 53.287602] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.293122] ? __fget_light+0x2e9/0x430 [ 53.297078] ? fget_raw+0x20/0x20 [ 53.300518] ? _raw_spin_unlock_bh+0x30/0x40 [ 53.305066] ? release_sock+0x1ec/0x2c0 [ 53.309025] ? __release_sock+0x3a0/0x3a0 [ 53.313156] ? __local_bh_enable_ip+0x160/0x260 [ 53.317811] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 53.323327] ? sockfd_lookup_light+0xc5/0x160 [ 53.327807] __sys_sendmsg+0x11d/0x280 [ 53.331678] ? __ia32_sys_shutdown+0x80/0x80 [ 53.336073] ? do_fast_syscall_32+0x150/0xfb2 [ 53.340555] ? do_fast_syscall_32+0x150/0xfb2 [ 53.345052] ? trace_hardirqs_off_caller+0x310/0x310 [ 53.350139] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.355664] __ia32_compat_sys_sendmsg+0x7a/0xb0 [ 53.360406] do_fast_syscall_32+0x34d/0xfb2 [ 53.364713] ? do_int80_syscall_32+0x890/0x890 [ 53.369285] ? entry_SYSENTER_compat+0x68/0x7f [ 53.373853] ? trace_hardirqs_off_caller+0xbb/0x310 [ 53.378864] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.383813] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.388646] ? trace_hardirqs_on_caller+0x310/0x310 [ 53.393646] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 53.398747] ? prepare_exit_to_usermode+0x291/0x3b0 [ 53.403752] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.408582] entry_SYSENTER_compat+0x70/0x7f [ 53.412971] RIP: 0023:0xf7fd1a29 [ 53.416436] Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 [ 53.435327] RSP: 002b:00000000f7fcd1fc EFLAGS: 00000297 ORIG_RAX: 0000000000000172 [ 53.443020] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000200001c0 [ 53.450275] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 53.457549] RBP: 00000000003d0f00 R08: 0000000000000000 R09: 0000000000000000 [ 53.464803] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 53.472057] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 53.480253] Kernel Offset: disabled [ 53.483876] Rebooting in 86400 seconds..