[info] Using makefile-style concurrent boot in runlevel 2. [ 26.438355] audit: type=1800 audit(1544595264.320:21): pid=5841 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.182' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 53.329807] ================================================================== [ 53.337314] BUG: KASAN: use-after-free in tipc_group_bc_cong+0x327/0x3f0 [ 53.344151] Read of size 2 at addr ffff8881c539b074 by task syz-executor349/6012 [ 53.351661] [ 53.353275] CPU: 1 PID: 6012 Comm: syz-executor349 Not tainted 4.20.0-rc6+ #226 [ 53.360707] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.370040] Call Trace: [ 53.372613] dump_stack+0x244/0x39d [ 53.376228] ? dump_stack_print_info.cold.1+0x20/0x20 [ 53.381401] ? printk+0xa7/0xcf [ 53.384661] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 53.389406] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 53.394500] print_address_description.cold.7+0x9/0x1ff [ 53.399848] kasan_report.cold.8+0x242/0x309 [ 53.404321] ? tipc_group_bc_cong+0x327/0x3f0 [ 53.408820] __asan_report_load2_noabort+0x14/0x20 [ 53.413737] tipc_group_bc_cong+0x327/0x3f0 [ 53.418042] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 53.423128] ? tipc_group_cong+0x5d0/0x5d0 [ 53.427348] ? remove_wait_queue+0x1a6/0x360 [ 53.431745] ? add_wait_queue+0x2b0/0x2b0 [ 53.435875] ? __local_bh_enable_ip+0x160/0x260 [ 53.440530] tipc_send_group_bcast+0x50a/0xd90 [ 53.445106] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 53.450111] ? __init_waitqueue_head+0x150/0x150 [ 53.454849] ? refill_pi_state_cache.part.8+0x310/0x310 [ 53.460202] ? mark_held_locks+0x130/0x130 [ 53.464418] ? futex_wait_setup+0x266/0x3e0 [ 53.468726] ? futex_wake+0x760/0x760 [ 53.472508] ? print_usage_bug+0xc0/0xc0 [ 53.476553] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 53.481730] __tipc_sendmsg+0xeec/0x1d40 [ 53.485773] ? futex_wait+0x5ec/0xa50 [ 53.489563] ? tipc_sendmcast+0xf50/0xf50 [ 53.493696] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 53.498885] ? zap_class+0x640/0x640 [ 53.502582] ? print_usage_bug+0xc0/0xc0 [ 53.506636] ? find_held_lock+0x36/0x1c0 [ 53.510696] ? mark_held_locks+0xc7/0x130 [ 53.514830] ? __local_bh_enable_ip+0x160/0x260 [ 53.519480] ? __local_bh_enable_ip+0x160/0x260 [ 53.524137] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 53.528703] ? trace_hardirqs_on+0xbd/0x310 [ 53.533005] ? lock_release+0xa00/0xa00 [ 53.536964] ? lock_sock_nested+0xe2/0x120 [ 53.541183] ? trace_hardirqs_off_caller+0x310/0x310 [ 53.546268] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.551805] ? check_preemption_disabled+0x48/0x280 [ 53.556804] ? lock_sock_nested+0x9a/0x120 [ 53.561024] ? lock_sock_nested+0x9a/0x120 [ 53.565245] ? __local_bh_enable_ip+0x160/0x260 [ 53.569901] tipc_sendmsg+0x50/0x70 [ 53.573525] ? __tipc_sendmsg+0x1d40/0x1d40 [ 53.577843] sock_sendmsg+0xd5/0x120 [ 53.581674] ___sys_sendmsg+0x7fd/0x930 [ 53.585633] ? find_held_lock+0x36/0x1c0 [ 53.589680] ? copy_msghdr_from_user+0x580/0x580 [ 53.594422] ? __fd_install+0x2b5/0x8f0 [ 53.598388] ? check_preemption_disabled+0x48/0x280 [ 53.603398] ? __fget_light+0x2e9/0x430 [ 53.607355] ? fget_raw+0x20/0x20 [ 53.610800] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.616325] ? __fd_install+0x2f9/0x8f0 [ 53.620289] ? get_unused_fd_flags+0x1a0/0x1a0 [ 53.624860] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 53.630382] ? sockfd_lookup_light+0xc5/0x160 [ 53.634875] __sys_sendmsg+0x11d/0x280 [ 53.638911] ? __ia32_sys_shutdown+0x80/0x80 [ 53.643313] ? fput+0x130/0x1a0 [ 53.646579] ? __x64_sys_futex+0x47f/0x6a0 [ 53.650797] ? do_syscall_64+0x9a/0x820 [ 53.654754] ? do_syscall_64+0x9a/0x820 [ 53.658716] ? trace_hardirqs_off_caller+0x310/0x310 [ 53.663823] __x64_sys_sendmsg+0x78/0xb0 [ 53.667883] do_syscall_64+0x1b9/0x820 [ 53.671772] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 53.677120] ? syscall_return_slowpath+0x5e0/0x5e0 [ 53.682029] ? trace_hardirqs_on_caller+0x310/0x310 [ 53.687043] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 53.692137] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 53.698793] ? __switch_to_asm+0x40/0x70 [ 53.702835] ? __switch_to_asm+0x34/0x70 [ 53.706880] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.711709] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.716880] RIP: 0033:0x446389 [ 53.720059] 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 [ 53.738941] RSP: 002b:00007f3f56de7db8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 53.746627] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 53.753881] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 53.761131] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 53.768380] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 53.775635] R13: 00007ffc065222ef R14: 00007f3f56de89c0 R15: 00000000006dad2c [ 53.782889] [ 53.784500] Allocated by task 6013: [ 53.788117] save_stack+0x43/0xd0 [ 53.791566] kasan_kmalloc+0xc7/0xe0 [ 53.795260] kmem_cache_alloc_trace+0x152/0x750 [ 53.799920] tipc_group_create+0x152/0xa70 [ 53.804132] tipc_setsockopt+0x2d1/0xd70 [ 53.808172] __sys_setsockopt+0x1ba/0x3c0 [ 53.812308] __x64_sys_setsockopt+0xbe/0x150 [ 53.816697] do_syscall_64+0x1b9/0x820 [ 53.820583] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.825748] [ 53.827355] Freed by task 6013: [ 53.830613] save_stack+0x43/0xd0 [ 53.834044] __kasan_slab_free+0x102/0x150 [ 53.838258] kasan_slab_free+0xe/0x10 [ 53.842042] kfree+0xcf/0x230 [ 53.845129] tipc_group_delete+0x2e4/0x3f0 [ 53.849345] tipc_sk_leave+0x113/0x220 [ 53.853214] tipc_setsockopt+0x97d/0xd70 [ 53.857257] __sys_setsockopt+0x1ba/0x3c0 [ 53.861387] __x64_sys_setsockopt+0xbe/0x150 [ 53.865782] do_syscall_64+0x1b9/0x820 [ 53.869652] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.874815] [ 53.876427] The buggy address belongs to the object at ffff8881c539b000 [ 53.876427] which belongs to the cache kmalloc-192 of size 192 [ 53.889176] The buggy address is located 116 bytes inside of [ 53.889176] 192-byte region [ffff8881c539b000, ffff8881c539b0c0) [ 53.901032] The buggy address belongs to the page: [ 53.905960] page:ffffea000714e6c0 count:1 mapcount:0 mapping:ffff8881da800040 index:0x0 [ 53.914085] flags: 0x2fffc0000000200(slab) [ 53.918308] raw: 02fffc0000000200 ffffea0007179508 ffffea00076535c8 ffff8881da800040 [ 53.926202] raw: 0000000000000000 ffff8881c539b000 0000000100000010 0000000000000000 [ 53.934059] page dumped because: kasan: bad access detected [ 53.939846] [ 53.941488] Memory state around the buggy address: [ 53.946420] ffff8881c539af00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 53.953766] ffff8881c539af80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 53.961107] >ffff8881c539b000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.968443] ^ [ 53.975451] ffff8881c539b080: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 53.982808] ffff8881c539b100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 53.990147] ================================================================== [ 53.997497] Disabling lock debugging due to kernel taint [ 54.003264] Kernel panic - not syncing: panic_on_warn set ... [ 54.009166] CPU: 1 PID: 6012 Comm: syz-executor349 Tainted: G B 4.20.0-rc6+ #226 [ 54.017994] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 54.027337] Call Trace: [ 54.029909] dump_stack+0x244/0x39d [ 54.033521] ? dump_stack_print_info.cold.1+0x20/0x20 [ 54.038691] panic+0x2ad/0x55c [ 54.041863] ? add_taint.cold.5+0x16/0x16 [ 54.046039] ? preempt_schedule+0x4d/0x60 [ 54.050175] ? ___preempt_schedule+0x16/0x18 [ 54.054563] ? trace_hardirqs_on+0xb4/0x310 [ 54.058899] kasan_end_report+0x47/0x4f [ 54.062854] kasan_report.cold.8+0x76/0x309 [ 54.067160] ? tipc_group_bc_cong+0x327/0x3f0 [ 54.071652] __asan_report_load2_noabort+0x14/0x20 [ 54.076570] tipc_group_bc_cong+0x327/0x3f0 [ 54.081136] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 54.086225] ? tipc_group_cong+0x5d0/0x5d0 [ 54.090460] ? remove_wait_queue+0x1a6/0x360 [ 54.094850] ? add_wait_queue+0x2b0/0x2b0 [ 54.098976] ? __local_bh_enable_ip+0x160/0x260 [ 54.103626] tipc_send_group_bcast+0x50a/0xd90 [ 54.108235] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 54.113250] ? __init_waitqueue_head+0x150/0x150 [ 54.117994] ? refill_pi_state_cache.part.8+0x310/0x310 [ 54.123400] ? mark_held_locks+0x130/0x130 [ 54.127623] ? futex_wait_setup+0x266/0x3e0 [ 54.131927] ? futex_wake+0x760/0x760 [ 54.135807] ? print_usage_bug+0xc0/0xc0 [ 54.139854] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 54.145043] __tipc_sendmsg+0xeec/0x1d40 [ 54.149102] ? futex_wait+0x5ec/0xa50 [ 54.152887] ? tipc_sendmcast+0xf50/0xf50 [ 54.157034] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 54.162203] ? zap_class+0x640/0x640 [ 54.165896] ? print_usage_bug+0xc0/0xc0 [ 54.169944] ? find_held_lock+0x36/0x1c0 [ 54.173993] ? mark_held_locks+0xc7/0x130 [ 54.178125] ? __local_bh_enable_ip+0x160/0x260 [ 54.182774] ? __local_bh_enable_ip+0x160/0x260 [ 54.187423] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 54.191985] ? trace_hardirqs_on+0xbd/0x310 [ 54.196293] ? lock_release+0xa00/0xa00 [ 54.200246] ? lock_sock_nested+0xe2/0x120 [ 54.204465] ? trace_hardirqs_off_caller+0x310/0x310 [ 54.209551] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 54.215084] ? check_preemption_disabled+0x48/0x280 [ 54.220095] ? lock_sock_nested+0x9a/0x120 [ 54.224310] ? lock_sock_nested+0x9a/0x120 [ 54.228525] ? __local_bh_enable_ip+0x160/0x260 [ 54.233175] tipc_sendmsg+0x50/0x70 [ 54.236801] ? __tipc_sendmsg+0x1d40/0x1d40 [ 54.241105] sock_sendmsg+0xd5/0x120 [ 54.244816] ___sys_sendmsg+0x7fd/0x930 [ 54.248785] ? find_held_lock+0x36/0x1c0 [ 54.252840] ? copy_msghdr_from_user+0x580/0x580 [ 54.257577] ? __fd_install+0x2b5/0x8f0 [ 54.261534] ? check_preemption_disabled+0x48/0x280 [ 54.266540] ? __fget_light+0x2e9/0x430 [ 54.270500] ? fget_raw+0x20/0x20 [ 54.273938] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 54.279458] ? __fd_install+0x2f9/0x8f0 [ 54.283470] ? get_unused_fd_flags+0x1a0/0x1a0 [ 54.288046] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 54.293565] ? sockfd_lookup_light+0xc5/0x160 [ 54.298165] __sys_sendmsg+0x11d/0x280 [ 54.302059] ? __ia32_sys_shutdown+0x80/0x80 [ 54.306451] ? fput+0x130/0x1a0 [ 54.309711] ? __x64_sys_futex+0x47f/0x6a0 [ 54.313926] ? do_syscall_64+0x9a/0x820 [ 54.317912] ? do_syscall_64+0x9a/0x820 [ 54.321869] ? trace_hardirqs_off_caller+0x310/0x310 [ 54.326963] __x64_sys_sendmsg+0x78/0xb0 [ 54.331015] do_syscall_64+0x1b9/0x820 [ 54.334905] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 54.340255] ? syscall_return_slowpath+0x5e0/0x5e0 [ 54.345170] ? trace_hardirqs_on_caller+0x310/0x310 [ 54.350165] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 54.355163] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 54.361807] ? __switch_to_asm+0x40/0x70 [ 54.365851] ? __switch_to_asm+0x34/0x70 [ 54.369893] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 54.374721] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 54.379890] RIP: 0033:0x446389 [ 54.383071] 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 [ 54.401954] RSP: 002b:00007f3f56de7db8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 54.409640] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 54.416890] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 54.424154] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 54.431412] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 54.438663] R13: 00007ffc065222ef R14: 00007f3f56de89c0 R15: 00000000006dad2c [ 54.446858] Kernel Offset: disabled [ 54.450477] Rebooting in 86400 seconds..