[ 40.210380] audit: type=1800 audit(1571300949.825:32): pid=7474 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 file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 41.038938] audit: type=1800 audit(1571300950.745:33): pid=7474 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 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.65' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 48.114554] kauditd_printk_skb: 2 callbacks suppressed [ 48.114568] audit: type=1400 audit(1571300957.815:36): avc: denied { map } for pid=7660 comm="syz-executor968" path="/root/syz-executor968809105" 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 [ 48.137036] IPVS: ftp: loaded support on port[0] = 21 [ 48.174884] audit: type=1400 audit(1571300957.875:37): avc: denied { map } for pid=7661 comm="syz-executor968" path="/dev/usbmon0" dev="devtmpfs" ino=1549 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 [ 48.248301] [ 48.249964] ====================================================== [ 48.256279] WARNING: possible circular locking dependency detected [ 48.262591] 4.19.79 #0 Not tainted [ 48.266121] ------------------------------------------------------ [ 48.272421] syz-executor968/7663 is trying to acquire lock: [ 48.278110] 00000000fdab36f9 (&mm->mmap_sem){++++}, at: __might_fault+0xfb/0x1e0 [ 48.285651] [ 48.285651] but task is already holding lock: [ 48.291602] 000000005b13b186 (&rp->fetch_lock){+.+.}, at: mon_bin_fetch+0x37/0x340 [ 48.299306] [ 48.299306] which lock already depends on the new lock. [ 48.299306] [ 48.307613] [ 48.307613] the existing dependency chain (in reverse order) is: [ 48.315217] [ 48.315217] -> #1 (&rp->fetch_lock){+.+.}: [ 48.320926] __mutex_lock+0xf7/0x1300 [ 48.325234] mutex_lock_nested+0x16/0x20 [ 48.329799] mon_bin_vma_fault+0x73/0x2d0 [ 48.334460] __do_fault+0x111/0x480 [ 48.338593] __handle_mm_fault+0xf6d/0x3f80 [ 48.343418] handle_mm_fault+0x1b5/0x690 [ 48.347993] __do_page_fault+0x62a/0xe90 [ 48.352559] do_page_fault+0x71/0x57d [ 48.356860] page_fault+0x1e/0x30 [ 48.360819] [ 48.360819] -> #0 (&mm->mmap_sem){++++}: [ 48.366369] lock_acquire+0x16f/0x3f0 [ 48.370675] __might_fault+0x15e/0x1e0 [ 48.375068] mon_bin_fetch+0x26f/0x340 [ 48.379462] mon_bin_ioctl+0x21e/0xc80 [ 48.383852] do_vfs_ioctl+0xd5f/0x1380 [ 48.388242] ksys_ioctl+0xab/0xd0 [ 48.392197] __x64_sys_ioctl+0x73/0xb0 [ 48.396586] do_syscall_64+0xfd/0x620 [ 48.401062] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.406757] [ 48.406757] other info that might help us debug this: [ 48.406757] [ 48.414880] Possible unsafe locking scenario: [ 48.414880] [ 48.420929] CPU0 CPU1 [ 48.425576] ---- ---- [ 48.430220] lock(&rp->fetch_lock); [ 48.433916] lock(&mm->mmap_sem); [ 48.440047] lock(&rp->fetch_lock); [ 48.446266] lock(&mm->mmap_sem); [ 48.449798] [ 48.449798] *** DEADLOCK *** [ 48.449798] [ 48.455841] 1 lock held by syz-executor968/7663: [ 48.460572] #0: 000000005b13b186 (&rp->fetch_lock){+.+.}, at: mon_bin_fetch+0x37/0x340 [ 48.468722] [ 48.468722] stack backtrace: [ 48.473207] CPU: 0 PID: 7663 Comm: syz-executor968 Not tainted 4.19.79 #0 [ 48.480109] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 48.489447] Call Trace: [ 48.492022] dump_stack+0x172/0x1f0 [ 48.495636] print_circular_bug.isra.0.cold+0x1cc/0x28f [ 48.500990] __lock_acquire+0x2e19/0x49c0 [ 48.505818] ? _raw_spin_unlock_irqrestore+0x6b/0xe0 [ 48.510916] ? remove_wait_queue+0x10f/0x190 [ 48.515312] ? _raw_spin_unlock_irqrestore+0x6b/0xe0 [ 48.520399] ? lockdep_hardirqs_on+0x415/0x5d0 [ 48.526011] ? mark_held_locks+0x100/0x100 [ 48.530408] lock_acquire+0x16f/0x3f0 [ 48.534204] ? __might_fault+0xfb/0x1e0 [ 48.538162] __might_fault+0x15e/0x1e0 [ 48.542032] ? __might_fault+0xfb/0x1e0 [ 48.546001] mon_bin_fetch+0x26f/0x340 [ 48.549876] mon_bin_ioctl+0x21e/0xc80 [ 48.553749] ? mon_bin_get_event+0x450/0x450 [ 48.558141] ? __fget+0x340/0x540 [ 48.561582] ? __might_sleep+0x95/0x190 [ 48.565561] ? mon_bin_get_event+0x450/0x450 [ 48.571445] do_vfs_ioctl+0xd5f/0x1380 [ 48.575326] ? selinux_file_ioctl+0x46f/0x5e0 [ 48.579809] ? selinux_file_ioctl+0x125/0x5e0 [ 48.584291] ? ioctl_preallocate+0x210/0x210 [ 48.588686] ? selinux_file_mprotect+0x620/0x620 [ 48.593434] ? iterate_fd+0x360/0x360 [ 48.597220] ? up_read+0x1a/0x110 [ 48.600667] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.606190] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.611724] ? security_file_ioctl+0x8d/0xc0 [ 48.616116] ksys_ioctl+0xab/0xd0 [ 48.619602] __x64_sys_ioctl+0x73/0xb0 [ 48.623510] do_syscall_64+0xfd/0x620 [ 48.627399] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.632578] RIP: 0033:0x44a099 [ 48.635756] Code: e8 4c bc 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 d2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 48.654815] RSP: 002b:00007f68aefb4ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 48.662517] RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 000000000044a099 [ 48.669780] RDX: 0000000020000140 RSI: 00000000c0109207 RDI: 0000000000000003 [ 48.677032] RBP: 00000000006dbc30 R08: 00007f68aefb5700 R09: 0000000000000000 [ 48.684290] R10: 00007f68aefb5700 R11: 0000000000000246 R12: 00000000006dbc3c [ 48.691543] R13: 00007fff14c24f8f R14: 00007f68aefb59c0 R15: 000000000000002d