INIT: Id "6" respawning too fast: disabled for 5 minutes INIT: Id "2" respawning too fast: disabled for 5 minutes INIT: Id "3" respawning too fast: disabled for 5 minutes INIT: Id "1" respawning too fast: disabled for 5 minutes INIT: Id "4" respawning too fast: disabled for 5 minutes Warning: Permanently added '10.128.0.6' (ECDSA) to the list of known hosts. 2019/02/12 11:17:12 parsed 1 programs 2019/02/12 11:17:15 executed programs: 0 [ 180.062188] audit: type=1400 audit(1549970236.977:5): avc: denied { associate } for pid=2116 comm="syz-executor.0" name="syz0" scontext=unconfined_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1 2019/02/12 11:17:20 executed programs: 112 2019/02/12 11:17:25 executed programs: 277 2019/02/12 11:17:30 executed programs: 443 2019/02/12 11:17:35 executed programs: 607 [ 202.846237] [ 202.847905] ====================================================== [ 202.854225] [ INFO: possible circular locking dependency detected ] [ 202.860626] 4.9.155+ #27 Not tainted [ 202.864330] ------------------------------------------------------- [ 202.870724] syz-executor.4/6115 is trying to acquire lock: [ 202.876336] (&mm->mmap_sem){++++++}, at: [] __do_page_fault+0x7bd/0xa60 [ 202.885149] but task is already holding lock: [ 202.889807] (&sb->s_type->i_mutex_key#10){+.+.+.}, at: [] generic_file_write_iter+0x9a/0x630 [ 202.900591] which lock already depends on the new lock. [ 202.900591] [ 202.907594] [ 202.907594] the existing dependency chain (in reverse order) is: [ 202.915206] -> #2 (&sb->s_type->i_mutex_key#10){+.+.+.}: [ 202.921520] lock_acquire+0x133/0x3d0 [ 202.925837] down_write+0x41/0xa0 [ 202.929810] shmem_fallocate+0x143/0xab0 [ 202.934389] ashmem_shrink_scan+0x1c3/0x4c0 [ 202.939238] ashmem_ioctl+0x29b/0xdd0 [ 202.943556] do_vfs_ioctl+0xb87/0x11d0 [ 202.947961] SyS_ioctl+0x8f/0xc0 [ 202.951845] do_syscall_64+0x1ad/0x570 [ 202.956269] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 202.961880] -> #1 (ashmem_mutex){+.+.+.}: [ 202.966762] lock_acquire+0x133/0x3d0 [ 202.971072] mutex_lock_nested+0xc7/0x920 [ 202.975732] ashmem_mmap+0x53/0x470 [ 202.979880] mmap_region+0x7e7/0xfa0 [ 202.984111] do_mmap+0x539/0xbc0 [ 202.987999] vm_mmap_pgoff+0x179/0x1c0 [ 202.992400] SyS_mmap_pgoff+0xfa/0x1b0 [ 202.996800] SyS_mmap+0x16/0x20 [ 203.000594] do_syscall_64+0x1ad/0x570 [ 203.005000] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 203.010616] -> #0 (&mm->mmap_sem){++++++}: [ 203.015562] __lock_acquire+0x2d10/0x4350 [ 203.020218] lock_acquire+0x133/0x3d0 [ 203.024532] down_read+0x44/0xb0 [ 203.028411] __do_page_fault+0x7bd/0xa60 [ 203.032984] do_page_fault+0x28/0x30 [ 203.037224] page_fault+0x25/0x30 [ 203.041192] generic_perform_write+0x1b6/0x500 [ 203.046289] __generic_file_write_iter+0x340/0x530 [ 203.051734] generic_file_write_iter+0x38a/0x630 [ 203.056996] __vfs_write+0x3c1/0x560 [ 203.061211] vfs_write+0x185/0x520 [ 203.065259] SyS_write+0xdc/0x1c0 [ 203.069216] do_syscall_64+0x1ad/0x570 [ 203.073615] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 203.079255] [ 203.079255] other info that might help us debug this: [ 203.079255] [ 203.087390] Chain exists of: &mm->mmap_sem --> ashmem_mutex --> &sb->s_type->i_mutex_key#10 [ 203.097241] Possible unsafe locking scenario: [ 203.097241] [ 203.103287] CPU0 CPU1 [ 203.107956] ---- ---- [ 203.112609] lock(&sb->s_type->i_mutex_key#10); [ 203.117769] lock(ashmem_mutex); [ 203.123974] lock(&sb->s_type->i_mutex_key#10); [ 203.131641] lock(&mm->mmap_sem); [ 203.135422] [ 203.135422] *** DEADLOCK *** [ 203.135422] [ 203.141470] 2 locks held by syz-executor.4/6115: [ 203.146207] #0: (sb_writers#6){.+.+.+}, at: [] vfs_write+0x3e9/0x520 [ 203.155089] #1: (&sb->s_type->i_mutex_key#10){+.+.+.}, at: [] generic_file_write_iter+0x9a/0x630 [ 203.166481] [ 203.166481] stack backtrace: [ 203.170953] CPU: 1 PID: 6115 Comm: syz-executor.4 Not tainted 4.9.155+ #27 [ 203.177940] ffff8801d33575d8 ffffffff81b47871 ffffffff83cab180 ffffffff83cb4b10 [ 203.185960] ffffffff83ccd950 ffffffff8424cd40 ffff8801d3de8000 ffff8801d3357630 [ 203.193952] ffffffff813ff29c dffffc0000000000 ffffffff8402e380 ffff8801d3de8900 [ 203.201934] Call Trace: [ 203.204495] [] dump_stack+0xc1/0x120 [ 203.209835] [] print_circular_bug.cold+0x2f6/0x454 [ 203.216389] [] __lock_acquire+0x2d10/0x4350 [ 203.222334] [] ? kasan_unpoison_shadow+0x35/0x50 [ 203.228714] [] ? kasan_alloc_pages+0x38/0x40 [ 203.234748] [] ? trace_hardirqs_on+0x10/0x10 [ 203.240787] [] ? rcu_read_lock_sched_held+0x10b/0x130 [ 203.247601] [] lock_acquire+0x133/0x3d0 [ 203.253202] [] ? __do_page_fault+0x7bd/0xa60 [ 203.259233] [] down_read+0x44/0xb0 [ 203.264396] [] ? __do_page_fault+0x7bd/0xa60 [ 203.270597] [] __do_page_fault+0x7bd/0xa60 [ 203.276464] [] ? debug_lockdep_rcu_enabled+0x71/0xa0 [ 203.283194] [] ? bad_area_access_error+0x3d0/0x3d0 [ 203.289746] [] ? mark_held_locks+0xb1/0x100 [ 203.295693] [] ? shmem_getpage_gfp+0x9dd/0x1b00 [ 203.301986] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 203.308626] [] do_page_fault+0x28/0x30 [ 203.314143] [] page_fault+0x25/0x30 [ 203.319396] [] ? iov_iter_fault_in_readable+0x300/0x3d0 [ 203.326405] [] ? iov_iter_fault_in_readable+0x30d/0x3d0 [ 203.333407] [] ? iov_iter_fault_in_readable+0x300/0x3d0 [ 203.340397] [] ? iov_iter_init+0x1d0/0x1d0 [ 203.346277] [] generic_perform_write+0x1b6/0x500 [ 203.352665] [] ? filemap_page_mkwrite+0x280/0x280 [ 203.359146] [] ? current_time+0xd0/0xd0 [ 203.364745] [] __generic_file_write_iter+0x340/0x530 [ 203.371474] [] generic_file_write_iter+0x38a/0x630 [ 203.378030] [] __vfs_write+0x3c1/0x560 [ 203.383546] [] ? bpf_fd_pass+0x270/0x270 [ 203.389239] [] ? __vfs_read+0x550/0x550 [ 203.394876] [] ? rcu_read_lock_sched_held+0x10b/0x130 [ 203.401688] [] ? rcu_sync_lockdep_assert+0x73/0xb0 [ 203.408244] [] ? __sb_start_write+0x161/0x310 [ 203.414363] [] vfs_write+0x185/0x520 [ 203.419699] [] SyS_write+0xdc/0x1c0 [ 203.424948] [] ? SyS_read+0x1c0/0x1c0 [ 203.430370] [] ? do_syscall_64+0x4a/0x570 [ 203.436146] [] ? SyS_read+0x1c0/0x1c0 [ 203.441571] [] do_syscall_64+0x1ad/0x570 [ 203.447261] [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb 2019/02/12 11:17:40 executed programs: 761 2019/02/12 11:17:45 executed programs: 1047