Warning: Permanently added '10.128.0.55' (ECDSA) to the list of known hosts. [ 36.568621] urandom_read: 1 callbacks suppressed [ 36.568626] random: sshd: uninitialized urandom read (32 bytes read) [ 36.691585] kauditd_printk_skb: 10 callbacks suppressed [ 36.691594] audit: type=1400 audit(1571639984.996:36): avc: denied { map } for pid=6849 comm="syz-executor698" path="/root/syz-executor698839378" 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 [ 36.940897] IPVS: ftp: loaded support on port[0] = 21 executing program [ 37.697623] audit: type=1400 audit(1571639985.996:37): avc: denied { map } for pid=6851 comm="syz-executor698" path="/dev/usbmon0" dev="devtmpfs" ino=15106 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 [ 37.747669] [ 37.749359] ====================================================== [ 37.755758] WARNING: possible circular locking dependency detected [ 37.762057] 4.14.150 #0 Not tainted [ 37.765663] ------------------------------------------------------ [ 37.771959] syz-executor698/6853 is trying to acquire lock: [ 37.777646] (&mm->mmap_sem){++++}, at: [] __might_fault+0xe0/0x1d0 [ 37.785606] [ 37.785606] but task is already holding lock: [ 37.791560] (&rp->fetch_lock){+.+.}, at: [] mon_bin_get_event+0x3c/0x430 [ 37.800039] [ 37.800039] which lock already depends on the new lock. [ 37.800039] [ 37.808426] [ 37.808426] the existing dependency chain (in reverse order) is: [ 37.816031] [ 37.816031] -> #1 (&rp->fetch_lock){+.+.}: [ 37.821913] lock_acquire+0x16f/0x430 [ 37.826216] __mutex_lock+0xe8/0x1470 [ 37.830515] mutex_lock_nested+0x16/0x20 [ 37.835076] mon_bin_vma_fault+0x6f/0x280 [ 37.839737] __do_fault+0x104/0x390 [ 37.843863] __handle_mm_fault+0x2460/0x3470 [ 37.848768] handle_mm_fault+0x293/0x7c0 [ 37.853330] __get_user_pages+0x465/0x1220 [ 37.858085] populate_vma_page_range+0x18e/0x230 [ 37.863343] __mm_populate+0x198/0x2c0 [ 37.867730] vm_mmap_pgoff+0x1be/0x1d0 [ 37.872115] SyS_mmap_pgoff+0x3ca/0x520 [ 37.876586] SyS_mmap+0x16/0x20 [ 37.880483] do_syscall_64+0x1e8/0x640 [ 37.884867] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 37.890552] [ 37.890552] -> #0 (&mm->mmap_sem){++++}: [ 37.896075] __lock_acquire+0x2cb3/0x4620 [ 37.900718] lock_acquire+0x16f/0x430 [ 37.905015] __might_fault+0x143/0x1d0 [ 37.909516] _copy_to_user+0x2c/0xd0 [ 37.913736] mon_bin_get_event+0x10a/0x430 [ 37.918473] mon_bin_ioctl+0x9b4/0xb50 [ 37.922874] do_vfs_ioctl+0x7ae/0x1060 [ 37.927258] SyS_ioctl+0x8f/0xc0 [ 37.931133] do_syscall_64+0x1e8/0x640 [ 37.935521] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 37.941204] [ 37.941204] other info that might help us debug this: [ 37.941204] [ 37.949329] Possible unsafe locking scenario: [ 37.949329] [ 37.955366] CPU0 CPU1 [ 37.960008] ---- ---- [ 37.964662] lock(&rp->fetch_lock); [ 37.968357] lock(&mm->mmap_sem); [ 37.974407] lock(&rp->fetch_lock); [ 37.980616] lock(&mm->mmap_sem); [ 37.984131] [ 37.984131] *** DEADLOCK *** [ 37.984131] [ 37.990166] 1 lock held by syz-executor698/6853: [ 37.994895] #0: (&rp->fetch_lock){+.+.}, at: [] mon_bin_get_event+0x3c/0x430 [ 38.003807] [ 38.003807] stack backtrace: [ 38.008281] CPU: 0 PID: 6853 Comm: syz-executor698 Not tainted 4.14.150 #0 [ 38.015280] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.024613] Call Trace: [ 38.027201] dump_stack+0x138/0x197 [ 38.030820] print_circular_bug.isra.0.cold+0x1cc/0x28f [ 38.036172] __lock_acquire+0x2cb3/0x4620 [ 38.040304] ? remove_wait_queue+0x10f/0x190 [ 38.044702] ? trace_hardirqs_on+0x10/0x10 [ 38.048918] lock_acquire+0x16f/0x430 [ 38.052699] ? __might_fault+0xe0/0x1d0 [ 38.056668] __might_fault+0x143/0x1d0 [ 38.060532] ? __might_fault+0xe0/0x1d0 [ 38.064488] _copy_to_user+0x2c/0xd0 [ 38.068182] mon_bin_get_event+0x10a/0x430 [ 38.072395] mon_bin_ioctl+0x9b4/0xb50 [ 38.076273] ? mon_bin_read+0x5e0/0x5e0 [ 38.080229] ? __might_sleep+0x93/0xb0 [ 38.084098] ? __fget+0x210/0x370 [ 38.087529] ? mon_bin_read+0x5e0/0x5e0 [ 38.091480] do_vfs_ioctl+0x7ae/0x1060 [ 38.095347] ? selinux_file_mprotect+0x5d0/0x5d0 [ 38.100087] ? lock_downgrade+0x740/0x740 [ 38.104245] ? ioctl_preallocate+0x1c0/0x1c0 [ 38.108631] ? __fget+0x237/0x370 [ 38.112062] ? security_file_ioctl+0x7d/0xb0 [ 38.116445] ? security_file_ioctl+0x89/0xb0 [ 38.120833] SyS_ioctl+0x8f/0xc0 [ 38.124174] ? do_vfs_ioctl+0x1060/0x1060 [ 38.128299] do_syscall_64+0x1e8/0x640 [ 38.132161] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 38.136981] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 38.142160] RIP: 0033:0x44a859 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 38.145328] RSP: 002b:00007f2d42446ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 38.153009] RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 000000000044a859 [ 38.160369] RDX: 00000000200000c0 RSI: 0000000040189206 RDI: 0000000000000003 [ 38.167616] RBP: 00000000006dbc30 R08: 00007f2d42447700 R09: 0000000000000000 [ 38.174986] R10: 00007f2d42447700 R11: 0000000000000246 R12: 00000000006dbc3c [ 38.182244] R13: 00007ffdd9db138f R14: 00007f2d424479c0 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