[info] Using makefile-style concurrent boot in runlevel 2. [ 27.233468] audit: type=1800 audit(1544604336.725:21): pid=5924 uid=0 auid=4294967295 ses=4294967295 subj=_ op=collect_data cause=failed(directio) comm="startpar" name="bootlogs" dev="sda1" ino=2419 res=0 [ 27.267751] audit: type=1800 audit(1544604336.725:22): pid=5924 uid=0 auid=4294967295 ses=4294967295 subj=_ 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.10.19' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 41.233617] ================================================================== [ 41.241329] BUG: KASAN: use-after-free in tipc_group_bc_cong+0x327/0x3f0 [ 41.248284] Read of size 2 at addr ffff8881ba076e74 by task syz-executor027/6114 [ 41.255798] [ 41.257418] CPU: 0 PID: 6114 Comm: syz-executor027 Not tainted 4.20.0-rc6+ #150 [ 41.264842] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.274174] Call Trace: [ 41.276752] dump_stack+0x244/0x39d [ 41.280371] ? dump_stack_print_info.cold.1+0x20/0x20 [ 41.285547] ? printk+0xa7/0xcf [ 41.288830] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 41.293654] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 41.298750] print_address_description.cold.7+0x9/0x1ff [ 41.304098] kasan_report.cold.8+0x242/0x309 [ 41.308496] ? tipc_group_bc_cong+0x327/0x3f0 [ 41.312977] __asan_report_load2_noabort+0x14/0x20 [ 41.317892] tipc_group_bc_cong+0x327/0x3f0 [ 41.322198] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 41.327601] ? tipc_group_cong+0x5d0/0x5d0 [ 41.331831] ? remove_wait_queue+0x1a6/0x360 [ 41.336227] ? add_wait_queue+0x2b0/0x2b0 [ 41.340361] ? __local_bh_enable_ip+0x160/0x260 [ 41.345022] tipc_send_group_bcast+0x50a/0xd90 [ 41.349618] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 41.354634] ? __init_waitqueue_head+0x150/0x150 [ 41.359384] ? refill_pi_state_cache.part.8+0x310/0x310 [ 41.364740] ? mark_held_locks+0x130/0x130 [ 41.368962] ? futex_wait_setup+0x266/0x3e0 [ 41.373269] ? futex_wake+0x760/0x760 [ 41.377063] ? print_usage_bug+0xc0/0xc0 [ 41.381120] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 41.386299] __tipc_sendmsg+0xeec/0x1d40 [ 41.390344] ? futex_wait+0x5ec/0xa50 [ 41.394150] ? tipc_sendmcast+0xf50/0xf50 [ 41.398446] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 41.403623] ? zap_class+0x640/0x640 [ 41.407323] ? print_usage_bug+0xc0/0xc0 [ 41.411373] ? find_held_lock+0x36/0x1c0 [ 41.415426] ? find_held_lock+0x36/0x1c0 [ 41.419653] ? mark_held_locks+0xc7/0x130 [ 41.423784] ? __local_bh_enable_ip+0x160/0x260 [ 41.428439] ? __local_bh_enable_ip+0x160/0x260 [ 41.433096] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 41.437674] ? trace_hardirqs_on+0xbd/0x310 [ 41.441981] ? lock_release+0xa00/0xa00 [ 41.445946] ? lock_sock_nested+0xe2/0x120 [ 41.450165] ? trace_hardirqs_off_caller+0x310/0x310 [ 41.455256] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.460786] ? check_preemption_disabled+0x48/0x280 [ 41.465791] ? lock_sock_nested+0x9a/0x120 [ 41.470013] ? lock_sock_nested+0x9a/0x120 [ 41.474235] ? __local_bh_enable_ip+0x160/0x260 [ 41.478893] tipc_sendmsg+0x50/0x70 [ 41.482506] ? __tipc_sendmsg+0x1d40/0x1d40 [ 41.486816] sock_sendmsg+0xd5/0x120 [ 41.490517] ___sys_sendmsg+0x7fd/0x930 [ 41.494487] ? find_held_lock+0x36/0x1c0 [ 41.498545] ? copy_msghdr_from_user+0x580/0x580 [ 41.503287] ? __fd_install+0x2b5/0x8f0 [ 41.507258] ? check_preemption_disabled+0x48/0x280 [ 41.512265] ? __fget_light+0x2e9/0x430 [ 41.516246] ? fget_raw+0x20/0x20 [ 41.519689] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 41.525209] ? __fd_install+0x2f9/0x8f0 [ 41.529168] ? get_unused_fd_flags+0x1a0/0x1a0 [ 41.533739] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 41.539283] ? sockfd_lookup_light+0xc5/0x160 [ 41.543782] __sys_sendmsg+0x11d/0x280 [ 41.547654] ? __ia32_sys_shutdown+0x80/0x80 [ 41.552052] ? __x64_sys_futex+0x47f/0x6a0 [ 41.556431] ? do_syscall_64+0x9a/0x820 [ 41.560389] ? do_syscall_64+0x9a/0x820 [ 41.564352] ? trace_hardirqs_off_caller+0x310/0x310 [ 41.569440] __x64_sys_sendmsg+0x78/0xb0 [ 41.573490] do_syscall_64+0x1b9/0x820 [ 41.577364] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 41.582726] ? syscall_return_slowpath+0x5e0/0x5e0 [ 41.587652] ? trace_hardirqs_on_caller+0x310/0x310 [ 41.592661] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 41.597668] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 41.604315] ? __switch_to_asm+0x40/0x70 [ 41.608359] ? __switch_to_asm+0x34/0x70 [ 41.612406] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 41.617236] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 41.622405] RIP: 0033:0x446389 [ 41.625663] 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 [ 41.644570] RSP: 002b:00007f62f7651db8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 41.652262] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 41.659615] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 41.666869] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 41.674136] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 41.681393] R13: 00007ffd53912fef R14: 00007f62f76529c0 R15: 00000000006dad2c [ 41.688654] [ 41.690275] Allocated by task 6115: [ 41.693937] save_stack+0x43/0xd0 [ 41.697381] kasan_kmalloc+0xc7/0xe0 [ 41.701238] kmem_cache_alloc_trace+0x152/0x750 [ 41.705896] tipc_group_create+0x152/0xa70 [ 41.710122] tipc_setsockopt+0x2d1/0xd70 [ 41.714167] __sys_setsockopt+0x1ba/0x3c0 [ 41.718302] __x64_sys_setsockopt+0xbe/0x150 [ 41.722692] do_syscall_64+0x1b9/0x820 [ 41.726574] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 41.731742] [ 41.733353] Freed by task 6115: [ 41.736620] save_stack+0x43/0xd0 [ 41.740054] __kasan_slab_free+0x102/0x150 [ 41.744273] kasan_slab_free+0xe/0x10 [ 41.748056] kfree+0xcf/0x230 [ 41.751157] tipc_group_delete+0x2e4/0x3f0 [ 41.755392] tipc_sk_leave+0x113/0x220 [ 41.759262] tipc_setsockopt+0x97d/0xd70 [ 41.763306] __sys_setsockopt+0x1ba/0x3c0 [ 41.767435] __x64_sys_setsockopt+0xbe/0x150 [ 41.771845] do_syscall_64+0x1b9/0x820 [ 41.775722] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 41.780886] [ 41.782503] The buggy address belongs to the object at ffff8881ba076e00 [ 41.782503] which belongs to the cache kmalloc-192 of size 192 [ 41.795147] The buggy address is located 116 bytes inside of [ 41.795147] 192-byte region [ffff8881ba076e00, ffff8881ba076ec0) [ 41.807004] The buggy address belongs to the page: [ 41.811926] page:ffffea0006e81d80 count:1 mapcount:0 mapping:ffff8881da800040 index:0x0 [ 41.820052] flags: 0x2fffc0000000200(slab) [ 41.824270] raw: 02fffc0000000200 ffffea0006e871c8 ffff8881da801148 ffff8881da800040 [ 41.832136] raw: 0000000000000000 ffff8881ba076000 0000000100000010 0000000000000000 [ 41.840003] page dumped because: kasan: bad access detected [ 41.845690] [ 41.847307] Memory state around the buggy address: [ 41.852218] ffff8881ba076d00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.859559] ffff8881ba076d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 41.867162] >ffff8881ba076e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.874501] ^ [ 41.881503] ffff8881ba076e80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 41.888853] ffff8881ba076f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 41.896197] ================================================================== [ 41.903548] Disabling lock debugging due to kernel taint [ 41.909641] Kernel panic - not syncing: panic_on_warn set ... [ 41.915526] CPU: 0 PID: 6114 Comm: syz-executor027 Tainted: G B 4.20.0-rc6+ #150 [ 41.924340] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.933674] Call Trace: [ 41.936370] dump_stack+0x244/0x39d [ 41.939985] ? dump_stack_print_info.cold.1+0x20/0x20 [ 41.945161] panic+0x2ad/0x55c [ 41.948348] ? add_taint.cold.5+0x16/0x16 [ 41.952596] ? preempt_schedule+0x4d/0x60 [ 41.956729] ? ___preempt_schedule+0x16/0x18 [ 41.961117] ? trace_hardirqs_on+0xb4/0x310 [ 41.965423] kasan_end_report+0x47/0x4f [ 41.969375] kasan_report.cold.8+0x76/0x309 [ 41.973732] ? tipc_group_bc_cong+0x327/0x3f0 [ 41.978220] __asan_report_load2_noabort+0x14/0x20 [ 41.983138] tipc_group_bc_cong+0x327/0x3f0 [ 41.987446] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 41.992534] ? tipc_group_cong+0x5d0/0x5d0 [ 41.996756] ? remove_wait_queue+0x1a6/0x360 [ 42.001157] ? add_wait_queue+0x2b0/0x2b0 [ 42.005302] ? __local_bh_enable_ip+0x160/0x260 [ 42.009960] tipc_send_group_bcast+0x50a/0xd90 [ 42.014532] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 42.019537] ? __init_waitqueue_head+0x150/0x150 [ 42.024285] ? refill_pi_state_cache.part.8+0x310/0x310 [ 42.029634] ? mark_held_locks+0x130/0x130 [ 42.033945] ? futex_wait_setup+0x266/0x3e0 [ 42.038261] ? futex_wake+0x760/0x760 [ 42.042044] ? print_usage_bug+0xc0/0xc0 [ 42.046094] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 42.051277] __tipc_sendmsg+0xeec/0x1d40 [ 42.055328] ? futex_wait+0x5ec/0xa50 [ 42.059111] ? tipc_sendmcast+0xf50/0xf50 [ 42.063252] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 42.068428] ? zap_class+0x640/0x640 [ 42.072129] ? print_usage_bug+0xc0/0xc0 [ 42.076178] ? find_held_lock+0x36/0x1c0 [ 42.080226] ? find_held_lock+0x36/0x1c0 [ 42.084270] ? mark_held_locks+0xc7/0x130 [ 42.088399] ? __local_bh_enable_ip+0x160/0x260 [ 42.093053] ? __local_bh_enable_ip+0x160/0x260 [ 42.097701] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 42.102264] ? trace_hardirqs_on+0xbd/0x310 [ 42.106567] ? lock_release+0xa00/0xa00 [ 42.110662] ? lock_sock_nested+0xe2/0x120 [ 42.114913] ? trace_hardirqs_off_caller+0x310/0x310 [ 42.120014] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.125538] ? check_preemption_disabled+0x48/0x280 [ 42.130539] ? lock_sock_nested+0x9a/0x120 [ 42.134757] ? lock_sock_nested+0x9a/0x120 [ 42.139085] ? __local_bh_enable_ip+0x160/0x260 [ 42.143792] tipc_sendmsg+0x50/0x70 [ 42.147405] ? __tipc_sendmsg+0x1d40/0x1d40 [ 42.151712] sock_sendmsg+0xd5/0x120 [ 42.155404] ___sys_sendmsg+0x7fd/0x930 [ 42.159462] ? find_held_lock+0x36/0x1c0 [ 42.163658] ? copy_msghdr_from_user+0x580/0x580 [ 42.168407] ? __fd_install+0x2b5/0x8f0 [ 42.172397] ? check_preemption_disabled+0x48/0x280 [ 42.177540] ? __fget_light+0x2e9/0x430 [ 42.181610] ? fget_raw+0x20/0x20 [ 42.185054] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 42.190581] ? __fd_install+0x2f9/0x8f0 [ 42.194546] ? get_unused_fd_flags+0x1a0/0x1a0 [ 42.199116] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 42.204635] ? sockfd_lookup_light+0xc5/0x160 [ 42.209125] __sys_sendmsg+0x11d/0x280 [ 42.213009] ? __ia32_sys_shutdown+0x80/0x80 [ 42.217400] ? __x64_sys_futex+0x47f/0x6a0 [ 42.221677] ? do_syscall_64+0x9a/0x820 [ 42.225639] ? do_syscall_64+0x9a/0x820 [ 42.229928] ? trace_hardirqs_off_caller+0x310/0x310 [ 42.235038] __x64_sys_sendmsg+0x78/0xb0 [ 42.239080] do_syscall_64+0x1b9/0x820 [ 42.242957] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 42.248303] ? syscall_return_slowpath+0x5e0/0x5e0 [ 42.253217] ? trace_hardirqs_on_caller+0x310/0x310 [ 42.258215] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 42.263215] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 42.270034] ? __switch_to_asm+0x40/0x70 [ 42.274085] ? __switch_to_asm+0x34/0x70 [ 42.278132] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.282962] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.288131] RIP: 0033:0x446389 [ 42.291317] 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 [ 42.310200] RSP: 002b:00007f62f7651db8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 42.317894] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 42.325241] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 42.332493] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 42.339752] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 42.347014] R13: 00007ffd53912fef R14: 00007f62f76529c0 R15: 00000000006dad2c [ 42.355448] Kernel Offset: disabled [ 42.359073] Rebooting in 86400 seconds..