Warning: Permanently added '10.128.0.21' (ECDSA) to the list of known hosts. [ 41.888918] random: sshd: uninitialized urandom read (32 bytes read) [ 41.978384] audit: type=1400 audit(1539634771.450:7): avc: denied { map } for pid=1787 comm="syz-execprog" path="/root/syz-execprog" dev="sda1" ino=16479 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 2018/10/15 20:19:31 parsed 1 programs [ 42.480237] audit: type=1400 audit(1539634771.950:8): avc: denied { map } for pid=1787 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=4999 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:debugfs_t:s0 tclass=file permissive=1 [ 43.115963] random: cc1: uninitialized urandom read (8 bytes read) 2018/10/15 20:19:33 executed programs: 0 [ 44.440127] audit: type=1400 audit(1539634773.910:9): avc: denied { map } for pid=1787 comm="syz-execprog" path="/root/syzkaller-shm608069533" dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file permissive=1 2018/10/15 20:19:40 executed programs: 6 [ 53.893529] [ 53.895186] ====================================================== [ 53.901488] WARNING: possible circular locking dependency detected [ 53.907788] 4.14.76+ #19 Not tainted [ 53.911489] ------------------------------------------------------ [ 53.917790] syz-executor5/4863 is trying to acquire lock: [ 53.923297] (&sig->cred_guard_mutex){+.+.}, at: [] lock_trace+0x3f/0xc0 [ 53.931684] [ 53.931684] but task is already holding lock: [ 53.937627] (&p->lock){+.+.}, at: [] seq_read+0xd4/0x11d0 [ 53.944795] [ 53.944795] which lock already depends on the new lock. [ 53.944795] [ 53.953089] [ 53.953089] the existing dependency chain (in reverse order) is: [ 53.960686] [ 53.960686] -> #2 (&p->lock){+.+.}: [ 53.965886] __mutex_lock+0xf5/0x1480 [ 53.970201] seq_read+0xd4/0x11d0 [ 53.974171] proc_reg_read+0xef/0x170 [ 53.978466] do_iter_read+0x3cc/0x580 [ 53.982758] vfs_readv+0xe6/0x150 [ 53.986706] default_file_splice_read+0x495/0x860 [ 53.992041] do_splice_to+0x102/0x150 [ 53.996332] SyS_splice+0xf4d/0x12a0 [ 54.000547] do_syscall_64+0x19b/0x4b0 [ 54.004945] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 54.010627] [ 54.010627] -> #1 (&pipe->mutex/1){+.+.}: [ 54.016240] __mutex_lock+0xf5/0x1480 [ 54.020544] fifo_open+0x156/0x9d0 [ 54.024589] do_dentry_open+0x426/0xda0 [ 54.029075] vfs_open+0x11c/0x210 [ 54.033144] path_openat+0x4eb/0x23a0 [ 54.037469] do_filp_open+0x197/0x270 [ 54.041768] do_open_execat+0x10d/0x5b0 [ 54.046241] do_execveat_common.isra.14+0x6cb/0x1d60 [ 54.051927] SyS_execve+0x34/0x40 [ 54.055883] do_syscall_64+0x19b/0x4b0 [ 54.060266] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 54.065948] [ 54.065948] -> #0 (&sig->cred_guard_mutex){+.+.}: [ 54.072256] lock_acquire+0x10f/0x380 [ 54.076551] __mutex_lock+0xf5/0x1480 [ 54.080845] lock_trace+0x3f/0xc0 [ 54.084801] proc_pid_syscall+0xa2/0x240 [ 54.089399] proc_single_show+0xf1/0x160 [ 54.094001] seq_read+0x4e0/0x11d0 [ 54.098045] do_iter_read+0x3cc/0x580 [ 54.102339] vfs_readv+0xe6/0x150 [ 54.106287] default_file_splice_read+0x495/0x860 [ 54.111622] do_splice_to+0x102/0x150 [ 54.115918] splice_direct_to_actor+0x21d/0x750 [ 54.121126] do_splice_direct+0x17b/0x220 [ 54.125769] do_sendfile+0x4a1/0xb50 [ 54.129978] SyS_sendfile64+0xab/0x140 [ 54.134379] do_syscall_64+0x19b/0x4b0 [ 54.138763] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 54.144448] [ 54.144448] other info that might help us debug this: [ 54.144448] [ 54.152563] Chain exists of: [ 54.152563] &sig->cred_guard_mutex --> &pipe->mutex/1 --> &p->lock [ 54.152563] [ 54.163376] Possible unsafe locking scenario: [ 54.163376] [ 54.169406] CPU0 CPU1 [ 54.174054] ---- ---- [ 54.178698] lock(&p->lock); [ 54.182132] lock(&pipe->mutex/1); [ 54.188249] lock(&p->lock); [ 54.193843] lock(&sig->cred_guard_mutex); [ 54.198163] [ 54.198163] *** DEADLOCK *** [ 54.198163] [ 54.204198] 2 locks held by syz-executor5/4863: [ 54.208855] #0: (sb_writers#7){.+.+}, at: [] do_sendfile+0x9b5/0xb50 [ 54.217149] #1: (&p->lock){+.+.}, at: [] seq_read+0xd4/0x11d0 [ 54.224836] [ 54.224836] stack backtrace: [ 54.229363] CPU: 1 PID: 4863 Comm: syz-executor5 Not tainted 4.14.76+ #19 [ 54.236262] Call Trace: [ 54.238826] dump_stack+0xb9/0x11b [ 54.242341] print_circular_bug.isra.18.cold.43+0x2d3/0x40c [ 54.248042] ? save_trace+0xd6/0x250 [ 54.251731] __lock_acquire+0x2ff9/0x4320 [ 54.255857] ? trace_hardirqs_on+0x10/0x10 [ 54.260066] ? unwind_next_frame+0xea9/0x1930 [ 54.264552] ? __is_insn_slot_addr+0x112/0x1f0 [ 54.269104] lock_acquire+0x10f/0x380 [ 54.272879] ? lock_trace+0x3f/0xc0 [ 54.276480] ? lock_trace+0x3f/0xc0 [ 54.280078] __mutex_lock+0xf5/0x1480 [ 54.283852] ? lock_trace+0x3f/0xc0 [ 54.287457] ? lock_trace+0x3f/0xc0 [ 54.291055] ? _raw_spin_unlock_irqrestore+0x54/0x70 [ 54.296137] ? __ww_mutex_wakeup_for_backoff+0x240/0x240 [ 54.301567] ? __lock_acquire+0x619/0x4320 [ 54.305778] ? kasan_kmalloc.part.1+0xa9/0xd0 [ 54.310262] ? kasan_kmalloc.part.1+0x4f/0xd0 [ 54.314731] ? __kmalloc+0x153/0x340 [ 54.318416] ? kvmalloc_node+0x42/0xd0 [ 54.322280] ? lock_trace+0x3f/0xc0 [ 54.325970] lock_trace+0x3f/0xc0 [ 54.329399] proc_pid_syscall+0xa2/0x240 [ 54.333435] ? mem_read+0x60/0x60 [ 54.336859] ? seq_read+0xd4/0x11d0 [ 54.340461] ? __is_insn_slot_addr+0x112/0x1f0 [ 54.345021] ? get_pid_task+0x95/0x140 [ 54.348877] ? lock_downgrade+0x560/0x560 [ 54.353003] ? check_preemption_disabled+0x34/0x160 [ 54.358016] proc_single_show+0xf1/0x160 [ 54.362054] seq_read+0x4e0/0x11d0 [ 54.365587] ? seq_lseek+0x3d0/0x3d0 [ 54.369289] ? avc_policy_seqno+0x5/0x10 [ 54.373323] ? security_file_permission+0x88/0x1e0 [ 54.378233] do_iter_read+0x3cc/0x580 [ 54.382009] vfs_readv+0xe6/0x150 [ 54.385435] ? compat_rw_copy_check_uvector+0x320/0x320 [ 54.390770] ? kasan_unpoison_shadow+0x30/0x40 [ 54.395324] ? kasan_kmalloc+0x76/0xc0 [ 54.399192] ? iov_iter_get_pages_alloc+0x2c8/0xe40 [ 54.404188] ? iov_iter_get_pages+0xc80/0xc80 [ 54.408664] default_file_splice_read+0x495/0x860 [ 54.413482] ? do_splice_direct+0x220/0x220 [ 54.417776] ? kasan_kmalloc.part.1+0xa9/0xd0 [ 54.422243] ? kasan_kmalloc.part.1+0x4f/0xd0 [ 54.426711] ? __kmalloc+0x153/0x340 [ 54.430417] ? alloc_pipe_info+0x15b/0x370 [ 54.434652] ? splice_direct_to_actor+0x5ae/0x750 [ 54.439467] ? do_splice_direct+0x17b/0x220 [ 54.443784] ? do_sendfile+0x4a1/0xb50 [ 54.447648] ? do_syscall_64+0x19b/0x4b0 [ 54.451700] ? entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 54.457044] ? fsnotify+0x639/0x12d0 [ 54.460738] ? migrate_swap_stop+0x810/0x810 [ 54.465118] ? plist_check_prev_next+0x83/0xb0 [ 54.469685] ? __fsnotify_inode_delete+0x20/0x20 [ 54.474415] ? __fsnotify_parent+0xb1/0x300 [ 54.478712] ? __fsnotify_update_child_dentry_flags.part.0+0x2e0/0x2e0 [ 54.485354] ? __inode_security_revalidate+0xd5/0x120 [ 54.490518] ? avc_policy_seqno+0x5/0x10 [ 54.494567] ? security_file_permission+0x88/0x1e0 [ 54.499581] ? rw_verify_area+0xdd/0x280 [ 54.503617] ? do_splice_direct+0x220/0x220 [ 54.507910] do_splice_to+0x102/0x150 [ 54.511686] ? alloc_pipe_info+0x28c/0x370 [ 54.515894] splice_direct_to_actor+0x21d/0x750 [ 54.520553] ? pipe_to_sendpage+0x300/0x300 [ 54.524850] ? do_splice_to+0x150/0x150 [ 54.528797] ? security_file_permission+0x88/0x1e0 [ 54.533701] do_splice_direct+0x17b/0x220 [ 54.537822] ? splice_direct_to_actor+0x750/0x750 [ 54.542636] ? rcu_read_lock_sched_held+0x102/0x120 [ 54.547623] do_sendfile+0x4a1/0xb50 [ 54.551318] ? do_compat_pwritev64+0x170/0x170 [ 54.555881] ? __might_fault+0xd4/0x1b0 [ 54.559828] ? __might_fault+0x177/0x1b0 [ 54.563861] SyS_sendfile64+0xab/0x140 [ 54.567728] ? SyS_sendfile+0x150/0x150 [ 54.571674] ? do_syscall_64+0x43/0x4b0 [ 54.575620] ? SyS_sendfile+0x150/0x150 [ 54.579566] do_syscall_64+0x19b/0x4b0 [ 54.583428] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 54.588591] RIP: 0033:0x457569 [ 54.591755] RSP: 002b:00007f78a3449c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 [ 54.599433] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 [ 54.606683] RDX: 0000000020000240 RSI: 0000000000000007 RDI: 0000000000000006 [ 54.613930] RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000 [ 54.621197] R10: 0000000000000001 R11: 0000000000000246 R12: 00007f78a344a6d4 [ 54.628443] R13: 00000000004c34d0 R14: 00000000004d5298 R15: 00000000ffffffff 2018/10/15 20:19:45 executed programs: 257