Starting mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 33.575581] kauditd_printk_skb: 9 callbacks suppressed [ 33.575594] audit: type=1800 audit(1544976013.770:33): pid=6034 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 33.607417] audit: type=1800 audit(1544976013.770:34): pid=6034 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 37.362187] audit: type=1400 audit(1544976017.550:35): avc: denied { map } for pid=6208 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added '10.128.0.92' (ECDSA) to the list of known hosts. executing program [ 58.086746] audit: type=1400 audit(1544976038.280:36): avc: denied { map } for pid=6222 comm="syz-executor042" path="/root/syz-executor042561343" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 executing program [ 58.656785] ================================================================== [ 58.664464] BUG: KASAN: use-after-free in tipc_group_bc_cong+0x327/0x3f0 [ 58.671304] Read of size 2 at addr ffff8881d7703074 by task syz-executor042/6230 [ 58.678830] [ 58.680537] CPU: 1 PID: 6230 Comm: syz-executor042 Not tainted 4.20.0-rc6+ #154 [ 58.688039] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.697397] Call Trace: [ 58.699980] dump_stack+0x244/0x39d [ 58.703598] ? dump_stack_print_info.cold.1+0x20/0x20 [ 58.708860] ? printk+0xa7/0xcf [ 58.712137] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 58.716885] ? _raw_spin_unlock_irqrestore+0x82/0xd0 [ 58.721986] print_address_description.cold.7+0x9/0x1ff [ 58.727347] kasan_report.cold.8+0x242/0x309 [ 58.731746] ? tipc_group_bc_cong+0x327/0x3f0 [ 58.736231] __asan_report_load2_noabort+0x14/0x20 [ 58.741152] tipc_group_bc_cong+0x327/0x3f0 [ 58.745465] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 58.750562] ? tipc_group_cong+0x5d0/0x5d0 [ 58.754788] ? remove_wait_queue+0x1a6/0x360 [ 58.759190] ? add_wait_queue+0x2b0/0x2b0 [ 58.763330] ? __local_bh_enable_ip+0x160/0x260 [ 58.767993] tipc_send_group_bcast+0x50a/0xd90 [ 58.772716] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 58.777729] ? __init_waitqueue_head+0x150/0x150 [ 58.782483] ? refill_pi_state_cache.part.8+0x310/0x310 [ 58.787845] ? mark_held_locks+0x130/0x130 [ 58.792069] ? avc_has_perm+0x469/0x7e0 [ 58.796033] ? lock_downgrade+0x900/0x900 [ 58.800169] ? check_preemption_disabled+0x48/0x280 [ 58.805209] __tipc_sendmsg+0xeec/0x1d40 [ 58.809404] ? rcu_softirq_qs+0x20/0x20 [ 58.813374] ? tipc_sendmcast+0xf50/0xf50 [ 58.817515] ? zap_class+0x640/0x640 [ 58.821214] ? print_usage_bug+0xc0/0xc0 [ 58.825261] ? find_held_lock+0x36/0x1c0 [ 58.829433] ? find_held_lock+0x36/0x1c0 [ 58.833487] ? mark_held_locks+0xc7/0x130 [ 58.837621] ? __local_bh_enable_ip+0x160/0x260 [ 58.842362] ? __local_bh_enable_ip+0x160/0x260 [ 58.847041] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 58.851613] ? trace_hardirqs_on+0xbd/0x310 [ 58.856027] ? lock_release+0xa00/0xa00 [ 58.859988] ? lock_sock_nested+0xe2/0x120 [ 58.864212] ? trace_hardirqs_off_caller+0x310/0x310 [ 58.869305] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.874835] ? check_preemption_disabled+0x48/0x280 [ 58.879894] ? lock_sock_nested+0x9a/0x120 [ 58.884136] ? lock_sock_nested+0x9a/0x120 [ 58.888470] ? __local_bh_enable_ip+0x160/0x260 [ 58.893138] tipc_sendmsg+0x50/0x70 [ 58.896752] ? __tipc_sendmsg+0x1d40/0x1d40 [ 58.901069] sock_sendmsg+0xd5/0x120 [ 58.904777] ___sys_sendmsg+0x7fd/0x930 [ 58.908738] ? find_held_lock+0x36/0x1c0 [ 58.912790] ? copy_msghdr_from_user+0x580/0x580 [ 58.917530] ? __fd_install+0x2b5/0x8f0 [ 58.921510] ? check_preemption_disabled+0x48/0x280 [ 58.926520] ? __fget_light+0x2e9/0x430 [ 58.930478] ? fget_raw+0x20/0x20 [ 58.933932] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 58.939454] ? __fd_install+0x2f9/0x8f0 [ 58.943419] ? get_unused_fd_flags+0x1a0/0x1a0 [ 58.948108] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 58.953637] ? sockfd_lookup_light+0xc5/0x160 [ 58.958124] __sys_sendmsg+0x11d/0x280 [ 58.962001] ? __ia32_sys_shutdown+0x80/0x80 [ 58.966406] ? __x64_sys_futex+0x47f/0x6a0 [ 58.970627] ? do_syscall_64+0x9a/0x820 [ 58.975473] ? do_syscall_64+0x9a/0x820 [ 58.979445] ? trace_hardirqs_off_caller+0x310/0x310 [ 58.984550] __x64_sys_sendmsg+0x78/0xb0 [ 58.988606] do_syscall_64+0x1b9/0x820 [ 58.992481] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 58.997836] ? syscall_return_slowpath+0x5e0/0x5e0 [ 59.002760] ? trace_hardirqs_on_caller+0x310/0x310 [ 59.007915] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 59.012944] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 59.019604] ? __switch_to_asm+0x40/0x70 [ 59.023656] ? __switch_to_asm+0x34/0x70 [ 59.027715] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 59.032553] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 59.037736] RIP: 0033:0x446389 [ 59.040992] 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 [ 59.059993] RSP: 002b:00007f55d009edb8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 59.067792] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 59.075065] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 59.082444] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 59.089729] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 59.096989] R13: 00007ffd47d5410f R14: 00007f55d009f9c0 R15: 00000000006dad2c [ 59.104260] [ 59.105876] Allocated by task 6231: [ 59.109490] save_stack+0x43/0xd0 [ 59.112964] kasan_kmalloc+0xc7/0xe0 [ 59.116677] kmem_cache_alloc_trace+0x152/0x750 [ 59.121329] tipc_group_create+0x152/0xa70 [ 59.125546] tipc_setsockopt+0x2d1/0xd70 [ 59.129589] __sys_setsockopt+0x1ba/0x3c0 [ 59.133719] __x64_sys_setsockopt+0xbe/0x150 [ 59.138116] do_syscall_64+0x1b9/0x820 [ 59.141987] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 59.147155] [ 59.148763] Freed by task 6231: [ 59.152030] save_stack+0x43/0xd0 [ 59.155481] __kasan_slab_free+0x102/0x150 [ 59.159711] kasan_slab_free+0xe/0x10 [ 59.163493] kfree+0xcf/0x230 [ 59.166713] tipc_group_delete+0x2e4/0x3f0 [ 59.170939] tipc_sk_leave+0x113/0x220 [ 59.174814] tipc_setsockopt+0x97d/0xd70 [ 59.178861] __sys_setsockopt+0x1ba/0x3c0 [ 59.183170] __x64_sys_setsockopt+0xbe/0x150 [ 59.187578] do_syscall_64+0x1b9/0x820 [ 59.191448] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 59.196613] [ 59.198225] The buggy address belongs to the object at ffff8881d7703000 [ 59.198225] which belongs to the cache kmalloc-192 of size 192 [ 59.210877] The buggy address is located 116 bytes inside of [ 59.210877] 192-byte region [ffff8881d7703000, ffff8881d77030c0) [ 59.222882] The buggy address belongs to the page: [ 59.227857] page:ffffea00075dc0c0 count:1 mapcount:0 mapping:ffff8881da800040 index:0x0 [ 59.235997] flags: 0x2fffc0000000200(slab) [ 59.240233] raw: 02fffc0000000200 ffffea00075df008 ffff8881da801148 ffff8881da800040 [ 59.248106] raw: 0000000000000000 ffff8881d7703000 0000000100000010 0000000000000000 [ 59.256022] page dumped because: kasan: bad access detected [ 59.261727] [ 59.263344] Memory state around the buggy address: [ 59.268257] ffff8881d7702f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 59.275602] ffff8881d7702f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 59.282957] >ffff8881d7703000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 59.290314] ^ [ 59.297356] ffff8881d7703080: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 59.304703] ffff8881d7703100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 59.312058] ================================================================== [ 59.319399] Disabling lock debugging due to kernel taint [ 59.325539] Kernel panic - not syncing: panic_on_warn set ... [ 59.331446] CPU: 1 PID: 6230 Comm: syz-executor042 Tainted: G B 4.20.0-rc6+ #154 [ 59.340277] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.349609] Call Trace: [ 59.352186] dump_stack+0x244/0x39d [ 59.355798] ? dump_stack_print_info.cold.1+0x20/0x20 [ 59.360982] panic+0x2ad/0x55c [ 59.364159] ? add_taint.cold.5+0x16/0x16 [ 59.368292] ? preempt_schedule+0x4d/0x60 [ 59.372433] ? ___preempt_schedule+0x16/0x18 [ 59.376829] ? trace_hardirqs_on+0xb4/0x310 [ 59.381142] kasan_end_report+0x47/0x4f [ 59.385111] kasan_report.cold.8+0x76/0x309 [ 59.389558] ? tipc_group_bc_cong+0x327/0x3f0 [ 59.394042] __asan_report_load2_noabort+0x14/0x20 [ 59.399029] tipc_group_bc_cong+0x327/0x3f0 [ 59.403340] ? _raw_spin_unlock_irqrestore+0x6d/0xd0 [ 59.408433] ? tipc_group_cong+0x5d0/0x5d0 [ 59.412688] ? remove_wait_queue+0x1a6/0x360 [ 59.417107] ? add_wait_queue+0x2b0/0x2b0 [ 59.421239] ? __local_bh_enable_ip+0x160/0x260 [ 59.425900] tipc_send_group_bcast+0x50a/0xd90 [ 59.430513] ? tipc_sk_sock_err.isra.61+0x2f0/0x2f0 [ 59.435550] ? __init_waitqueue_head+0x150/0x150 [ 59.440309] ? refill_pi_state_cache.part.8+0x310/0x310 [ 59.445665] ? mark_held_locks+0x130/0x130 [ 59.449904] ? avc_has_perm+0x469/0x7e0 [ 59.453880] ? lock_downgrade+0x900/0x900 [ 59.458014] ? check_preemption_disabled+0x48/0x280 [ 59.463022] __tipc_sendmsg+0xeec/0x1d40 [ 59.467197] ? rcu_softirq_qs+0x20/0x20 [ 59.471163] ? tipc_sendmcast+0xf50/0xf50 [ 59.475318] ? zap_class+0x640/0x640 [ 59.479029] ? print_usage_bug+0xc0/0xc0 [ 59.483076] ? find_held_lock+0x36/0x1c0 [ 59.487123] ? find_held_lock+0x36/0x1c0 [ 59.491168] ? mark_held_locks+0xc7/0x130 [ 59.495315] ? __local_bh_enable_ip+0x160/0x260 [ 59.499967] ? __local_bh_enable_ip+0x160/0x260 [ 59.504622] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 59.509191] ? trace_hardirqs_on+0xbd/0x310 [ 59.513498] ? lock_release+0xa00/0xa00 [ 59.517454] ? lock_sock_nested+0xe2/0x120 [ 59.521679] ? trace_hardirqs_off_caller+0x310/0x310 [ 59.526766] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 59.532311] ? check_preemption_disabled+0x48/0x280 [ 59.537321] ? lock_sock_nested+0x9a/0x120 [ 59.541536] ? lock_sock_nested+0x9a/0x120 [ 59.545755] ? __local_bh_enable_ip+0x160/0x260 [ 59.550410] tipc_sendmsg+0x50/0x70 [ 59.554021] ? __tipc_sendmsg+0x1d40/0x1d40 [ 59.558326] sock_sendmsg+0xd5/0x120 [ 59.562022] ___sys_sendmsg+0x7fd/0x930 [ 59.565983] ? find_held_lock+0x36/0x1c0 [ 59.570032] ? copy_msghdr_from_user+0x580/0x580 [ 59.574772] ? __fd_install+0x2b5/0x8f0 [ 59.578740] ? check_preemption_disabled+0x48/0x280 [ 59.583755] ? __fget_light+0x2e9/0x430 [ 59.587716] ? fget_raw+0x20/0x20 [ 59.591162] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 59.596687] ? __fd_install+0x2f9/0x8f0 [ 59.600646] ? get_unused_fd_flags+0x1a0/0x1a0 [ 59.605334] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 59.610859] ? sockfd_lookup_light+0xc5/0x160 [ 59.615345] __sys_sendmsg+0x11d/0x280 [ 59.619225] ? __ia32_sys_shutdown+0x80/0x80 [ 59.623621] ? __x64_sys_futex+0x47f/0x6a0 [ 59.627859] ? do_syscall_64+0x9a/0x820 [ 59.631839] ? do_syscall_64+0x9a/0x820 [ 59.635806] ? trace_hardirqs_off_caller+0x310/0x310 [ 59.640897] __x64_sys_sendmsg+0x78/0xb0 [ 59.644962] do_syscall_64+0x1b9/0x820 [ 59.648970] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 59.654327] ? syscall_return_slowpath+0x5e0/0x5e0 [ 59.659245] ? trace_hardirqs_on_caller+0x310/0x310 [ 59.664248] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 59.669260] ? post_copy_siginfo_from_user.isra.25.part.26+0x250/0x250 [ 59.675939] ? __switch_to_asm+0x40/0x70 [ 59.679982] ? __switch_to_asm+0x34/0x70 [ 59.684033] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 59.689341] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 59.694514] RIP: 0033:0x446389 [ 59.697730] 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 [ 59.716632] RSP: 002b:00007f55d009edb8 EFLAGS: 00000297 ORIG_RAX: 000000000000002e [ 59.724326] RAX: ffffffffffffffda RBX: 00000000006dac38 RCX: 0000000000446389 [ 59.731593] RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000005 [ 59.738864] RBP: 00000000006dac30 R08: 0000000000000000 R09: 0000000000000000 [ 59.746135] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dac3c [ 59.753391] R13: 00007ffd47d5410f R14: 00007f55d009f9c0 R15: 00000000006dad2c [ 59.761703] Kernel Offset: disabled [ 59.765332] Rebooting in 86400 seconds..