[info] Using makefile-style concurrent boot in runlevel 2. [ 26.828572] audit: type=1800 audit(1544976045.375:21): pid=5961 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.863191] audit: type=1800 audit(1544976045.375:22): pid=5961 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.60' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 51.902820] ================================================================== [ 51.910329] BUG: KASAN: use-after-free in tipc_group_bc_cong+0x327/0x3f0 [ 51.917251] Read of size 2 at addr ffff8881d940c574 by task syz-executor961/6123 [ 51.924772] [ 51.926391] CPU: 1 PID: 6123 Comm: syz-executor961 Not tainted 4.20.0-rc6+ #374 [ 51.933822] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.943163] Call Trace: [ 51.945748] dump_stack+0x244/0x39d [ 51.949367] ? dump_stack_print_info.cold.1+0x20/0x20 [ 51.954541] ? printk+0xa7/0xcf [ 51.957802] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 51.962540] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 51.967665] print_address_description.cold.7+0x9/0x1ff [ 51.973011] kasan_report.cold.8+0x242/0x309 [ 51.977407] ? tipc_group_bc_cong+0x327/0x3f0 [ 51.981900] __asan_report_load2_noabort+0x14/0x20 [ 51.986815] tipc_group_bc_cong+0x327/0x3f0 [ 51.991211] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 51.996306] ? tipc_group_cong+0x5d0/0x5d0 [ 52.000527] ? remove_wait_queue+0x1a6/0x360 [ 52.004923] ? add_wait_queue+0x2b0/0x2b0 [ 52.009054] ? __local_bh_enable_ip+0x160/0x260 [ 52.013710] tipc_send_group_bcast+0x50a/0xd90 [ 52.018299] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 52.023315] ? __init_waitqueue_head+0x150/0x150 [ 52.028066] ? refill_pi_state_cache.part.8+0x310/0x310 [ 52.033423] ? mark_held_locks+0x130/0x130 [ 52.037797] ? futex_wait_setup+0x266/0x3e0 [ 52.042111] ? futex_wake+0x760/0x760 [ 52.045895] ? print_usage_bug+0xc0/0xc0 [ 52.049942] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 52.055119] __tipc_sendmsg+0xeec/0x1d40 [ 52.059165] ? futex_wait+0x5ec/0xa50 [ 52.062964] ? tipc_sendmcast+0xf50/0xf50 [ 52.067096] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 52.072289] ? zap_class+0x640/0x640 [ 52.076134] ? print_usage_bug+0xc0/0xc0 [ 52.080193] ? find_held_lock+0x36/0x1c0 [ 52.084275] ? mark_held_locks+0xc7/0x130 [ 52.088419] ? __local_bh_enable_ip+0x160/0x260 [ 52.093082] ? __local_bh_enable_ip+0x160/0x260 [ 52.097738] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 52.102309] ? trace_hardirqs_on+0xbd/0x310 [ 52.106665] ? lock_release+0xa00/0xa00 [ 52.110643] ? lock_sock_nested+0xe2/0x120 [ 52.114874] ? trace_hardirqs_off_caller+0x310/0x310 [ 52.119963] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.125485] ? check_preemption_disabled+0x48/0x280 [ 52.130492] ? lock_sock_nested+0x9a/0x120 [ 52.134719] ? lock_sock_nested+0x9a/0x120 [ 52.138943] ? __local_bh_enable_ip+0x160/0x260 [ 52.143602] tipc_sendmsg+0x50/0x70 [ 52.147226] ? __tipc_sendmsg+0x1d40/0x1d40 [ 52.151539] sock_sendmsg+0xd5/0x120 [ 52.155238] ___sys_sendmsg+0x7fd/0x930 [ 52.159201] ? find_held_lock+0x36/0x1c0 [ 52.163252] ? copy_msghdr_from_user+0x580/0x580 [ 52.168133] ? __fd_install+0x2b5/0x8f0 [ 52.172105] ? check_preemption_disabled+0x48/0x280 [ 52.177114] ? __fget_light+0x2e9/0x430 [ 52.181076] ? fget_raw+0x20/0x20 [ 52.184524] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.190182] ? __fd_install+0x2f9/0x8f0 [ 52.194186] ? get_unused_fd_flags+0x1a0/0x1a0 [ 52.198766] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 52.204297] ? sockfd_lookup_light+0xc5/0x160 [ 52.208782] __sys_sendmsg+0x11d/0x280 [ 52.212667] ? __ia32_sys_shutdown+0x80/0x80 [ 52.217073] ? __x64_sys_futex+0x47f/0x6a0 [ 52.221297] ? do_syscall_64+0x9a/0x820 [ 52.225307] ? do_syscall_64+0x9a/0x820 [ 52.229290] ? trace_hardirqs_off_caller+0x310/0x310 [ 52.234389] __x64_sys_sendmsg+0x78/0xb0 [ 52.238438] do_syscall_64+0x1b9/0x820 [ 52.242379] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 52.247796] ? syscall_return_slowpath+0x5e0/0x5e0 [ 52.252723] ? trace_hardirqs_on_caller+0x310/0x310 [ 52.257734] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 52.262750] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 52.269406] ? __switch_to_asm+0x40/0x70 [ 52.273453] ? __switch_to_asm+0x34/0x70 [ 52.277546] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 52.282393] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.287567] RIP: 0033:0x446389 [ 52.290747] 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 [ 52.309728] RSP: 002b:00007f9baf237db8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 52.317427] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 52.324784] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 52.332053] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 52.339310] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 52.346566] R13: 00007ffe02f7b99f R14: 00007f9baf2389c0 R15: 00000000006dad2c [ 52.353833] [ 52.355448] Allocated by task 6124: [ 52.359162] save_stack+0x43/0xd0 [ 52.362612] kasan_kmalloc+0xc7/0xe0 [ 52.366317] kmem_cache_alloc_trace+0x152/0x750 [ 52.370973] tipc_group_create+0x152/0xa70 [ 52.375194] tipc_setsockopt+0x2d1/0xd70 [ 52.379242] __sys_setsockopt+0x1ba/0x3c0 [ 52.383375] __x64_sys_setsockopt+0xbe/0x150 [ 52.387771] do_syscall_64+0x1b9/0x820 [ 52.391645] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.396811] [ 52.398421] Freed by task 6124: [ 52.401850] save_stack+0x43/0xd0 [ 52.405298] __kasan_slab_free+0x102/0x150 [ 52.409747] kasan_slab_free+0xe/0x10 [ 52.413544] kfree+0xcf/0x230 [ 52.416641] tipc_group_delete+0x2e4/0x3f0 [ 52.420860] tipc_sk_leave+0x113/0x220 [ 52.424731] tipc_setsockopt+0x97d/0xd70 [ 52.428782] __sys_setsockopt+0x1ba/0x3c0 [ 52.432914] __x64_sys_setsockopt+0xbe/0x150 [ 52.437306] do_syscall_64+0x1b9/0x820 [ 52.441185] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.446355] [ 52.447970] The buggy address belongs to the object at ffff8881d940c500 [ 52.447970] which belongs to the cache kmalloc-192 of size 192 [ 52.460619] The buggy address is located 116 bytes inside of [ 52.460619] 192-byte region [ffff8881d940c500, ffff8881d940c5c0) [ 52.472480] The buggy address belongs to the page: [ 52.477400] page:ffffea0007650300 count:1 mapcount:0 mapping:ffff8881da800040 index:0x0 [ 52.485526] flags: 0x2fffc0000000200(slab) [ 52.489747] raw: 02fffc0000000200 ffffea0007650088 ffffea00075db088 ffff8881da800040 [ 52.497620] raw: 0000000000000000 ffff8881d940c000 0000000100000010 0000000000000000 [ 52.505477] page dumped because: kasan: bad access detected [ 52.511167] [ 52.512775] Memory state around the buggy address: [ 52.517687] ffff8881d940c400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.525185] ffff8881d940c480: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 52.532551] >ffff8881d940c500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.539890] ^ [ 52.547014] ffff8881d940c580: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 52.554360] ffff8881d940c600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 52.561714] ================================================================== [ 52.569060] Disabling lock debugging due to kernel taint [ 52.575165] Kernel panic - not syncing: panic_on_warn set ... [ 52.581057] CPU: 1 PID: 6123 Comm: syz-executor961 Tainted: G B 4.20.0-rc6+ #374 [ 52.589871] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.599204] Call Trace: [ 52.601783] dump_stack+0x244/0x39d [ 52.605395] ? dump_stack_print_info.cold.1+0x20/0x20 [ 52.610653] panic+0x2ad/0x55c [ 52.613839] ? add_taint.cold.5+0x16/0x16 [ 52.617972] ? preempt_schedule+0x4d/0x60 [ 52.622111] ? ___preempt_schedule+0x16/0x18 [ 52.626508] ? trace_hardirqs_on+0xb4/0x310 [ 52.630818] kasan_end_report+0x47/0x4f [ 52.634772] kasan_report.cold.8+0x76/0x309 [ 52.639163] ? tipc_group_bc_cong+0x327/0x3f0 [ 52.643649] __asan_report_load2_noabort+0x14/0x20 [ 52.648568] tipc_group_bc_cong+0x327/0x3f0 [ 52.652888] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 52.657976] ? tipc_group_cong+0x5d0/0x5d0 [ 52.662246] ? remove_wait_queue+0x1a6/0x360 [ 52.666701] ? add_wait_queue+0x2b0/0x2b0 [ 52.670858] ? __local_bh_enable_ip+0x160/0x260 [ 52.675514] tipc_send_group_bcast+0x50a/0xd90 [ 52.680087] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 52.685089] ? __init_waitqueue_head+0x150/0x150 [ 52.689828] ? refill_pi_state_cache.part.8+0x310/0x310 [ 52.695189] ? mark_held_locks+0x130/0x130 [ 52.699410] ? futex_wait_setup+0x266/0x3e0 [ 52.703724] ? futex_wake+0x760/0x760 [ 52.707509] ? print_usage_bug+0xc0/0xc0 [ 52.711554] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 52.716736] __tipc_sendmsg+0xeec/0x1d40 [ 52.720781] ? futex_wait+0x5ec/0xa50 [ 52.724570] ? tipc_sendmcast+0xf50/0xf50 [ 52.728707] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 52.733880] ? zap_class+0x640/0x640 [ 52.737589] ? print_usage_bug+0xc0/0xc0 [ 52.741640] ? find_held_lock+0x36/0x1c0 [ 52.745691] ? mark_held_locks+0xc7/0x130 [ 52.749822] ? __local_bh_enable_ip+0x160/0x260 [ 52.754626] ? __local_bh_enable_ip+0x160/0x260 [ 52.759290] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 52.763865] ? trace_hardirqs_on+0xbd/0x310 [ 52.768181] ? lock_release+0xa00/0xa00 [ 52.772149] ? lock_sock_nested+0xe2/0x120 [ 52.776369] ? trace_hardirqs_off_caller+0x310/0x310 [ 52.781460] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.787242] ? check_preemption_disabled+0x48/0x280 [ 52.792240] ? lock_sock_nested+0x9a/0x120 [ 52.796465] ? lock_sock_nested+0x9a/0x120 [ 52.800685] ? __local_bh_enable_ip+0x160/0x260 [ 52.805347] tipc_sendmsg+0x50/0x70 [ 52.808960] ? __tipc_sendmsg+0x1d40/0x1d40 [ 52.813269] sock_sendmsg+0xd5/0x120 [ 52.816974] ___sys_sendmsg+0x7fd/0x930 [ 52.820937] ? find_held_lock+0x36/0x1c0 [ 52.824986] ? copy_msghdr_from_user+0x580/0x580 [ 52.829728] ? __fd_install+0x2b5/0x8f0 [ 52.833692] ? check_preemption_disabled+0x48/0x280 [ 52.838696] ? __fget_light+0x2e9/0x430 [ 52.842651] ? fget_raw+0x20/0x20 [ 52.846094] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.851617] ? __fd_install+0x2f9/0x8f0 [ 52.855572] ? get_unused_fd_flags+0x1a0/0x1a0 [ 52.860154] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 52.865689] ? sockfd_lookup_light+0xc5/0x160 [ 52.870172] __sys_sendmsg+0x11d/0x280 [ 52.874045] ? __ia32_sys_shutdown+0x80/0x80 [ 52.878514] ? __x64_sys_futex+0x47f/0x6a0 [ 52.882752] ? do_syscall_64+0x9a/0x820 [ 52.886714] ? do_syscall_64+0x9a/0x820 [ 52.890680] ? trace_hardirqs_off_caller+0x310/0x310 [ 52.895774] __x64_sys_sendmsg+0x78/0xb0 [ 52.899821] do_syscall_64+0x1b9/0x820 [ 52.903697] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 52.909046] ? syscall_return_slowpath+0x5e0/0x5e0 [ 52.913966] ? trace_hardirqs_on_caller+0x310/0x310 [ 52.919117] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 52.924124] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 52.930774] ? __switch_to_asm+0x40/0x70 [ 52.934815] ? __switch_to_asm+0x34/0x70 [ 52.938860] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 52.943687] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.948859] RIP: 0033:0x446389 [ 52.952035] 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 [ 52.970921] RSP: 002b:00007f9baf237db8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 52.978626] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 52.985877] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 52.993129] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 53.000385] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 53.007641] R13: 00007ffe02f7b99f R14: 00007f9baf2389c0 R15: 00000000006dad2c [ 53.015959] Kernel Offset: disabled [ 53.019587] Rebooting in 86400 seconds..