[info] Using makefile-style concurrent boot in runlevel 2. [ 26.998560] audit: type=1800 audit(1544600248.844:21): pid=5838 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.112' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 53.176169] ================================================================== [ 53.183814] BUG: KASAN: use-after-free in tipc_group_bc_cong+0x327/0x3f0 [ 53.190684] Read of size 2 at addr ffff8881d87abb74 by task syz-executor993/5998 [ 53.198211] [ 53.199825] CPU: 0 PID: 5998 Comm: syz-executor993 Not tainted 4.20.0-rc6+ #371 [ 53.207251] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.216583] Call Trace: [ 53.219155] dump_stack+0x244/0x39d [ 53.222773] ? dump_stack_print_info.cold.1+0x20/0x20 [ 53.227946] ? printk+0xa7/0xcf [ 53.231217] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 53.236059] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 53.241171] print_address_description.cold.7+0x9/0x1ff [ 53.246535] kasan_report.cold.8+0x242/0x309 [ 53.250935] ? tipc_group_bc_cong+0x327/0x3f0 [ 53.255434] __asan_report_load2_noabort+0x14/0x20 [ 53.260346] tipc_group_bc_cong+0x327/0x3f0 [ 53.264651] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 53.269738] ? tipc_group_cong+0x5d0/0x5d0 [ 53.273955] ? remove_wait_queue+0x1a6/0x360 [ 53.278364] ? add_wait_queue+0x2b0/0x2b0 [ 53.282500] ? __local_bh_enable_ip+0x160/0x260 [ 53.287172] tipc_send_group_bcast+0x50a/0xd90 [ 53.291753] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 53.296761] ? __init_waitqueue_head+0x150/0x150 [ 53.301529] ? refill_pi_state_cache.part.8+0x310/0x310 [ 53.306896] ? mark_held_locks+0x130/0x130 [ 53.311112] ? futex_wait_setup+0x266/0x3e0 [ 53.315437] ? futex_wake+0x760/0x760 [ 53.319284] ? print_usage_bug+0xc0/0xc0 [ 53.323380] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 53.328559] __tipc_sendmsg+0xeec/0x1d40 [ 53.332606] ? futex_wait+0x5ec/0xa50 [ 53.336393] ? tipc_sendmcast+0xf50/0xf50 [ 53.340526] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 53.345704] ? zap_class+0x640/0x640 [ 53.349413] ? print_usage_bug+0xc0/0xc0 [ 53.353487] ? find_held_lock+0x36/0x1c0 [ 53.357547] ? mark_held_locks+0xc7/0x130 [ 53.361678] ? __local_bh_enable_ip+0x160/0x260 [ 53.366331] ? __local_bh_enable_ip+0x160/0x260 [ 53.370983] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 53.375568] ? trace_hardirqs_on+0xbd/0x310 [ 53.379886] ? lock_release+0xa00/0xa00 [ 53.383867] ? lock_sock_nested+0xe2/0x120 [ 53.388084] ? trace_hardirqs_off_caller+0x310/0x310 [ 53.393188] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.398718] ? check_preemption_disabled+0x48/0x280 [ 53.403723] ? lock_sock_nested+0x9a/0x120 [ 53.407940] ? lock_sock_nested+0x9a/0x120 [ 53.412159] ? __local_bh_enable_ip+0x160/0x260 [ 53.416818] tipc_sendmsg+0x50/0x70 [ 53.420426] ? __tipc_sendmsg+0x1d40/0x1d40 [ 53.424729] sock_sendmsg+0xd5/0x120 [ 53.428425] ___sys_sendmsg+0x7fd/0x930 [ 53.432384] ? find_held_lock+0x36/0x1c0 [ 53.436430] ? copy_msghdr_from_user+0x580/0x580 [ 53.441168] ? __fd_install+0x2b5/0x8f0 [ 53.445142] ? check_preemption_disabled+0x48/0x280 [ 53.450144] ? __fget_light+0x2e9/0x430 [ 53.454101] ? fget_raw+0x20/0x20 [ 53.457538] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.463057] ? __fd_install+0x2f9/0x8f0 [ 53.467018] ? get_unused_fd_flags+0x1a0/0x1a0 [ 53.471591] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 53.477110] ? sockfd_lookup_light+0xc5/0x160 [ 53.481607] __sys_sendmsg+0x11d/0x280 [ 53.485488] ? __ia32_sys_shutdown+0x80/0x80 [ 53.489888] ? __x64_sys_futex+0x47f/0x6a0 [ 53.494130] ? do_syscall_64+0x9a/0x820 [ 53.498102] ? do_syscall_64+0x9a/0x820 [ 53.502083] ? trace_hardirqs_off_caller+0x310/0x310 [ 53.507185] __x64_sys_sendmsg+0x78/0xb0 [ 53.511229] do_syscall_64+0x1b9/0x820 [ 53.515101] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 53.520447] ? syscall_return_slowpath+0x5e0/0x5e0 [ 53.525374] ? trace_hardirqs_on_caller+0x310/0x310 [ 53.530374] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 53.535375] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 53.542034] ? __switch_to_asm+0x40/0x70 [ 53.546076] ? __switch_to_asm+0x34/0x70 [ 53.550126] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 53.554958] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.560149] RIP: 0033:0x446389 [ 53.563332] 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.582219] RSP: 002b:00007f56f7bc6db8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 53.589952] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 53.597210] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 53.604666] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 53.611937] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 53.619186] R13: 00007ffddc60056f R14: 00007f56f7bc79c0 R15: 00000000006dad2c [ 53.626441] [ 53.628046] Allocated by task 5999: [ 53.631655] save_stack+0x43/0xd0 [ 53.635092] kasan_kmalloc+0xc7/0xe0 [ 53.638786] kmem_cache_alloc_trace+0x152/0x750 [ 53.643438] tipc_group_create+0x152/0xa70 [ 53.647653] tipc_setsockopt+0x2d1/0xd70 [ 53.651696] __sys_setsockopt+0x1ba/0x3c0 [ 53.655825] __x64_sys_setsockopt+0xbe/0x150 [ 53.660216] do_syscall_64+0x1b9/0x820 [ 53.664086] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.669268] [ 53.670893] Freed by task 5999: [ 53.674170] save_stack+0x43/0xd0 [ 53.677606] __kasan_slab_free+0x102/0x150 [ 53.681827] kasan_slab_free+0xe/0x10 [ 53.685612] kfree+0xcf/0x230 [ 53.688774] tipc_group_delete+0x2e4/0x3f0 [ 53.692999] tipc_sk_leave+0x113/0x220 [ 53.696870] tipc_setsockopt+0x97d/0xd70 [ 53.700916] __sys_setsockopt+0x1ba/0x3c0 [ 53.705049] __x64_sys_setsockopt+0xbe/0x150 [ 53.709445] do_syscall_64+0x1b9/0x820 [ 53.713314] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 53.718490] [ 53.720110] The buggy address belongs to the object at ffff8881d87abb00 [ 53.720110] which belongs to the cache kmalloc-192 of size 192 [ 53.733057] The buggy address is located 116 bytes inside of [ 53.733057] 192-byte region [ffff8881d87abb00, ffff8881d87abbc0) [ 53.744949] The buggy address belongs to the page: [ 53.749883] page:ffffea000761eac0 count:1 mapcount:0 mapping:ffff8881da800040 index:0x0 [ 53.758012] flags: 0x2fffc0000000200(slab) [ 53.762234] raw: 02fffc0000000200 ffffea000717bcc8 ffffea000761de08 ffff8881da800040 [ 53.770104] raw: 0000000000000000 ffff8881d87ab000 0000000100000010 0000000000000000 [ 53.777968] page dumped because: kasan: bad access detected [ 53.783663] [ 53.785271] Memory state around the buggy address: [ 53.790186] ffff8881d87aba00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.797545] ffff8881d87aba80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 53.804897] >ffff8881d87abb00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.812340] ^ [ 53.819355] ffff8881d87abb80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 53.826707] ffff8881d87abc00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 53.834050] ================================================================== [ 53.841390] Disabling lock debugging due to kernel taint [ 53.847065] Kernel panic - not syncing: panic_on_warn set ... [ 53.852954] CPU: 0 PID: 5998 Comm: syz-executor993 Tainted: G B 4.20.0-rc6+ #371 [ 53.861775] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 53.871213] Call Trace: [ 53.873796] dump_stack+0x244/0x39d [ 53.877412] ? dump_stack_print_info.cold.1+0x20/0x20 [ 53.882598] panic+0x2ad/0x55c [ 53.885782] ? add_taint.cold.5+0x16/0x16 [ 53.889930] ? preempt_schedule+0x4d/0x60 [ 53.894076] ? ___preempt_schedule+0x16/0x18 [ 53.898478] ? trace_hardirqs_on+0xb4/0x310 [ 53.902799] kasan_end_report+0x47/0x4f [ 53.906763] kasan_report.cold.8+0x76/0x309 [ 53.911070] ? tipc_group_bc_cong+0x327/0x3f0 [ 53.915557] __asan_report_load2_noabort+0x14/0x20 [ 53.920479] tipc_group_bc_cong+0x327/0x3f0 [ 53.924795] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 53.929887] ? tipc_group_cong+0x5d0/0x5d0 [ 53.934110] ? remove_wait_queue+0x1a6/0x360 [ 53.938515] ? add_wait_queue+0x2b0/0x2b0 [ 53.942647] ? __local_bh_enable_ip+0x160/0x260 [ 53.947309] tipc_send_group_bcast+0x50a/0xd90 [ 53.951895] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 53.956901] ? __init_waitqueue_head+0x150/0x150 [ 53.961648] ? refill_pi_state_cache.part.8+0x310/0x310 [ 53.967003] ? mark_held_locks+0x130/0x130 [ 53.971225] ? futex_wait_setup+0x266/0x3e0 [ 53.975551] ? futex_wake+0x760/0x760 [ 53.979345] ? print_usage_bug+0xc0/0xc0 [ 53.983411] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 53.988592] __tipc_sendmsg+0xeec/0x1d40 [ 53.992640] ? futex_wait+0x5ec/0xa50 [ 53.996549] ? tipc_sendmcast+0xf50/0xf50 [ 54.000692] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 54.005947] ? zap_class+0x640/0x640 [ 54.009653] ? print_usage_bug+0xc0/0xc0 [ 54.013813] ? find_held_lock+0x36/0x1c0 [ 54.017875] ? mark_held_locks+0xc7/0x130 [ 54.022008] ? __local_bh_enable_ip+0x160/0x260 [ 54.026659] ? __local_bh_enable_ip+0x160/0x260 [ 54.031316] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 54.035884] ? trace_hardirqs_on+0xbd/0x310 [ 54.040209] ? lock_release+0xa00/0xa00 [ 54.044179] ? lock_sock_nested+0xe2/0x120 [ 54.048400] ? trace_hardirqs_off_caller+0x310/0x310 [ 54.053497] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 54.059023] ? check_preemption_disabled+0x48/0x280 [ 54.064025] ? lock_sock_nested+0x9a/0x120 [ 54.068247] ? lock_sock_nested+0x9a/0x120 [ 54.072467] ? __local_bh_enable_ip+0x160/0x260 [ 54.077141] tipc_sendmsg+0x50/0x70 [ 54.080754] ? __tipc_sendmsg+0x1d40/0x1d40 [ 54.085146] sock_sendmsg+0xd5/0x120 [ 54.088851] ___sys_sendmsg+0x7fd/0x930 [ 54.092816] ? find_held_lock+0x36/0x1c0 [ 54.096863] ? copy_msghdr_from_user+0x580/0x580 [ 54.101605] ? __fd_install+0x2b5/0x8f0 [ 54.105581] ? check_preemption_disabled+0x48/0x280 [ 54.110604] ? __fget_light+0x2e9/0x430 [ 54.114572] ? fget_raw+0x20/0x20 [ 54.118099] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 54.123630] ? __fd_install+0x2f9/0x8f0 [ 54.127601] ? get_unused_fd_flags+0x1a0/0x1a0 [ 54.132165] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 54.137703] ? sockfd_lookup_light+0xc5/0x160 [ 54.142181] __sys_sendmsg+0x11d/0x280 [ 54.146067] ? __ia32_sys_shutdown+0x80/0x80 [ 54.150529] ? __x64_sys_futex+0x47f/0x6a0 [ 54.154755] ? do_syscall_64+0x9a/0x820 [ 54.158729] ? do_syscall_64+0x9a/0x820 [ 54.162700] ? trace_hardirqs_off_caller+0x310/0x310 [ 54.167797] __x64_sys_sendmsg+0x78/0xb0 [ 54.171854] do_syscall_64+0x1b9/0x820 [ 54.175727] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 54.181183] ? syscall_return_slowpath+0x5e0/0x5e0 [ 54.186101] ? trace_hardirqs_on_caller+0x310/0x310 [ 54.191172] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 54.196191] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 54.202884] ? __switch_to_asm+0x40/0x70 [ 54.206934] ? __switch_to_asm+0x34/0x70 [ 54.210984] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 54.215819] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 54.220999] RIP: 0033:0x446389 [ 54.224235] 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.243464] RSP: 002b:00007f56f7bc6db8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 54.251164] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 54.258429] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 54.265684] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 54.273054] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 54.280317] R13: 00007ffddc60056f R14: 00007f56f7bc79c0 R15: 00000000006dad2c [ 54.288511] Kernel Offset: disabled [ 54.292134] Rebooting in 86400 seconds..