Warning: Permanently added '10.128.0.111' (ECDSA) to the list of known hosts. [ 42.063163] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program [ 42.179996] audit: type=1400 audit(1571628402.223:36): avc: denied { map } for pid=6932 comm="syz-executor509" path="/root/syz-executor509828604" 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 executing program [ 42.238617] audit: type=1400 audit(1571628402.283:37): avc: denied { map } for pid=6941 comm="syz-executor509" path="/dev/usbmon0" dev="devtmpfs" ino=255 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 [ 42.238636] [ 42.265674] ====================================================== [ 42.271974] WARNING: possible circular locking dependency detected [ 42.278294] 4.14.150 #0 Not tainted [ 42.281903] ------------------------------------------------------ [ 42.288195] syz-executor509/6944 is trying to acquire lock: [ 42.293876] (&rp->fetch_lock){+.+.}, at: [] mon_bin_vma_fault+0x6f/0x280 [ 42.302356] [ 42.302356] but task is already holding lock: [ 42.308304] (&mm->mmap_sem){++++}, at: [] __mm_populate+0x1e5/0x2c0 [ 42.316355] [ 42.316355] which lock already depends on the new lock. [ 42.316355] [ 42.324659] [ 42.324659] the existing dependency chain (in reverse order) is: [ 42.332253] [ 42.332253] -> #1 (&mm->mmap_sem){++++}: executing program executing program executing program [ 42.337851] lock_acquire+0x16f/0x430 [ 42.342167] __might_fault+0x143/0x1d0 [ 42.346580] _copy_to_user+0x2c/0xd0 [ 42.350823] mon_bin_read+0x2fb/0x5e0 [ 42.355144] __vfs_read+0x105/0x6a0 [ 42.359274] vfs_read+0x137/0x350 [ 42.363277] SyS_read+0xfd/0x230 [ 42.367139] do_syscall_64+0x1e8/0x640 [ 42.371537] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 42.377324] [ 42.377324] -> #0 (&rp->fetch_lock){+.+.}: [ 42.383052] __lock_acquire+0x2cb3/0x4620 executing program [ 42.387717] lock_acquire+0x16f/0x430 [ 42.392022] __mutex_lock+0xe8/0x1470 [ 42.396336] mutex_lock_nested+0x16/0x20 [ 42.400902] mon_bin_vma_fault+0x6f/0x280 [ 42.405571] __do_fault+0x104/0x390 [ 42.409698] __handle_mm_fault+0xde1/0x3470 [ 42.414518] handle_mm_fault+0x293/0x7c0 [ 42.419082] __get_user_pages+0x465/0x1220 [ 42.423816] populate_vma_page_range+0x18e/0x230 [ 42.429082] __mm_populate+0x198/0x2c0 [ 42.433465] vm_mmap_pgoff+0x1be/0x1d0 [ 42.437849] SyS_mmap_pgoff+0x3ca/0x520 [ 42.442318] SyS_mmap+0x16/0x20 [ 42.446096] do_syscall_64+0x1e8/0x640 [ 42.450494] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 42.456181] [ 42.456181] other info that might help us debug this: [ 42.456181] [ 42.464298] Possible unsafe locking scenario: [ 42.464298] [ 42.470365] CPU0 CPU1 [ 42.475008] ---- ---- [ 42.479657] lock(&mm->mmap_sem); [ 42.483181] lock(&rp->fetch_lock); executing program executing program executing program [ 42.489384] lock(&mm->mmap_sem); [ 42.495417] lock(&rp->fetch_lock); [ 42.499114] [ 42.499114] *** DEADLOCK *** [ 42.499114] [ 42.505153] 1 lock held by syz-executor509/6944: [ 42.509895] #0: (&mm->mmap_sem){++++}, at: [] __mm_populate+0x1e5/0x2c0 [ 42.518391] [ 42.518391] stack backtrace: [ 42.522865] CPU: 0 PID: 6944 Comm: syz-executor509 Not tainted 4.14.150 #0 [ 42.529849] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.539177] Call Trace: [ 42.541748] dump_stack+0x138/0x197 [ 42.545374] print_circular_bug.isra.0.cold+0x1cc/0x28f [ 42.550721] __lock_acquire+0x2cb3/0x4620 [ 42.554862] ? trace_hardirqs_on_caller+0x400/0x590 [ 42.559871] ? trace_hardirqs_on+0x10/0x10 [ 42.564084] ? kasan_slab_alloc+0xf/0x20 [ 42.568123] ? kmem_cache_alloc+0x12e/0x780 [ 42.572424] ? ptlock_alloc+0x20/0x70 [ 42.576203] lock_acquire+0x16f/0x430 [ 42.579995] ? mon_bin_vma_fault+0x6f/0x280 [ 42.584309] ? mon_bin_vma_fault+0x6f/0x280 [ 42.588610] __mutex_lock+0xe8/0x1470 [ 42.592388] ? mon_bin_vma_fault+0x6f/0x280 [ 42.596685] ? save_trace+0x290/0x290 [ 42.600475] ? mon_bin_vma_fault+0x6f/0x280 [ 42.604773] ? mutex_trylock+0x1c0/0x1c0 [ 42.608821] ? ptlock_alloc+0x20/0x70 [ 42.612600] ? rcu_lockdep_current_cpu_online+0xf2/0x140 [ 42.618032] ? rcu_read_lock_sched_held+0x110/0x130 [ 42.623025] ? kmem_cache_alloc+0x611/0x780 [ 42.627329] ? __lockdep_init_map+0x10c/0x570 [ 42.631801] mutex_lock_nested+0x16/0x20 [ 42.635835] ? mutex_lock_nested+0x16/0x20 executing program executing program [ 42.640053] mon_bin_vma_fault+0x6f/0x280 [ 42.644188] __do_fault+0x104/0x390 [ 42.647789] __handle_mm_fault+0xde1/0x3470 [ 42.652089] ? vm_insert_mixed_mkwrite+0x40/0x40 [ 42.656827] ? find_held_lock+0x35/0x130 [ 42.660869] ? handle_mm_fault+0x1b6/0x7c0 [ 42.665106] handle_mm_fault+0x293/0x7c0 [ 42.669170] __get_user_pages+0x465/0x1220 [ 42.673409] ? follow_page_mask+0x1560/0x1560 [ 42.677886] ? memset+0x32/0x40 [ 42.681142] populate_vma_page_range+0x18e/0x230 [ 42.685879] __mm_populate+0x198/0x2c0 [ 42.689780] ? populate_vma_page_range+0x230/0x230 [ 42.694687] vm_mmap_pgoff+0x1be/0x1d0 [ 42.698576] ? vma_is_stack_for_current+0xa0/0xa0 [ 42.703393] ? __fget+0x237/0x370 [ 42.706830] SyS_mmap_pgoff+0x3ca/0x520 [ 42.710798] ? find_mergeable_anon_vma+0x2c0/0x2c0 [ 42.715728] ? do_syscall_64+0x53/0x640 [ 42.719687] ? align_vdso_addr+0x60/0x60 [ 42.723729] SyS_mmap+0x16/0x20 [ 42.726987] do_syscall_64+0x1e8/0x640 [ 42.730847] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.735671] entry_SYSCALL_64_after_hwframe+0x42/0xb7 executing program executing program executing program executing program executing program [ 42.741024] RIP: 0033:0x44a729 [ 42.744189] RSP: 002b:00007f2f379e5cd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 [ 42.751876] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 000000000044a729 [ 42.759126] RDX: 000000000300001f RSI: 0000000000003000 RDI: 0000000020ffa000 [ 42.766381] RBP: 00000000006dbc20 R08: 0000000000000004 R09: 0000000000000000 [ 42.773627] R10: 0000000000002012 R11: 0000000000000246 R12: 00000000006dbc2c [ 42.780873] R13: 00007ffe5e93ceaf R14: 00007f2f379e69c0 R15: 00000000006dbc20 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program