Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [ 10.165912] random: sshd: uninitialized urandom read (32 bytes read) [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 13.643286] random: sshd: uninitialized urandom read (32 bytes read) [ 13.733148] random: crng init done Warning: Permanently added '10.128.0.191' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program [ 21.291687] lowmemorykiller: Killing 'syz-executor824' (2045) (tgid 2045), adj 1000, [ 21.291687] to free 44kB on behalf of 'kswapd0' (33) because [ 21.291687] cache 36448kB is below limit 65536kB for oom_score_adj 12 [ 21.291687] Free memory is -13012kB above reserved [ 21.322748] lowmemorykiller: Killing 'syz-executor824' (2045) (tgid 2045), adj 1000, [ 21.322748] to free 44kB on behalf of 'syz-executor824' (2045) because [ 21.322748] cache 33948kB is below limit 65536kB for oom_score_adj 12 [ 21.322748] Free memory is -13328kB above reserved [ 21.322770] [ 21.322772] ================================= [ 21.322774] [ INFO: inconsistent lock state ] [ 21.322778] 4.9.191+ #0 Not tainted [ 21.322780] --------------------------------- [ 21.322783] inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-R} usage. [ 21.322789] syz-executor824/2045 [HC0[0]:SC0[0]:HE1:SE1] takes: [ 21.322808] (&mm->mmap_sem){+++++?}, at: [<00000000358b6c6b>] get_cmdline+0xa3/0x2d0 {RECLAIM_FS-ON-W} state was registered at: [ 21.322819] mark_held_locks+0xb1/0x100 [ 21.322824] lockdep_trace_alloc+0x18c/0x2b0 [ 21.322829] __alloc_pages_nodemask+0x143/0x1a80 [ 21.322836] __pmd_alloc+0x4a/0x330 [ 21.322842] move_page_tables+0xadb/0xd60 [ 21.322848] shift_arg_pages+0x1ae/0x470 [ 21.322853] setup_arg_pages+0x60d/0x7c0 [ 21.322863] load_elf_binary+0xa84/0x4a90 [ 21.322869] search_binary_handler+0x14f/0x700 [ 21.322875] do_execveat_common.isra.0+0xf81/0x1db0 [ 21.322879] do_execve+0x3a/0x50 [ 21.322886] run_init_process+0x33/0x37 [ 21.322892] try_to_run_init_process+0x18/0x48 [ 21.322900] kernel_init+0xf2/0x163 [ 21.322905] ret_from_fork+0x5c/0x70 [ 21.322907] irq event stamp: 571569 [ 21.322915] hardirqs last enabled at (571569): [<00000000169c2530>] vprintk_emit+0x25c/0x6f0 [ 21.322922] hardirqs last disabled at (571568): [<000000000dd5a842>] vprintk_emit+0x6d/0x6f0 [ 21.322931] softirqs last enabled at (570944): [<0000000089c84c58>] wb_queue_work+0x1ed/0x450 [ 21.322938] softirqs last disabled at (570940): [<00000000b26c7c9d>] wb_queue_work+0x90/0x450 [ 21.322939] [ 21.322939] other info that might help us debug this: [ 21.322941] Possible unsafe locking scenario: [ 21.322941] [ 21.322943] CPU0 [ 21.322944] ---- [ 21.322948] lock(&mm->mmap_sem); [ 21.322950] [ 21.322954] lock(&mm->mmap_sem); [ 21.322955] [ 21.322955] *** DEADLOCK *** [ 21.322955] [ 21.322958] 1 lock held by syz-executor824/2045: [ 21.322971] #0: (shrinker_rwsem){++++..}, at: [<00000000c555d22d>] shrink_slab.part.0+0xb2/0xa20 [ 21.322973] [ 21.322973] stack backtrace: [ 21.322979] CPU: 1 PID: 2045 Comm: syz-executor824 Not tainted 4.9.191+ #0 [ 21.322992] ffff8801cf1ef060 ffffffff81b67171 00000000000000f0 ffff8801cfd917c0 [ 21.323003] ffffffff83cb0990 ffff8801cfd920b8 ffffffff84252000 ffff8801cf1ef0d8 [ 21.323012] ffffffff814088a0 0000000000000000 ffffffff00000001 0000000000000001 [ 21.323013] Call Trace: [ 21.323022] [<00000000ec9fc9af>] dump_stack+0xc1/0x120 [ 21.323031] [<000000003e823639>] print_usage_bug.cold+0x452/0x5a2 [ 21.323038] [<0000000001375919>] mark_lock+0x6c7/0x12e0 [ 21.323045] [<000000005ed4332a>] ? print_irq_inversion_bug+0xa0/0xa0 [ 21.323058] [<00000000422d3863>] __lock_acquire+0x5be/0x4390 [ 21.323066] [<000000001395e67c>] ? trace_hardirqs_on+0x10/0x10 [ 21.323073] [<000000001395e67c>] ? trace_hardirqs_on+0x10/0x10 [ 21.323080] [<0000000033aae1f2>] ? debug_lockdep_rcu_enabled+0x71/0xa0 [ 21.323086] [<000000008f00c813>] lock_acquire+0x133/0x3d0 [ 21.323093] [<00000000358b6c6b>] ? get_cmdline+0xa3/0x2d0 [ 21.323099] [<00000000777831a4>] down_read+0x44/0xb0 [ 21.323106] [<00000000358b6c6b>] ? get_cmdline+0xa3/0x2d0 [ 21.323112] [<00000000358b6c6b>] get_cmdline+0xa3/0x2d0 [ 21.323122] [<00000000c1449c9a>] handle_lmk_event+0x169/0x920 Connection to 10.128.0.191 closed by remote host. [ 21.323129] [<00000000740eb280>] ? lmk_event_show+0x