EXT4-fs (loop4): mounting ext2 file system using the ext4 subsystem EXT4-fs (loop4): invalid inodes per group: 16384 ====================================================== WARNING: possible circular locking dependency detected 4.14.94+ #12 Not tainted ------------------------------------------------------ syz-executor2/26248 is trying to acquire lock: (&pipe->mutex/1){+.+.}, at: [] __pipe_lock fs/pipe.c:88 [inline] (&pipe->mutex/1){+.+.}, at: [] fifo_open+0x156/0x9b0 fs/pipe.c:921 but task is already holding lock: (&sig->cred_guard_mutex){+.+.}, at: [] prepare_bprm_creds+0x51/0x110 fs/exec.c:1389 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #2 (&sig->cred_guard_mutex){+.+.}: -> #1 (&p->lock){+.+.}: -> #0 (&pipe->mutex/1){+.+.}: other info that might help us debug this: Chain exists of: &pipe->mutex/1 --> &p->lock --> &sig->cred_guard_mutex Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&sig->cred_guard_mutex); lock(&p->lock); lock(&sig->cred_guard_mutex); lock(&pipe->mutex/1); *** DEADLOCK *** 1 lock held by syz-executor2/26248: #0: (&sig->cred_guard_mutex){+.+.}, at: [] prepare_bprm_creds+0x51/0x110 fs/exec.c:1389 stack backtrace: CPU: 1 PID: 26248 Comm: syz-executor2 Not tainted 4.14.94+ #12 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x10e lib/dump_stack.c:53 print_circular_bug.isra.0.cold+0x2dc/0x425 kernel/locking/lockdep.c:1258 EXT4-fs (loop4): mounting ext2 file system using the ext4 subsystem EXT4-fs (loop4): invalid inodes per group: 16384 loop5: p1 p2 p3 p4 < > loop5: partition table partially beyond EOD, truncated loop5: p1 start 1 is beyond EOD, truncated loop5: p2 start 101 is beyond EOD, truncated loop5: p3 start 201 is beyond EOD, truncated loop5: p4 start 301 is beyond EOD, truncated EXT4-fs (loop4): mounting ext2 file system using the ext4 subsystem EXT4-fs (loop4): invalid inodes per group: 16384 loop5: p1 p2 p3 p4 < > loop3: p1 p2 p3 p4 < > EXT4-fs (loop4): mounting ext2 file system using the ext4 subsystem loop5: partition table partially beyond EOD, loop3: partition table partially beyond EOD, EXT4-fs (loop4): invalid inodes per group: 16384 truncated truncated loop3: p1 start 1 is beyond EOD, truncated loop3: p2 start 101 is beyond EOD, truncated loop3: p3 start 201 is beyond EOD, truncated loop5: p1 start 1 is beyond EOD, truncated loop5: p2 start 101 is beyond EOD, truncated loop1: p1 p2 p3 p4 < > loop1: partition table partially beyond EOD, truncated loop3: p4 start 301 is beyond EOD, truncated loop1: p1 start 1 is beyond EOD, truncated loop5: p3 start 201 is beyond EOD, truncated loop1: p2 start 101 is beyond EOD, truncated loop5: p4 start 301 is beyond EOD, truncated loop1: p3 start 201 is beyond EOD, truncated loop1: p4 start 301 is beyond EOD, truncated loop3: p1 p2 p3 p4 < > loop3: partition table partially beyond EOD, truncated loop3: p1 start 1 is beyond EOD, truncated loop3: p2 start 101 is beyond EOD, truncated loop3: p3 start 201 is beyond EOD, truncated loop3: p4 start 301 is beyond EOD, truncated loop5: p1 p2 p3 p4 < > loop5: partition table partially beyond EOD, truncated loop5: p1 start 1 is beyond EOD, truncated loop5: p2 start 101 is beyond EOD, truncated loop5: p3 start 201 is beyond EOD, truncated loop5: p4 start 301 is beyond EOD, truncated loop1: p1 p2 p3 p4 < > loop1: partition table partially beyond EOD, truncated loop1: p1 start 1 is beyond EOD, truncated loop1: p2 start 101 is beyond EOD, truncated loop1: p3 start 201 is beyond EOD, truncated loop1: p4 start 301 is beyond EOD, truncated loop3: p1 p2 p3 p4 < > loop3: partition table partially beyond EOD, truncated loop3: p1 start 1 is beyond EOD, truncated loop3: p2 start 101 is beyond EOD, truncated loop3: p3 start 201 is beyond EOD, truncated loop3: p4 start 301 is beyond EOD, truncated loop5: p1 p2 p3 p4 < > loop5: partition table partially beyond EOD, truncated loop5: p1 start 1 is beyond EOD, truncated loop5: p2 start 101 is beyond EOD, truncated loop5: p3 start 201 is beyond EOD, truncated loop5: p4 start 301 is beyond EOD, truncated loop1: p1 p2 p3 p4 < > loop1: partition table partially beyond EOD, truncated loop1: p1 start 1 is beyond EOD, truncated loop1: p2 start 101 is beyond EOD, truncated loop1: p3 start 201 is beyond EOD, truncated loop1: p4 start 301 is beyond EOD, truncated loop3: p1 p2 p3 p4 < > loop3: partition table partially beyond EOD, truncated loop3: p1 start 1 is beyond EOD, truncated loop3: p2 start 101 is beyond EOD, truncated loop3: p3 start 201 is beyond EOD, truncated loop3: p4 start 301 is beyond EOD, truncated loop5: p1 p2 p3 p4 < > loop5: partition table partially beyond EOD, truncated loop5: p1 start 1 is beyond EOD, truncated loop5: p2 start 101 is beyond EOD, truncated loop5: p3 start 201 is beyond EOD, truncated loop5: p4 start 301 is beyond EOD, truncated loop1: p1 p2 p3 p4 < > loop1: partition table partially beyond EOD, truncated loop1: p1 start 1 is beyond EOD, truncated loop1: p2 start 101 is beyond EOD, truncated loop1: p3 start 201 is beyond EOD, truncated loop1: p4 start 301 is beyond EOD, truncated loop3: p1 p2 p3 p4 < > loop3: partition table partially beyond EOD, truncated loop3: p1 start 1 is beyond EOD, truncated loop3: p2 start 101 is beyond EOD, truncated loop3: p3 start 201 is beyond EOD, truncated loop3: p4 start 301 is beyond EOD, truncated loop5: p1 p2 p3 p4 < > loop5: partition table partially beyond EOD, truncated loop5: p1 start 1 is beyond EOD, truncated loop5: p2 start 101 is beyond EOD, truncated loop5: p3 start 201 is beyond EOD, truncated loop5: p4 start 301 is beyond EOD, truncated loop1: p1 p2 p3 p4 < > loop1: partition table partially beyond EOD, truncated loop1: p1 start 1 is beyond EOD, truncated loop1: p2 start 101 is beyond EOD, truncated loop1: p3 start 201 is beyond EOD, truncated loop1: p4 start 301 is beyond EOD, truncated loop3: p1 p2 p3 p4 < > loop3: partition table partially beyond EOD, truncated loop3: p1 start 1 is beyond EOD, truncated loop3: p2 start 101 is beyond EOD, truncated loop3: p3 start 201 is beyond EOD, truncated loop3: p4 start 301 is beyond EOD, truncated loop5: p1 p2 p3 p4 < > loop5: partition table partially beyond EOD, truncated loop5: p1 start 1 is beyond EOD, truncated loop5: p2 start 101 is beyond EOD, truncated loop5: p3 start 201 is beyond EOD, truncated loop5: p4 start 301 is beyond EOD, truncated loop1: p1 p2 p3 p4 < > loop1: partition table partially beyond EOD, truncated loop1: p1 start 1 is beyond EOD, truncated loop1: p2 start 101 is beyond EOD, truncated loop1: p3 start 201 is beyond EOD, truncated loop1: p4 start 301 is beyond EOD, truncated loop3: p1 p2 p3 p4 < > loop3: partition table partially beyond EOD, truncated loop3: p1 start 1 is beyond EOD, truncated loop3: p2 start 101 is beyond EOD, truncated loop3: p3 start 201 is beyond EOD, truncated loop3: p4 start 301 is beyond EOD, truncated loop5: p1 p2 p3 p4 < > loop5: partition table partially beyond EOD, truncated loop5: p1 start 1 is beyond EOD, truncated loop5: p2 start 101 is beyond EOD, truncated loop5: p3 start 201 is beyond EOD, truncated loop5: p4 start 301 is beyond EOD, truncated loop1: p1 p2 p3 p4 < > loop1: partition table partially beyond EOD, truncated loop1: p1 start 1 is beyond EOD, truncated loop1: p2 start 101 is beyond EOD, truncated loop1: p3 start 201 is beyond EOD, truncated loop1: p4 start 301 is beyond EOD, truncated loop3: p1 p2 p3 p4 < > loop3: partition table partially beyond EOD, truncated loop3: p1 start 1 is beyond EOD, truncated loop3: p2 start 101 is beyond EOD, truncated loop3: p3 start 201 is beyond EOD, truncated loop3: p4 start 301 is beyond EOD, truncated loop5: p1 p2 p3 p4 < > loop5: partition table partially beyond EOD, truncated loop5: p1 start 1 is beyond EOD, truncated loop5: p2 start 101 is beyond EOD, truncated loop5: p3 start 201 is beyond EOD, truncated loop5: p4 start 301 is beyond EOD, truncated loop1: p1 p2 p3 p4 < > loop1: partition table partially beyond EOD, truncated loop1: p1 start 1 is beyond EOD, truncated loop1: p2 start 101 is beyond EOD, truncated loop1: p3 start 201 is beyond EOD, truncated loop1: p4 start 301 is beyond EOD, truncated loop3: p1 p2 p3 p4 < > loop3: partition table partially beyond EOD, truncated loop3: p1 start 1 is beyond EOD, truncated loop3: p2 start 101 is beyond EOD, truncated loop3: p3 start 201 is beyond EOD, truncated loop3: p4 start 301 is beyond EOD, truncated loop5: p1 p2 p3 p4 < > loop5: partition table partially beyond EOD, truncated loop5: p1 start 1 is beyond EOD, truncated loop5: p2 start 101 is beyond EOD, truncated loop5: p3 start 201 is beyond EOD, truncated loop5: p4 start 301 is beyond EOD, truncated