Starting mcstransd: [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c[ 38.865539] audit: type=1800 audit(1571298377.975:33): pid=7369 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=2465 res=0 . [ 38.887456] audit: type=1800 audit(1571298377.975:34): pid=7369 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=2456 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 40.888611] audit: type=1400 audit(1571298380.005:35): avc: denied { map } for pid=7542 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.150' (ECDSA) to the list of known hosts. executing program [ 49.225569] audit: type=1400 audit(1571298388.335:36): avc: denied { map } for pid=7555 comm="syz-executor934" path="/root/syz-executor934136308" 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 [ 49.245265] IPVS: ftp: loaded support on port[0] = 21 [ 49.282645] audit: type=1400 audit(1571298388.395:37): avc: denied { map } for pid=7557 comm="syz-executor934" path="/dev/usbmon0" dev="devtmpfs" ino=1473 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:usbmon_device_t:s0 tclass=chr_file permissive=1 [ 49.330130] [ 49.331787] ====================================================== [ 49.338084] WARNING: possible circular locking dependency detected [ 49.344384] 4.19.79 #0 Not tainted [ 49.347906] ------------------------------------------------------ [ 49.354217] syz-executor934/7559 is trying to acquire lock: [ 49.359911] 00000000a251ac87 (&mm->mmap_sem){++++}, at: __might_fault+0xfb/0x1e0 [ 49.367447] [ 49.367447] but task is already holding lock: [ 49.373398] 000000007548014c (&rp->fetch_lock){+.+.}, at: mon_bin_read+0x60/0x640 [ 49.381137] [ 49.381137] which lock already depends on the new lock. [ 49.381137] [ 49.389435] [ 49.389435] the existing dependency chain (in reverse order) is: [ 49.397045] [ 49.397045] -> #1 (&rp->fetch_lock){+.+.}: [ 49.402768] __mutex_lock+0xf7/0x1300 [ 49.407073] mutex_lock_nested+0x16/0x20 [ 49.411641] mon_bin_vma_fault+0x73/0x2d0 [ 49.416292] __do_fault+0x111/0x480 [ 49.420418] __handle_mm_fault+0x2d78/0x3f80 [ 49.425326] handle_mm_fault+0x1b5/0x690 [ 49.429888] __get_user_pages+0x609/0x17a0 [ 49.434629] populate_vma_page_range+0x20d/0x2a0 [ 49.439898] __mm_populate+0x204/0x380 [ 49.444302] vm_mmap_pgoff+0x213/0x230 [ 49.448692] ksys_mmap_pgoff+0x4aa/0x630 [ 49.453272] __x64_sys_mmap+0xe9/0x1b0 [ 49.457758] do_syscall_64+0xfd/0x620 [ 49.462085] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 49.467774] [ 49.467774] -> #0 (&mm->mmap_sem){++++}: [ 49.473304] lock_acquire+0x16f/0x3f0 [ 49.477663] __might_fault+0x15e/0x1e0 [ 49.482172] _copy_to_user+0x30/0x120 [ 49.486478] mon_bin_read+0x329/0x640 [ 49.490781] __vfs_read+0x114/0x800 [ 49.494907] vfs_read+0x194/0x3d0 [ 49.498859] ksys_read+0x14f/0x2d0 [ 49.502900] __x64_sys_read+0x73/0xb0 [ 49.507208] do_syscall_64+0xfd/0x620 [ 49.511524] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 49.517747] [ 49.517747] other info that might help us debug this: [ 49.517747] [ 49.525867] Possible unsafe locking scenario: [ 49.525867] [ 49.531923] CPU0 CPU1 [ 49.536578] ---- ---- [ 49.541223] lock(&rp->fetch_lock); [ 49.544915] lock(&mm->mmap_sem); [ 49.550953] lock(&rp->fetch_lock); [ 49.557165] lock(&mm->mmap_sem); [ 49.560684] [ 49.560684] *** DEADLOCK *** [ 49.560684] [ 49.566816] 1 lock held by syz-executor934/7559: [ 49.571552] #0: 000000007548014c (&rp->fetch_lock){+.+.}, at: mon_bin_read+0x60/0x640 [ 49.579605] [ 49.579605] stack backtrace: [ 49.584116] CPU: 0 PID: 7559 Comm: syz-executor934 Not tainted 4.19.79 #0 [ 49.591107] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 49.600440] Call Trace: [ 49.603019] dump_stack+0x172/0x1f0 [ 49.606895] print_circular_bug.isra.0.cold+0x1cc/0x28f [ 49.612243] __lock_acquire+0x2e19/0x49c0 [ 49.616374] ? mark_held_locks+0xb1/0x100 [ 49.620626] ? mark_held_locks+0x100/0x100 [ 49.624957] ? _raw_spin_unlock_irqrestore+0xa4/0xe0 [ 49.630062] ? __lock_is_held+0xb6/0x140 [ 49.634147] ? __lock_acquire+0x6ee/0x49c0 [ 49.638379] lock_acquire+0x16f/0x3f0 [ 49.642172] ? __might_fault+0xfb/0x1e0 [ 49.646154] __might_fault+0x15e/0x1e0 [ 49.650032] ? __might_fault+0xfb/0x1e0 [ 49.653988] _copy_to_user+0x30/0x120 [ 49.657772] mon_bin_read+0x329/0x640 [ 49.661568] __vfs_read+0x114/0x800 [ 49.665182] ? copy_from_buf.isra.0+0x1c0/0x1c0 [ 49.669832] ? vfs_copy_file_range+0xba0/0xba0 [ 49.674397] ? __inode_security_revalidate+0xda/0x120 [ 49.679580] ? avc_policy_seqno+0xd/0x70 [ 49.683622] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 49.688626] ? security_file_permission+0x89/0x230 [ 49.693538] ? rw_verify_area+0x118/0x360 [ 49.697673] vfs_read+0x194/0x3d0 [ 49.701111] ksys_read+0x14f/0x2d0 [ 49.704717] ? kernel_write+0x120/0x120 [ 49.708682] ? do_syscall_64+0x26/0x620 [ 49.712649] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 49.717993] ? do_syscall_64+0x26/0x620 [ 49.722063] __x64_sys_read+0x73/0xb0 [ 49.725853] do_syscall_64+0xfd/0x620 [ 49.729643] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 49.734903] RIP: 0033:0x44a7a9 [ 49.738103] Code: e8 ec b6 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 cb cc fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 49.756988] RSP: 002b:00007f3afb639ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 49.764689] RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 000000000044a7a9 [ 49.771953] RDX: 00000000000000cb RSI: 0000000020000100 RDI: 0000000000000003 executing program [ 49.779217] RBP: 00000000006dbc30 R08: 00007f3afb63a700 R09: 0000000000000000 [ 49.786470] R10: 00007f3afb63a700 R11: 0000000000000246 R12: 00000000006dbc3c [ 49.793732] R13: 00007ffec6e69f6f R14: 00007f3afb63a9c0 R15: 0000000000000001 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program