[info] Using makefile-style concurrent boot in runlevel 2. [ 26.484043] audit: type=1800 audit(1544624667.548:21): pid=5845 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 syzkaller login: [ 32.927979] sshd (5984) used greatest stack depth: 15744 bytes left Warning: Permanently added '10.128.0.54' (ECDSA) to the list of known hosts. executing program executing program [ 49.940198] ================================================================== [ 49.947743] BUG: KASAN: use-after-free in tipc_group_bc_cong+0x327/0x3f0 [ 49.954607] Read of size 2 at addr ffff8881d9a84c74 by task syz-executor262/6009 [ 49.962248] [ 49.963986] CPU: 1 PID: 6009 Comm: syz-executor262 Not tainted 4.20.0-rc6+ #340 [ 49.971415] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 49.980751] Call Trace: [ 49.983327] dump_stack+0x244/0x39d [ 49.986961] ? dump_stack_print_info.cold.1+0x20/0x20 [ 49.992150] ? printk+0xa7/0xcf [ 49.995433] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 50.000177] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 50.005272] print_address_description.cold.7+0x9/0x1ff [ 50.010622] kasan_report.cold.8+0x242/0x309 [ 50.015020] ? tipc_group_bc_cong+0x327/0x3f0 [ 50.019510] __asan_report_load2_noabort+0x14/0x20 [ 50.024603] tipc_group_bc_cong+0x327/0x3f0 [ 50.028942] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 50.034042] ? tipc_group_cong+0x5d0/0x5d0 [ 50.038401] ? remove_wait_queue+0x1a6/0x360 [ 50.042919] ? add_wait_queue+0x2b0/0x2b0 [ 50.047059] ? __local_bh_enable_ip+0x160/0x260 [ 50.051719] tipc_send_group_bcast+0x50a/0xd90 [ 50.056297] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 50.061308] ? __init_waitqueue_head+0x150/0x150 [ 50.066052] ? refill_pi_state_cache.part.8+0x310/0x310 [ 50.071410] ? mark_held_locks+0x130/0x130 [ 50.075631] ? futex_wait_setup+0x266/0x3e0 [ 50.080056] ? futex_wake+0x760/0x760 [ 50.083852] ? print_usage_bug+0xc0/0xc0 [ 50.087917] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 50.093098] __tipc_sendmsg+0xeec/0x1d40 [ 50.097147] ? futex_wait+0x5ec/0xa50 [ 50.100940] ? tipc_sendmcast+0xf50/0xf50 [ 50.105087] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 50.110271] ? zap_class+0x640/0x640 [ 50.113984] ? print_usage_bug+0xc0/0xc0 [ 50.118048] ? find_held_lock+0x36/0x1c0 [ 50.122107] ? mark_held_locks+0xc7/0x130 [ 50.126244] ? __local_bh_enable_ip+0x160/0x260 [ 50.130916] ? __local_bh_enable_ip+0x160/0x260 [ 50.135576] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 50.140158] ? trace_hardirqs_on+0xbd/0x310 [ 50.144615] ? lock_release+0xa00/0xa00 [ 50.148580] ? lock_sock_nested+0xe2/0x120 [ 50.152849] ? trace_hardirqs_off_caller+0x310/0x310 [ 50.157945] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 50.163660] ? check_preemption_disabled+0x48/0x280 [ 50.168669] ? lock_sock_nested+0x9a/0x120 [ 50.172955] ? lock_sock_nested+0x9a/0x120 [ 50.177247] ? __local_bh_enable_ip+0x160/0x260 [ 50.181918] tipc_sendmsg+0x50/0x70 [ 50.185530] ? __tipc_sendmsg+0x1d40/0x1d40 [ 50.189842] sock_sendmsg+0xd5/0x120 [ 50.193542] ___sys_sendmsg+0x7fd/0x930 [ 50.197506] ? find_held_lock+0x36/0x1c0 [ 50.201565] ? copy_msghdr_from_user+0x580/0x580 [ 50.206311] ? __fd_install+0x2b5/0x8f0 [ 50.210276] ? check_preemption_disabled+0x48/0x280 [ 50.215285] ? __fget_light+0x2e9/0x430 [ 50.219245] ? fget_raw+0x20/0x20 [ 50.222703] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 50.228248] ? __fd_install+0x2f9/0x8f0 [ 50.232227] ? get_unused_fd_flags+0x1a0/0x1a0 [ 50.236799] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 50.242321] ? sockfd_lookup_light+0xc5/0x160 [ 50.246841] __sys_sendmsg+0x11d/0x280 [ 50.250727] ? __ia32_sys_shutdown+0x80/0x80 [ 50.255131] ? fput+0x130/0x1a0 [ 50.258401] ? __x64_sys_futex+0x47f/0x6a0 [ 50.262626] ? do_syscall_64+0x9a/0x820 [ 50.266602] ? do_syscall_64+0x9a/0x820 [ 50.270580] ? trace_hardirqs_off_caller+0x310/0x310 [ 50.275681] __x64_sys_sendmsg+0x78/0xb0 [ 50.279730] do_syscall_64+0x1b9/0x820 [ 50.283604] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 50.288958] ? syscall_return_slowpath+0x5e0/0x5e0 [ 50.293875] ? trace_hardirqs_on_caller+0x310/0x310 [ 50.298916] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 50.303943] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 50.310711] ? __switch_to_asm+0x40/0x70 [ 50.314756] ? __switch_to_asm+0x34/0x70 [ 50.318808] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 50.323640] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.328813] RIP: 0033:0x446389 [ 50.331993] 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 [ 50.350880] RSP: 002b:00007f3a7147cdb8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 50.358587] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 50.365842] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 50.373098] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 50.380357] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 50.387681] R13: 00007ffe476388df R14: 00007f3a7147d9c0 R15: 00000000006dad2c [ 50.394950] [ 50.396567] Allocated by task 6010: [ 50.400197] save_stack+0x43/0xd0 [ 50.403636] kasan_kmalloc+0xc7/0xe0 [ 50.407335] kmem_cache_alloc_trace+0x152/0x750 [ 50.411998] tipc_group_create+0x152/0xa70 [ 50.416229] tipc_setsockopt+0x2d1/0xd70 [ 50.420279] __sys_setsockopt+0x1ba/0x3c0 [ 50.424425] __x64_sys_setsockopt+0xbe/0x150 [ 50.428840] do_syscall_64+0x1b9/0x820 [ 50.432736] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.437908] [ 50.439522] Freed by task 6010: [ 50.442786] save_stack+0x43/0xd0 [ 50.446225] __kasan_slab_free+0x102/0x150 [ 50.450449] kasan_slab_free+0xe/0x10 [ 50.454235] kfree+0xcf/0x230 [ 50.457343] tipc_group_delete+0x2e4/0x3f0 [ 50.461575] tipc_sk_leave+0x113/0x220 [ 50.465446] tipc_setsockopt+0x97d/0xd70 [ 50.469492] __sys_setsockopt+0x1ba/0x3c0 [ 50.473916] __x64_sys_setsockopt+0xbe/0x150 [ 50.478314] do_syscall_64+0x1b9/0x820 [ 50.482186] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.487356] [ 50.488978] The buggy address belongs to the object at ffff8881d9a84c00 [ 50.488978] which belongs to the cache kmalloc-192 of size 192 [ 50.501633] The buggy address is located 116 bytes inside of [ 50.501633] 192-byte region [ffff8881d9a84c00, ffff8881d9a84cc0) [ 50.513503] The buggy address belongs to the page: [ 50.518421] page:ffffea000766a100 count:1 mapcount:0 mapping:ffff8881da800040 index:0x0 [ 50.526556] flags: 0x2fffc0000000200(slab) [ 50.530790] raw: 02fffc0000000200 ffffea000766f688 ffffea000766a2c8 ffff8881da800040 [ 50.538657] raw: 0000000000000000 ffff8881d9a84000 0000000100000010 0000000000000000 [ 50.546521] page dumped because: kasan: bad access detected [ 50.552340] [ 50.553950] Memory state around the buggy address: [ 50.558863] ffff8881d9a84b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.566218] ffff8881d9a84b80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 50.573576] >ffff8881d9a84c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.580921] ^ [ 50.587918] ffff8881d9a84c80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 50.595259] ffff8881d9a84d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 50.602791] ================================================================== [ 50.610135] Disabling lock debugging due to kernel taint [ 50.616020] Kernel panic - not syncing: panic_on_warn set ... [ 50.621948] CPU: 1 PID: 6009 Comm: syz-executor262 Tainted: G B 4.20.0-rc6+ #340 [ 50.630772] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.640121] Call Trace: [ 50.642691] dump_stack+0x244/0x39d [ 50.646301] ? dump_stack_print_info.cold.1+0x20/0x20 [ 50.651474] panic+0x2ad/0x55c [ 50.654651] ? add_taint.cold.5+0x16/0x16 [ 50.658783] ? preempt_schedule+0x4d/0x60 [ 50.662929] ? ___preempt_schedule+0x16/0x18 [ 50.667337] ? trace_hardirqs_on+0xb4/0x310 [ 50.671643] kasan_end_report+0x47/0x4f [ 50.675601] kasan_report.cold.8+0x76/0x309 [ 50.679914] ? tipc_group_bc_cong+0x327/0x3f0 [ 50.684392] __asan_report_load2_noabort+0x14/0x20 [ 50.689323] tipc_group_bc_cong+0x327/0x3f0 [ 50.693630] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 50.698717] ? tipc_group_cong+0x5d0/0x5d0 [ 50.702937] ? remove_wait_queue+0x1a6/0x360 [ 50.707330] ? add_wait_queue+0x2b0/0x2b0 [ 50.711460] ? __local_bh_enable_ip+0x160/0x260 [ 50.716116] tipc_send_group_bcast+0x50a/0xd90 [ 50.720686] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 50.725685] ? __init_waitqueue_head+0x150/0x150 [ 50.730441] ? refill_pi_state_cache.part.8+0x310/0x310 [ 50.735798] ? mark_held_locks+0x130/0x130 [ 50.740029] ? futex_wait_setup+0x266/0x3e0 [ 50.744334] ? futex_wake+0x760/0x760 [ 50.748117] ? print_usage_bug+0xc0/0xc0 [ 50.752164] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 50.757337] __tipc_sendmsg+0xeec/0x1d40 [ 50.761381] ? futex_wait+0x5ec/0xa50 [ 50.765170] ? tipc_sendmcast+0xf50/0xf50 [ 50.769303] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 50.774556] ? zap_class+0x640/0x640 [ 50.778261] ? print_usage_bug+0xc0/0xc0 [ 50.782312] ? find_held_lock+0x36/0x1c0 [ 50.786379] ? mark_held_locks+0xc7/0x130 [ 50.790514] ? __local_bh_enable_ip+0x160/0x260 [ 50.795165] ? __local_bh_enable_ip+0x160/0x260 [ 50.799819] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 50.804387] ? trace_hardirqs_on+0xbd/0x310 [ 50.808763] ? lock_release+0xa00/0xa00 [ 50.812739] ? lock_sock_nested+0xe2/0x120 [ 50.816969] ? trace_hardirqs_off_caller+0x310/0x310 [ 50.822056] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 50.827589] ? check_preemption_disabled+0x48/0x280 [ 50.832775] ? lock_sock_nested+0x9a/0x120 [ 50.837003] ? lock_sock_nested+0x9a/0x120 [ 50.841220] ? __local_bh_enable_ip+0x160/0x260 [ 50.846108] tipc_sendmsg+0x50/0x70 [ 50.849722] ? __tipc_sendmsg+0x1d40/0x1d40 [ 50.854036] sock_sendmsg+0xd5/0x120 [ 50.857968] ___sys_sendmsg+0x7fd/0x930 [ 50.861933] ? find_held_lock+0x36/0x1c0 [ 50.865981] ? copy_msghdr_from_user+0x580/0x580 [ 50.870724] ? __fd_install+0x2b5/0x8f0 [ 50.874700] ? check_preemption_disabled+0x48/0x280 [ 50.879704] ? __fget_light+0x2e9/0x430 [ 50.883686] ? fget_raw+0x20/0x20 [ 50.887254] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 50.892775] ? __fd_install+0x2f9/0x8f0 [ 50.896852] ? get_unused_fd_flags+0x1a0/0x1a0 [ 50.901486] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 50.907012] ? sockfd_lookup_light+0xc5/0x160 [ 50.911514] __sys_sendmsg+0x11d/0x280 [ 50.915389] ? __ia32_sys_shutdown+0x80/0x80 [ 50.919781] ? fput+0x130/0x1a0 [ 50.923047] ? __x64_sys_futex+0x47f/0x6a0 [ 50.927282] ? do_syscall_64+0x9a/0x820 [ 50.931250] ? do_syscall_64+0x9a/0x820 [ 50.935240] ? trace_hardirqs_off_caller+0x310/0x310 [ 50.940391] __x64_sys_sendmsg+0x78/0xb0 [ 50.944443] do_syscall_64+0x1b9/0x820 [ 50.948361] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 50.953733] ? syscall_return_slowpath+0x5e0/0x5e0 [ 50.958647] ? trace_hardirqs_on_caller+0x310/0x310 [ 50.963645] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 50.968647] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 50.975295] ? __switch_to_asm+0x40/0x70 [ 50.979352] ? __switch_to_asm+0x34/0x70 [ 50.983521] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 50.988357] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.993532] RIP: 0033:0x446389 [ 50.996732] 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 [ 51.015622] RSP: 002b:00007f3a7147cdb8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 51.023451] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 51.030707] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 51.037977] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 51.045240] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 51.052589] R13: 00007ffe476388df R14: 00007f3a7147d9c0 R15: 00000000006dad2c [ 51.060858] Kernel Offset: disabled [ 51.064488] Rebooting in 86400 seconds..