[ 40.586596] audit: type=1800 audit(1581980070.962:31): pid=7870 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2469 res=0 [ 40.623214] audit: type=1800 audit(1581980070.962:32): pid=7870 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2450 res=0 Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.2' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 52.477052] kauditd_printk_skb: 3 callbacks suppressed [ 52.477068] audit: type=1400 audit(1581980082.912:36): avc: denied { map } for pid=8058 comm="syz-executor818" path="/root/syz-executor818895941" 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 [ 52.492195] IPVS: ftp: loaded support on port[0] = 21 [ 52.583671] [ 52.585489] ================================ [ 52.590140] WARNING: inconsistent lock state [ 52.594621] 4.19.104-syzkaller #0 Not tainted [ 52.599143] -------------------------------- [ 52.603884] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 52.610061] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 52.615458] 00000000329728e0 (&(&local->client_conns_lock)->rlock){+.?.}, at: rxrpc_put_client_conn+0x683/0xc20 [ 52.625724] {SOFTIRQ-ON-W} state was registered at: [ 52.630731] lock_acquire+0x16f/0x3f0 [ 52.634674] _raw_spin_lock+0x2f/0x40 [ 52.638869] rxrpc_connect_call+0x351/0x4920 [ 52.643400] rxrpc_new_client_call+0x8e7/0x1880 [ 52.648146] rxrpc_do_sendmsg+0xfc3/0x1ca3 [ 52.652477] rxrpc_sendmsg+0x4a0/0x5b0 [ 52.656463] sock_sendmsg+0xd7/0x130 [ 52.660245] ___sys_sendmsg+0x3e2/0x920 [ 52.664494] __sys_sendmmsg+0x1bf/0x4e0 [ 52.668547] __x64_sys_sendmmsg+0x9d/0x100 [ 52.672852] do_syscall_64+0xfd/0x620 [ 52.676779] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 52.682206] irq event stamp: 172194 [ 52.685912] hardirqs last enabled at (172194): [] _raw_spin_unlock_irqrestore+0x6b/0xe0 [ 52.695692] hardirqs last disabled at (172193): [] _raw_spin_lock_irqsave+0x6f/0xcd [ 52.705043] softirqs last enabled at (172078): [] _local_bh_enable+0x1c/0x30 [ 52.714702] softirqs last disabled at (172079): [] irq_exit+0x180/0x1d0 [ 52.723363] [ 52.723363] other info that might help us debug this: [ 52.730017] Possible unsafe locking scenario: [ 52.730017] [ 52.736488] CPU0 [ 52.739049] ---- [ 52.741610] lock(&(&local->client_conns_lock)->rlock); [ 52.747065] [ 52.750088] lock(&(&local->client_conns_lock)->rlock); [ 52.755695] [ 52.755695] *** DEADLOCK *** [ 52.755695] [ 52.761857] 1 lock held by swapper/0/0: [ 52.765810] #0: 000000007a2471e7 (rcu_callback){....}, at: rcu_process_callbacks+0xc79/0x1a30 [ 52.774888] [ 52.774888] stack backtrace: [ 52.779406] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.104-syzkaller #0 [ 52.786551] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.797063] Call Trace: [ 52.799630] [ 52.801771] dump_stack+0x197/0x210 [ 52.805406] print_usage_bug.cold+0x330/0x42a [ 52.809936] ? save_stack_trace+0x1a/0x20 [ 52.814078] mark_lock+0xd1b/0x1370 [ 52.817693] ? check_usage_backwards+0x340/0x340 [ 52.822437] __lock_acquire+0xc62/0x49c0 [ 52.826500] ? mark_held_locks+0x100/0x100 [ 52.830726] ? save_stack+0x45/0xd0 [ 52.834343] ? __kasan_slab_free+0x102/0x150 [ 52.838749] ? kasan_slab_free+0xe/0x10 [ 52.843138] ? kfree+0xcf/0x220 [ 52.846681] ? mark_held_locks+0x100/0x100 [ 52.850911] ? find_held_lock+0x35/0x130 [ 52.854959] ? debug_object_deactivate+0x1e4/0x360 [ 52.859932] ? mark_held_locks+0x100/0x100 [ 52.864159] ? debug_object_deactivate+0x1e4/0x360 [ 52.869446] ? _raw_spin_unlock_irqrestore+0x6b/0xe0 [ 52.874567] ? lockdep_hardirqs_on+0x19b/0x5d0 [ 52.879159] lock_acquire+0x16f/0x3f0 [ 52.882953] ? rxrpc_put_client_conn+0x683/0xc20 [ 52.887770] _raw_spin_lock+0x2f/0x40 [ 52.891583] ? rxrpc_put_client_conn+0x683/0xc20 [ 52.896447] rxrpc_put_client_conn+0x683/0xc20 [ 52.902325] ? rxrpc_rcu_destroy_call+0xbd/0x200 [ 52.907081] ? rxrpc_process_call.cold+0x20/0x20 [ 52.911841] rxrpc_rcu_destroy_call+0xbd/0x200 [ 52.916501] rcu_process_callbacks+0xba0/0x1a30 [ 52.921254] ? __rcu_read_unlock+0x170/0x170 [ 52.925698] __do_softirq+0x25c/0x921 [ 52.930006] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.935528] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 52.941065] irq_exit+0x180/0x1d0 [ 52.944618] smp_apic_timer_interrupt+0x13b/0x550 [ 52.949459] apic_timer_interrupt+0xf/0x20 [ 52.953727] [ 52.955957] RIP: 0010:native_safe_halt+0xe/0x10 [ 52.960616] Code: ff ff 48 89 df e8 62 aa 4d fa eb 82 e9 07 00 00 00 0f 00 2d 74 c2 52 00 f4 c3 66 90 e9 07 00 00 00 0f 00 2d 64 c2 52 00 fb f4 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 e8 6e 7e 04 fa e8 f9 [ 52.980080] RSP: 0018:ffffffff88e07cb0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 [ 52.987895] RAX: 1ffffffff11e4aec RBX: ffffffff88e79ec0 RCX: 0000000000000000 [ 52.995156] RDX: dffffc0000000000 RSI: 0000000000000001 RDI: ffffffff88e7a73c [ 53.002522] RBP: ffffffff88e07ce0 R08: ffffffff88e79ec0 R09: 0000000000000000 [ 53.009823] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 53.017080] R13: ffffffff88f25750 R14: 0000000000000000 R15: ffffffff88e79ec0 [ 53.027561] ? default_idle+0x4e/0x320 [ 53.031436] arch_cpu_idle+0xa/0x10 [ 53.035110] default_idle_call+0x36/0x90 [ 53.039157] do_idle+0x30c/0x4d0 [ 53.042768] ? arch_cpu_idle_exit+0x80/0x80 [ 53.047212] ? check_preemption_disabled+0x48/0x290 [ 53.052877] cpu_startup_entry+0xc8/0xe0 [ 53.056933] ? cpu_in_idle+0x20/0x20 [ 53.060632] rest_init+0x219/0x222 [ 53.064212] ? trace_event_define_fields_vector_free_moved+0xb4/0xb4 [ 53.070696] start_kernel+0x7ec/0x825 [ 53.075492] ? mem_encrypt_init+0xb/0xb [ 53.079496] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 53.0850