[info] Using makefile-style concurrent boot in runlevel 2. [ 24.180977] audit: type=1800 audit(1544594102.038:21): pid=5776 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="bootlogs" dev="sda1" ino=2419 res=0 [ 24.207892] audit: type=1800 audit(1544594102.048:22): pid=5776 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="motd" dev="sda1" ino=2447 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.111' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 35.637355] ================================================================== [ 35.644830] BUG: KASAN: use-after-free in tipc_group_bc_cong+0x327/0x3f0 [ 35.651651] Read of size 2 at addr ffff8881d8047a74 by task syz-executor754/5935 [ 35.659178] [ 35.660802] CPU: 1 PID: 5935 Comm: syz-executor754 Not tainted 4.20.0-rc6+ #339 [ 35.668229] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.677557] Call Trace: [ 35.680124] dump_stack+0x244/0x39d [ 35.683740] ? dump_stack_print_info.cold.1+0x20/0x20 [ 35.688913] ? printk+0xa7/0xcf [ 35.692199] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 35.696956] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 35.702059] print_address_description.cold.7+0x9/0x1ff [ 35.707403] kasan_report.cold.8+0x242/0x309 [ 35.711790] ? tipc_group_bc_cong+0x327/0x3f0 [ 35.716267] __asan_report_load2_noabort+0x14/0x20 [ 35.721174] tipc_group_bc_cong+0x327/0x3f0 [ 35.725581] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 35.730668] ? tipc_group_cong+0x5d0/0x5d0 [ 35.734879] ? remove_wait_queue+0x1a6/0x360 [ 35.739269] ? add_wait_queue+0x2b0/0x2b0 [ 35.743417] ? __local_bh_enable_ip+0x160/0x260 [ 35.748067] tipc_send_group_bcast+0x50a/0xd90 [ 35.752654] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 35.757668] ? __init_waitqueue_head+0x150/0x150 [ 35.762416] ? refill_pi_state_cache.part.8+0x310/0x310 [ 35.767769] ? mark_held_locks+0x130/0x130 [ 35.771990] ? futex_wait_setup+0x266/0x3e0 [ 35.776293] ? futex_wake+0x760/0x760 [ 35.780071] ? print_usage_bug+0xc0/0xc0 [ 35.784115] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 35.789292] __tipc_sendmsg+0xeec/0x1d40 [ 35.793329] ? futex_wait+0x5ec/0xa50 [ 35.797109] ? tipc_sendmcast+0xf50/0xf50 [ 35.801266] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 35.806439] ? zap_class+0x640/0x640 [ 35.810147] ? print_usage_bug+0xc0/0xc0 [ 35.814193] ? find_held_lock+0x36/0x1c0 [ 35.818479] ? mark_held_locks+0xc7/0x130 [ 35.822623] ? __local_bh_enable_ip+0x160/0x260 [ 35.827299] ? __local_bh_enable_ip+0x160/0x260 [ 35.831943] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 35.836589] ? trace_hardirqs_on+0xbd/0x310 [ 35.840892] ? lock_release+0xa00/0xa00 [ 35.844845] ? lock_sock_nested+0xe2/0x120 [ 35.849056] ? trace_hardirqs_off_caller+0x310/0x310 [ 35.854144] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 35.859698] ? check_preemption_disabled+0x48/0x280 [ 35.864695] ? lock_sock_nested+0x9a/0x120 [ 35.868909] ? lock_sock_nested+0x9a/0x120 [ 35.873121] ? __local_bh_enable_ip+0x160/0x260 [ 35.877784] tipc_sendmsg+0x50/0x70 [ 35.881398] ? __tipc_sendmsg+0x1d40/0x1d40 [ 35.885710] sock_sendmsg+0xd5/0x120 [ 35.889405] ___sys_sendmsg+0x7fd/0x930 [ 35.893360] ? find_held_lock+0x36/0x1c0 [ 35.897401] ? copy_msghdr_from_user+0x580/0x580 [ 35.902146] ? __fd_install+0x2b5/0x8f0 [ 35.906101] ? check_preemption_disabled+0x48/0x280 [ 35.911109] ? __fget_light+0x2e9/0x430 [ 35.915081] ? fget_raw+0x20/0x20 [ 35.918514] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 35.924028] ? __fd_install+0x2f9/0x8f0 [ 35.927999] ? get_unused_fd_flags+0x1a0/0x1a0 [ 35.932561] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 35.938075] ? sockfd_lookup_light+0xc5/0x160 [ 35.942650] __sys_sendmsg+0x11d/0x280 [ 35.946523] ? __ia32_sys_shutdown+0x80/0x80 [ 35.950911] ? fput+0x130/0x1a0 [ 35.954173] ? __x64_sys_futex+0x47f/0x6a0 [ 35.958394] ? do_syscall_64+0x9a/0x820 [ 35.962356] ? do_syscall_64+0x9a/0x820 [ 35.966314] ? trace_hardirqs_off_caller+0x310/0x310 [ 35.971405] __x64_sys_sendmsg+0x78/0xb0 [ 35.975446] do_syscall_64+0x1b9/0x820 [ 35.979315] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 35.984656] ? syscall_return_slowpath+0x5e0/0x5e0 [ 35.989569] ? trace_hardirqs_on_caller+0x310/0x310 [ 35.994575] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 35.999572] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 36.006224] ? __switch_to_asm+0x40/0x70 [ 36.010272] ? __switch_to_asm+0x34/0x70 [ 36.014315] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.019145] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.024311] RIP: 0033:0x446389 [ 36.027483] Code: e8 2c b3 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 2b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 36.046361] RSP: 002b:00007fb22c58fdb8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 36.054044] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 36.061292] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 36.068539] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 36.075949] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 36.083200] R13: 00007ffcd565eeef R14: 00007fb22c5909c0 R15: 00000000006dad2c [ 36.090471] [ 36.092078] Allocated by task 5936: [ 36.095687] save_stack+0x43/0xd0 [ 36.099138] kasan_kmalloc+0xc7/0xe0 [ 36.102841] kmem_cache_alloc_trace+0x152/0x750 [ 36.107500] tipc_group_create+0x152/0xa70 [ 36.111717] tipc_setsockopt+0x2d1/0xd70 [ 36.115758] __sys_setsockopt+0x1ba/0x3c0 [ 36.119894] __x64_sys_setsockopt+0xbe/0x150 [ 36.124281] do_syscall_64+0x1b9/0x820 [ 36.128159] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.133317] [ 36.134919] Freed by task 5936: [ 36.138178] save_stack+0x43/0xd0 [ 36.141626] __kasan_slab_free+0x102/0x150 [ 36.145858] kasan_slab_free+0xe/0x10 [ 36.149641] kfree+0xcf/0x230 [ 36.152728] tipc_group_delete+0x2e4/0x3f0 [ 36.156937] tipc_sk_leave+0x113/0x220 [ 36.160814] tipc_setsockopt+0x97d/0xd70 [ 36.164850] __sys_setsockopt+0x1ba/0x3c0 [ 36.168976] __x64_sys_setsockopt+0xbe/0x150 [ 36.173385] do_syscall_64+0x1b9/0x820 [ 36.177280] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.182546] [ 36.184158] The buggy address belongs to the object at ffff8881d8047a00 [ 36.184158] which belongs to the cache kmalloc-192 of size 192 [ 36.196798] The buggy address is located 116 bytes inside of [ 36.196798] 192-byte region [ffff8881d8047a00, ffff8881d8047ac0) [ 36.208647] The buggy address belongs to the page: [ 36.213551] page:ffffea00076011c0 count:1 mapcount:0 mapping:ffff8881da800040 index:0x0 [ 36.221753] flags: 0x2fffc0000000200(slab) [ 36.225967] raw: 02fffc0000000200 ffffea00071795c8 ffffea0007601748 ffff8881da800040 [ 36.233914] raw: 0000000000000000 ffff8881d8047000 0000000100000010 0000000000000000 [ 36.241768] page dumped because: kasan: bad access detected [ 36.247457] [ 36.249064] Memory state around the buggy address: [ 36.253971] ffff8881d8047900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 36.261307] ffff8881d8047980: 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 36.268643] >ffff8881d8047a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.275973] ^ [ 36.283065] ffff8881d8047a80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 36.290405] ffff8881d8047b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.297745] ================================================================== [ 36.305087] Disabling lock debugging due to kernel taint [ 36.310637] Kernel panic - not syncing: panic_on_warn set ... [ 36.316530] CPU: 1 PID: 5935 Comm: syz-executor754 Tainted: G B 4.20.0-rc6+ #339 [ 36.325345] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.334678] Call Trace: [ 36.337243] dump_stack+0x244/0x39d [ 36.340849] ? dump_stack_print_info.cold.1+0x20/0x20 [ 36.346018] panic+0x2ad/0x55c [ 36.349191] ? add_taint.cold.5+0x16/0x16 [ 36.353321] ? preempt_schedule+0x4d/0x60 [ 36.357453] ? ___preempt_schedule+0x16/0x18 [ 36.361839] ? trace_hardirqs_on+0xb4/0x310 [ 36.366148] kasan_end_report+0x47/0x4f [ 36.370127] kasan_report.cold.8+0x76/0x309 [ 36.374448] ? tipc_group_bc_cong+0x327/0x3f0 [ 36.378923] __asan_report_load2_noabort+0x14/0x20 [ 36.383830] tipc_group_bc_cong+0x327/0x3f0 [ 36.388214] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 36.393298] ? tipc_group_cong+0x5d0/0x5d0 [ 36.397508] ? remove_wait_queue+0x1a6/0x360 [ 36.401894] ? add_wait_queue+0x2b0/0x2b0 [ 36.406026] ? __local_bh_enable_ip+0x160/0x260 [ 36.410695] tipc_send_group_bcast+0x50a/0xd90 [ 36.415288] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 36.420305] ? __init_waitqueue_head+0x150/0x150 [ 36.425040] ? refill_pi_state_cache.part.8+0x310/0x310 [ 36.430383] ? mark_held_locks+0x130/0x130 [ 36.434607] ? futex_wait_setup+0x266/0x3e0 [ 36.438905] ? futex_wake+0x760/0x760 [ 36.442690] ? print_usage_bug+0xc0/0xc0 [ 36.446732] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 36.451902] __tipc_sendmsg+0xeec/0x1d40 [ 36.455940] ? futex_wait+0x5ec/0xa50 [ 36.459727] ? tipc_sendmcast+0xf50/0xf50 [ 36.463880] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 36.469070] ? zap_class+0x640/0x640 [ 36.472771] ? print_usage_bug+0xc0/0xc0 [ 36.476830] ? find_held_lock+0x36/0x1c0 [ 36.480887] ? mark_held_locks+0xc7/0x130 [ 36.485010] ? __local_bh_enable_ip+0x160/0x260 [ 36.489658] ? __local_bh_enable_ip+0x160/0x260 [ 36.494336] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 36.498910] ? trace_hardirqs_on+0xbd/0x310 [ 36.503220] ? lock_release+0xa00/0xa00 [ 36.507169] ? lock_sock_nested+0xe2/0x120 [ 36.511411] ? trace_hardirqs_off_caller+0x310/0x310 [ 36.516498] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.522016] ? check_preemption_disabled+0x48/0x280 [ 36.527006] ? lock_sock_nested+0x9a/0x120 [ 36.531217] ? lock_sock_nested+0x9a/0x120 [ 36.535440] ? __local_bh_enable_ip+0x160/0x260 [ 36.540096] tipc_sendmsg+0x50/0x70 [ 36.543734] ? __tipc_sendmsg+0x1d40/0x1d40 [ 36.548142] sock_sendmsg+0xd5/0x120 [ 36.551838] ___sys_sendmsg+0x7fd/0x930 [ 36.555790] ? find_held_lock+0x36/0x1c0 [ 36.559828] ? copy_msghdr_from_user+0x580/0x580 [ 36.564565] ? __fd_install+0x2b5/0x8f0 [ 36.568521] ? check_preemption_disabled+0x48/0x280 [ 36.573524] ? __fget_light+0x2e9/0x430 [ 36.577477] ? fget_raw+0x20/0x20 [ 36.580915] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.586429] ? __fd_install+0x2f9/0x8f0 [ 36.590387] ? get_unused_fd_flags+0x1a0/0x1a0 [ 36.594966] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 36.600484] ? sockfd_lookup_light+0xc5/0x160 [ 36.604956] __sys_sendmsg+0x11d/0x280 [ 36.608822] ? __ia32_sys_shutdown+0x80/0x80 [ 36.613208] ? fput+0x130/0x1a0 [ 36.616827] ? __x64_sys_futex+0x47f/0x6a0 [ 36.621043] ? do_syscall_64+0x9a/0x820 [ 36.624997] ? do_syscall_64+0x9a/0x820 [ 36.628951] ? trace_hardirqs_off_caller+0x310/0x310 [ 36.634031] __x64_sys_sendmsg+0x78/0xb0 [ 36.638068] do_syscall_64+0x1b9/0x820 [ 36.642052] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 36.647413] ? syscall_return_slowpath+0x5e0/0x5e0 [ 36.652546] ? trace_hardirqs_on_caller+0x310/0x310 [ 36.657543] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 36.662558] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 36.669219] ? __switch_to_asm+0x40/0x70 [ 36.673256] ? __switch_to_asm+0x34/0x70 [ 36.677330] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.682169] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.687341] RIP: 0033:0x446389 [ 36.690510] Code: e8 2c b3 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 2b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 36.709393] RSP: 002b:00007fb22c58fdb8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 36.717096] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 36.724357] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 36.731626] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 36.738873] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 36.746117] R13: 00007ffcd565eeef R14: 00007fb22c5909c0 R15: 00000000006dad2c [ 36.754692] Kernel Offset: disabled [ 36.758315] Rebooting in 86400 seconds..