[info] Using makefile-style concurrent boot in runlevel 2. [ 26.115331] audit: type=1800 audit(1544601867.184:21): pid=5836 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="bootlogs" dev="sda1" ino=2419 res=0 [ 26.142856] audit: type=1800 audit(1544601867.184:22): pid=5836 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.145' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 37.679519] ================================================================== [ 37.686977] BUG: KASAN: use-after-free in tipc_group_bc_cong+0x327/0x3f0 [ 37.693846] Read of size 2 at addr ffff8881d8433674 by task syz-executor564/5997 [ 37.701359] [ 37.702978] CPU: 0 PID: 5997 Comm: syz-executor564 Not tainted 4.20.0-rc6+ #371 [ 37.710404] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.719747] Call Trace: [ 37.722326] dump_stack+0x244/0x39d [ 37.725938] ? dump_stack_print_info.cold.1+0x20/0x20 [ 37.731119] ? printk+0xa7/0xcf [ 37.734388] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 37.739137] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 37.744227] print_address_description.cold.7+0x9/0x1ff [ 37.749573] kasan_report.cold.8+0x242/0x309 [ 37.753980] ? tipc_group_bc_cong+0x327/0x3f0 [ 37.758473] __asan_report_load2_noabort+0x14/0x20 [ 37.763395] tipc_group_bc_cong+0x327/0x3f0 [ 37.767702] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 37.772800] ? tipc_group_cong+0x5d0/0x5d0 [ 37.777022] ? remove_wait_queue+0x1a6/0x360 [ 37.781782] ? add_wait_queue+0x2b0/0x2b0 [ 37.785915] ? __local_bh_enable_ip+0x160/0x260 [ 37.790572] tipc_send_group_bcast+0x50a/0xd90 [ 37.795145] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 37.800151] ? __init_waitqueue_head+0x150/0x150 [ 37.804900] ? refill_pi_state_cache.part.8+0x310/0x310 [ 37.810252] ? mark_held_locks+0x130/0x130 [ 37.814469] ? futex_wait_setup+0x266/0x3e0 [ 37.818771] ? futex_wake+0x760/0x760 [ 37.822586] ? print_usage_bug+0xc0/0xc0 [ 37.826636] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 37.831832] __tipc_sendmsg+0xeec/0x1d40 [ 37.835906] ? futex_wait+0x5ec/0xa50 [ 37.839714] ? tipc_sendmcast+0xf50/0xf50 [ 37.843851] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 37.849028] ? zap_class+0x640/0x640 [ 37.852728] ? print_usage_bug+0xc0/0xc0 [ 37.856780] ? find_held_lock+0x36/0x1c0 [ 37.860828] ? mark_held_locks+0xc7/0x130 [ 37.864985] ? __local_bh_enable_ip+0x160/0x260 [ 37.869653] ? __local_bh_enable_ip+0x160/0x260 [ 37.874320] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 37.878886] ? trace_hardirqs_on+0xbd/0x310 [ 37.883195] ? lock_release+0xa00/0xa00 [ 37.887163] ? lock_sock_nested+0xe2/0x120 [ 37.891395] ? trace_hardirqs_off_caller+0x310/0x310 [ 37.896484] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 37.902005] ? check_preemption_disabled+0x48/0x280 [ 37.907020] ? lock_sock_nested+0x9a/0x120 [ 37.911236] ? lock_sock_nested+0x9a/0x120 [ 37.915453] ? __local_bh_enable_ip+0x160/0x260 [ 37.920118] tipc_sendmsg+0x50/0x70 [ 37.923730] ? __tipc_sendmsg+0x1d40/0x1d40 [ 37.928052] sock_sendmsg+0xd5/0x120 [ 37.931751] ___sys_sendmsg+0x7fd/0x930 [ 37.935708] ? find_held_lock+0x36/0x1c0 [ 37.939777] ? copy_msghdr_from_user+0x580/0x580 [ 37.944517] ? __fd_install+0x2b5/0x8f0 [ 37.948474] ? check_preemption_disabled+0x48/0x280 [ 37.953478] ? __fget_light+0x2e9/0x430 [ 37.957434] ? fget_raw+0x20/0x20 [ 37.960874] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 37.966390] ? __fd_install+0x2f9/0x8f0 [ 37.970352] ? get_unused_fd_flags+0x1a0/0x1a0 [ 37.974923] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 37.980459] ? sockfd_lookup_light+0xc5/0x160 [ 37.984938] __sys_sendmsg+0x11d/0x280 [ 37.988809] ? __ia32_sys_shutdown+0x80/0x80 [ 37.993200] ? fput+0x130/0x1a0 [ 37.996462] ? __x64_sys_futex+0x47f/0x6a0 [ 38.000681] ? do_syscall_64+0x9a/0x820 [ 38.004638] ? do_syscall_64+0x9a/0x820 [ 38.008598] ? trace_hardirqs_off_caller+0x310/0x310 [ 38.013686] __x64_sys_sendmsg+0x78/0xb0 [ 38.017733] do_syscall_64+0x1b9/0x820 [ 38.021605] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 38.026984] ? syscall_return_slowpath+0x5e0/0x5e0 [ 38.031908] ? trace_hardirqs_on_caller+0x310/0x310 [ 38.036923] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 38.041934] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 38.048591] ? __switch_to_asm+0x40/0x70 [ 38.052792] ? __switch_to_asm+0x34/0x70 [ 38.056847] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 38.061683] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.066975] RIP: 0033:0x446389 [ 38.070158] 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 [ 38.089052] RSP: 002b:00007f8d2f9ffdb8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 38.096756] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 38.104029] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 38.111283] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 38.118649] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 38.126077] R13: 00007ffc67a6277f R14: 00007f8d2fa009c0 R15: 00000000006dad2c [ 38.133446] [ 38.135057] Allocated by task 5999: [ 38.138677] save_stack+0x43/0xd0 [ 38.142112] kasan_kmalloc+0xc7/0xe0 [ 38.145823] kmem_cache_alloc_trace+0x152/0x750 [ 38.150489] tipc_group_create+0x152/0xa70 [ 38.154705] tipc_setsockopt+0x2d1/0xd70 [ 38.158753] __sys_setsockopt+0x1ba/0x3c0 [ 38.163099] __x64_sys_setsockopt+0xbe/0x150 [ 38.167509] do_syscall_64+0x1b9/0x820 [ 38.171383] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.176571] [ 38.178181] Freed by task 5999: [ 38.181460] save_stack+0x43/0xd0 [ 38.184907] __kasan_slab_free+0x102/0x150 [ 38.189125] kasan_slab_free+0xe/0x10 [ 38.193150] kfree+0xcf/0x230 [ 38.196263] tipc_group_delete+0x2e4/0x3f0 [ 38.200480] tipc_sk_leave+0x113/0x220 [ 38.204542] tipc_setsockopt+0x97d/0xd70 [ 38.208587] __sys_setsockopt+0x1ba/0x3c0 [ 38.212870] __x64_sys_setsockopt+0xbe/0x150 [ 38.217267] do_syscall_64+0x1b9/0x820 [ 38.221139] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.226300] [ 38.227908] The buggy address belongs to the object at ffff8881d8433600 [ 38.227908] which belongs to the cache kmalloc-192 of size 192 [ 38.240542] The buggy address is located 116 bytes inside of [ 38.240542] 192-byte region [ffff8881d8433600, ffff8881d84336c0) [ 38.252940] The buggy address belongs to the page: [ 38.257862] page:ffffea0007610cc0 count:1 mapcount:0 mapping:ffff8881da800040 index:0xffff8881d8433800 [ 38.267313] flags: 0x2fffc0000000200(slab) [ 38.271534] raw: 02fffc0000000200 ffff8881da801138 ffffea0007610f48 ffff8881da800040 [ 38.279409] raw: ffff8881d8433800 ffff8881d8433000 0000000100000003 0000000000000000 [ 38.287429] page dumped because: kasan: bad access detected [ 38.293123] [ 38.294793] Memory state around the buggy address: [ 38.299893] ffff8881d8433500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.307239] ffff8881d8433580: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 38.314577] >ffff8881d8433600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.322180] ^ [ 38.329191] ffff8881d8433680: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 38.336532] ffff8881d8433700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.344326] ================================================================== [ 38.351866] Disabling lock debugging due to kernel taint [ 38.357812] Kernel panic - not syncing: panic_on_warn set ... [ 38.363700] CPU: 0 PID: 5997 Comm: syz-executor564 Tainted: G B 4.20.0-rc6+ #371 [ 38.373032] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.382756] Call Trace: [ 38.385334] dump_stack+0x244/0x39d [ 38.388946] ? dump_stack_print_info.cold.1+0x20/0x20 [ 38.394137] panic+0x2ad/0x55c [ 38.397311] ? add_taint.cold.5+0x16/0x16 [ 38.401442] ? preempt_schedule+0x4d/0x60 [ 38.405577] ? ___preempt_schedule+0x16/0x18 [ 38.409972] ? trace_hardirqs_on+0xb4/0x310 [ 38.414279] kasan_end_report+0x47/0x4f [ 38.418235] kasan_report.cold.8+0x76/0x309 [ 38.422552] ? tipc_group_bc_cong+0x327/0x3f0 [ 38.427029] __asan_report_load2_noabort+0x14/0x20 [ 38.431942] tipc_group_bc_cong+0x327/0x3f0 [ 38.436349] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 38.441449] ? tipc_group_cong+0x5d0/0x5d0 [ 38.445669] ? remove_wait_queue+0x1a6/0x360 [ 38.450173] ? add_wait_queue+0x2b0/0x2b0 [ 38.454434] ? __local_bh_enable_ip+0x160/0x260 [ 38.459095] tipc_send_group_bcast+0x50a/0xd90 [ 38.463686] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 38.468889] ? __init_waitqueue_head+0x150/0x150 [ 38.473654] ? refill_pi_state_cache.part.8+0x310/0x310 [ 38.479186] ? mark_held_locks+0x130/0x130 [ 38.483410] ? futex_wait_setup+0x266/0x3e0 [ 38.487773] ? futex_wake+0x760/0x760 [ 38.491565] ? print_usage_bug+0xc0/0xc0 [ 38.495617] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 38.500791] __tipc_sendmsg+0xeec/0x1d40 [ 38.504841] ? futex_wait+0x5ec/0xa50 [ 38.508628] ? tipc_sendmcast+0xf50/0xf50 [ 38.512768] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 38.518015] ? zap_class+0x640/0x640 [ 38.521728] ? print_usage_bug+0xc0/0xc0 [ 38.525772] ? find_held_lock+0x36/0x1c0 [ 38.530092] ? mark_held_locks+0xc7/0x130 [ 38.534445] ? __local_bh_enable_ip+0x160/0x260 [ 38.539109] ? __local_bh_enable_ip+0x160/0x260 [ 38.543767] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 38.548333] ? trace_hardirqs_on+0xbd/0x310 [ 38.552642] ? lock_release+0xa00/0xa00 [ 38.556609] ? lock_sock_nested+0xe2/0x120 [ 38.560933] ? trace_hardirqs_off_caller+0x310/0x310 [ 38.566148] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 38.571700] ? check_preemption_disabled+0x48/0x280 [ 38.576697] ? lock_sock_nested+0x9a/0x120 [ 38.580928] ? lock_sock_nested+0x9a/0x120 [ 38.585325] ? __local_bh_enable_ip+0x160/0x260 [ 38.589989] tipc_sendmsg+0x50/0x70 [ 38.593598] ? __tipc_sendmsg+0x1d40/0x1d40 [ 38.597899] sock_sendmsg+0xd5/0x120 [ 38.601712] ___sys_sendmsg+0x7fd/0x930 [ 38.605672] ? find_held_lock+0x36/0x1c0 [ 38.609717] ? copy_msghdr_from_user+0x580/0x580 [ 38.614462] ? __fd_install+0x2b5/0x8f0 [ 38.618548] ? check_preemption_disabled+0x48/0x280 [ 38.623547] ? __fget_light+0x2e9/0x430 [ 38.627596] ? fget_raw+0x20/0x20 [ 38.631045] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 38.636705] ? __fd_install+0x2f9/0x8f0 [ 38.640678] ? get_unused_fd_flags+0x1a0/0x1a0 [ 38.645242] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 38.651616] ? sockfd_lookup_light+0xc5/0x160 [ 38.656105] __sys_sendmsg+0x11d/0x280 [ 38.659977] ? __ia32_sys_shutdown+0x80/0x80 [ 38.664373] ? fput+0x130/0x1a0 [ 38.667641] ? __x64_sys_futex+0x47f/0x6a0 [ 38.671862] ? do_syscall_64+0x9a/0x820 [ 38.676013] ? do_syscall_64+0x9a/0x820 [ 38.680107] ? trace_hardirqs_off_caller+0x310/0x310 [ 38.685366] __x64_sys_sendmsg+0x78/0xb0 [ 38.689588] do_syscall_64+0x1b9/0x820 [ 38.693633] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 38.698988] ? syscall_return_slowpath+0x5e0/0x5e0 [ 38.704060] ? trace_hardirqs_on_caller+0x310/0x310 [ 38.709253] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 38.714256] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 38.721074] ? __switch_to_asm+0x40/0x70 [ 38.725123] ? __switch_to_asm+0x34/0x70 [ 38.729313] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 38.734142] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.739314] RIP: 0033:0x446389 [ 38.742519] 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 [ 38.761510] RSP: 002b:00007f8d2f9ffdb8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 38.769206] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 38.776460] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 38.784059] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 38.791318] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 38.798574] R13: 00007ffc67a6277f R14: 00007f8d2fa009c0 R15: 00000000006dad2c [ 38.807331] Kernel Offset: disabled [ 38.810964] Rebooting in 86400 seconds..