[  102.087994][   T27] audit: type=1800 audit(1581231568.128:36): pid=10497 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=2417 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

syzkaller login: [  106.176815][   T27] kauditd_printk_skb: 4 callbacks suppressed
[  106.176830][   T27] audit: type=1400 audit(1581231572.308:41): avc:  denied  { map } for  pid=10673 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.129' (ECDSA) to the list of known hosts.
executing program
[  113.036846][   T27] audit: type=1400 audit(1581231579.168:42): avc:  denied  { map } for  pid=10685 comm="syz-executor277" path="/root/syz-executor277372275" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
[  113.053491][T10686] IPVS: ftp: loaded support on port[0] = 21
[  113.152297][    C0] 
[  113.155036][    C0] ================================
[  113.160385][    C0] WARNING: inconsistent lock state
[  113.165610][    C0] 5.5.0-syzkaller #0 Not tainted
[  113.170592][    C0] --------------------------------
[  113.175949][    C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage.
[  113.183403][    C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes:
[  113.189835][    C0] ffff8880a86a41c8 (&(&local->client_conns_lock)->rlock){+.?.}, at: rxrpc_put_client_conn+0x6ed/0xc90
[  113.202590][    C0] {SOFTIRQ-ON-W} state was registered at:
[  113.208603][    C0]   lock_acquire+0x190/0x410
[  113.213535][    C0]   _raw_spin_lock+0x2f/0x40
[  113.218594][    C0]   rxrpc_connect_call+0x358/0x4e30
[  113.224162][    C0]   rxrpc_new_client_call+0x9c0/0x1ad0
[  113.229905][    C0]   rxrpc_do_sendmsg+0xffa/0x1d5f
[  113.234931][    C0]   rxrpc_sendmsg+0x4d6/0x5f0
[  113.239967][    C0]   sock_sendmsg+0xd7/0x130
[  113.245773][    C0]   ____sys_sendmsg+0x358/0x880
[  113.251781][    C0]   ___sys_sendmsg+0x100/0x170
[  113.257342][    C0]   __sys_sendmmsg+0x1bf/0x4d0
[  113.262114][    C0]   __x64_sys_sendmmsg+0x9d/0x100
[  113.267269][    C0]   do_syscall_64+0xfa/0x790
[  113.272010][    C0]   entry_SYSCALL_64_after_hwframe+0x49/0xbe
[  113.278158][    C0] irq event stamp: 223526
[  113.282983][    C0] hardirqs last  enabled at (223526): [<ffffffff87edfb56>] _raw_spin_unlock_irqrestore+0x66/0xe0
[  113.295036][    C0] hardirqs last disabled at (223525): [<ffffffff87edfecf>] _raw_spin_lock_irqsave+0x6f/0xcd
[  113.305682][    C0] softirqs last  enabled at (223430): [<ffffffff8147568c>] _local_bh_enable+0x1c/0x30
[  113.316169][    C0] softirqs last disabled at (223431): [<ffffffff8147808b>] irq_exit+0x19b/0x1e0
[  113.325427][    C0] 
[  113.325427][    C0] other info that might help us debug this:
[  113.333875][    C0]  Possible unsafe locking scenario:
[  113.333875][    C0] 
[  113.341457][    C0]        CPU0
[  113.344843][    C0]        ----
[  113.349045][    C0]   lock(&(&local->client_conns_lock)->rlock);
[  113.355845][    C0]   <Interrupt>
[  113.359584][    C0]     lock(&(&local->client_conns_lock)->rlock);
[  113.366082][    C0] 
[  113.366082][    C0]  *** DEADLOCK ***
[  113.366082][    C0] 
[  113.374236][    C0] 1 lock held by swapper/0/0:
[  113.379020][    C0]  #0: ffffffff89bac140 (rcu_callback){....}, at: rcu_core+0x562/0x1390
[  113.388177][    C0] 
[  113.388177][    C0] stack backtrace:
[  113.396237][    C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.5.0-syzkaller #0
[  113.403991][    C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
[  113.415013][    C0] Call Trace:
[  113.418299][    C0]  <IRQ>
[  113.421192][    C0]  dump_stack+0x197/0x210
[  113.425627][    C0]  print_usage_bug.cold+0x327/0x378
[  113.431012][    C0]  mark_lock+0xbb4/0x1220
[  113.435573][    C0]  ? kfree+0x10a/0x2c0
[  113.440295][    C0]  ? check_usage_backwards+0x330/0x330
[  113.446497][    C0]  ? __nf_hook_entries_free+0x31/0x40
[  113.452302][    C0]  __lock_acquire+0x1e8e/0x4a00
[  113.457931][    C0]  ? find_held_lock+0x35/0x130
[  113.463219][    C0]  ? __kasan_check_read+0x11/0x20
[  113.468976][    C0]  ? mark_lock+0xc2/0x1220
[  113.474264][    C0]  ? mark_held_locks+0xf0/0xf0
[  113.479379][    C0]  ? _raw_spin_unlock_irqrestore+0x66/0xe0
[  113.485215][    C0]  lock_acquire+0x190/0x410
[  113.490490][    C0]  ? rxrpc_put_client_conn+0x6ed/0xc90
[  113.496395][    C0]  _raw_spin_lock+0x2f/0x40
[  113.500889][    C0]  ? rxrpc_put_client_conn+0x6ed/0xc90
[  113.506932][    C0]  rxrpc_put_client_conn+0x6ed/0xc90
[  113.512343][    C0]  ? rxrpc_rcu_destroy_call+0xbd/0x200
[  113.518168][    C0]  rxrpc_rcu_destroy_call+0xbd/0x200
[  113.523874][    C0]  rcu_core+0x5e1/0x1390
[  113.528122][    C0]  ? __rcu_read_unlock+0x700/0x700
[  113.533336][    C0]  ? rcu_read_lock_sched_held+0x9c/0xd0
[  113.538877][    C0]  ? rcu_read_lock_any_held.part.0+0x50/0x50
[  113.544858][    C0]  ? run_rebalance_domains+0x227/0x2d0
[  113.550609][    C0]  rcu_core_si+0x9/0x10
[  113.555138][    C0]  __do_softirq+0x262/0x98c
[  113.559646][    C0]  ? sched_clock_cpu+0x1b/0x1b0
[  113.564638][    C0]  irq_exit+0x19b/0x1e0
[  113.568990][    C0]  smp_apic_timer_interrupt+0x1a3/0x610
[  113.575052][    C0]  apic_timer_interrupt+0xf/0x20
[  113.580380][    C0]  </IRQ>
[  113.583322][    C0] RIP: 0010:native_safe_halt+0xe/0x10
[  113.588774][    C0] Code: 38 3e c6 f9 eb 8a cc cc cc cc cc cc e9 07 00 00 00 0f 00 2d 14 99 5a 00 f4 c3 66 90 e9 07 00 00 00 0f 00 2d 04 99 5a 00 fb f4 <c3> cc 55 48 89 e5 41 57 41 56 41 55 41 54 53 e8 4e f5 74 f9 e8 89
[  113.608741][    C0] RSP: 0018:ffffffff89a07ce8 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
[  113.617345][    C0] RAX: 1ffffffff1367612 RBX: ffffffff89a7a440 RCX: 0000000000000000
[  113.625775][    C0] RDX: dffffc0000000000 RSI: 0000000000000006 RDI: ffffffff89a7acd4
[  113.634407][    C0] RBP: ffffffff89a07d18 R08: ffffffff89a7a440 R09: 0000000000000000
[  113.642474][    C0] R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000
[  113.650812][    C0] R13: ffffffff8aa587c0 R14: 0000000000000000 R15: 0000000000000000
[  113.658970][    C0]  ? default_idle+0x4e/0x360
[  113.663725][    C0]  arch_cpu_idle+0xa/0x10
[  113.668064][    C0]  default_idle_call+0x84/0xb0
[  113.672940][    C0]  do_idle+0x3c8/0x6e0
[  113.677452][    C0]  ? arch_cpu_idle_exit+0x80/0x80
[  113.682734][    C0]  ? trace_hardirqs_on+0x67/0x240
[  113.687747][    C0]  ? __sanitizer_cov_trace_const_cmp4+0x16/0x20
[  113.694342][    C0]  ? debug_smp_processor_id+0x33/0x18a
[  113.699795][    C0]  cpu_startup_entry+0x1b/0x20
[  113.704813][    C0]  rest_init+0x23b/0x371
[  113.709061][    C0]  ? trace_init_perf_perm_irq_work_exit+0xe/0xe
[  113.715299][    C0]  arch_call_rest_init+0xe/0x1b
[  113.720327][    C0]  start_kernel+0x886/0x8c5
[  113.725032][    C0]  ? mem_encrypt_init+0xb/0xb
[  113.729938][    C0]  ? __sanitizer_cov_trace_const_cmp4+0x16/0x20
[  113.736173][    C0]  ? x86_family+0x41/0x50
[  113.740620][    C0]  ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20
[  113.746916][    C0]  x86_64_start_reservations+0x29/0x2b
[  113.752534][    C0]  x8