VFS: Can't find a Minix filesystem V1 | V2 | V3 on device loop4. ================================ WARNING: inconsistent lock state 4.19.106-syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz-executor.1/8208 [HC0[0]:SC1[1]:HE1:SE0] takes: 0000000014ec72cb (&(&local->client_conns_lock)->rlock){+.?.}, at: spin_lock include/linux/spinlock.h:329 [inline] 0000000014ec72cb (&(&local->client_conns_lock)->rlock){+.?.}, at: rxrpc_put_one_client_conn net/rxrpc/conn_client.c:949 [inline] 0000000014ec72cb (&(&local->client_conns_lock)->rlock){+.?.}, at: rxrpc_put_client_conn+0x666/0xc00 net/rxrpc/conn_client.c:1002 {SOFTIRQ-ON-W} state was registered at: __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] rxrpc_get_client_conn net/rxrpc/conn_client.c:309 [inline] rxrpc_connect_call+0x301/0x4630 net/rxrpc/conn_client.c:702 rxrpc_new_client_call+0x8c6/0x1850 net/rxrpc/call_object.c:291 rxrpc_new_client_call_for_sendmsg net/rxrpc/sendmsg.c:596 [inline] rxrpc_do_sendmsg+0xf2e/0x1bc1 net/rxrpc/sendmsg.c:652 rxrpc_sendmsg+0x4a8/0x5b0 net/rxrpc/af_rxrpc.c:593 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:632 ___sys_sendmsg+0x3e2/0x920 net/socket.c:2115 __sys_sendmmsg+0x195/0x470 net/socket.c:2210 __do_sys_sendmmsg net/socket.c:2239 [inline] __se_sys_sendmmsg net/socket.c:2236 [inline] __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2236 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe irq event stamp: 8252830 hardirqs last enabled at (8252830): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (8252830): [] _raw_spin_unlock_irqrestore+0x67/0xe0 kernel/locking/spinlock.c:184 hardirqs last disabled at (8252829): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (8252829): [] _raw_spin_lock_irqsave+0x66/0xbf kernel/locking/spinlock.c:152 softirqs last enabled at (8252676): [] __do_softirq+0x650/0x93c kernel/softirq.c:318 softirqs last disabled at (8252817): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (8252817): [] irq_exit+0x17b/0x1c0 kernel/softirq.c:412 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&(&local->client_conns_lock)->rlock); lock(&(&local->client_conns_lock)->rlock); *** DEADLOCK *** 2 locks held by syz-executor.1/8208: #0: 00000000ccbf6749 (&cgroup_threadgroup_rwsem){++++}, at: copy_process kernel/fork.c:1694 [inline] #0: 00000000ccbf6749 (&cgroup_threadgroup_rwsem){++++}, at: _do_fork+0x22f/0xf40 kernel/fork.c:2207 #1: 000000004f96dd11 (rcu_callback){....}, at: __rcu_reclaim kernel/rcu/rcu.h:226 [inline] #1: 000000004f96dd11 (rcu_callback){....}, at: rcu_do_batch kernel/rcu/tree.c:2584 [inline] #1: 000000004f96dd11 (rcu_callback){....}, at: invoke_rcu_callbacks kernel/rcu/tree.c:2897 [inline] #1: 000000004f96dd11 (rcu_callback){....}, at: __rcu_process_callbacks kernel/rcu/tree.c:2864 [inline] #1: 000000004f96dd11 (rcu_callback){....}, at: rcu_process_callbacks+0xbff/0x17f0 kernel/rcu/tree.c:2881 stack backtrace: CPU: 1 PID: 8208 Comm: syz-executor.1 Not tainted 4.19.106-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x188/0x20d lib/dump_stack.c:118 print_usage_bug.cold+0x327/0x425 kernel/locking/lockdep.c:2540 valid_state kernel/locking/lockdep.c:2553 [inline] mark_lock_irq kernel/locking/lockdep.c:2747 [inline] mark_lock+0xc71/0x11b0 kernel/locking/lockdep.c:3127 mark_irqflags kernel/locking/lockdep.c:3005 [inline] __lock_acquire+0xc62/0x49c0 kernel/locking/lockdep.c:3368 lock_acquire+0x170/0x400 kernel/locking/lockdep.c:3903 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] rxrpc_put_one_client_conn net/rxrpc/conn_client.c:949 [inline] rxrpc_put_client_conn+0x666/0xc00 net/rxrpc/conn_client.c:1002 rxrpc_put_connection net/rxrpc/ar-internal.h:951 [inline] rxrpc_rcu_destroy_call+0xb6/0x1e0 net/rxrpc/call_object.c:657 __rcu_reclaim kernel/rcu/rcu.h:236 [inline] rcu_do_batch kernel/rcu/tree.c:2584 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2897 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2864 [inline] rcu_process_callbacks+0xb2d/0x17f0 kernel/rcu/tree.c:2881 __do_softirq+0x26c/0x93c kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x17b/0x1c0 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:544 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1094 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893 RIP: 0010:cgroup_can_fork+0xef/0x240 kernel/cgroup/cgroup.c:5583 Code: e8 96 78 05 00 83 fd 0c 0f 8f 00 01 00 00 e8 18 77 05 00 48 63 eb 48 8d 3c ed 00 71 bb 88 48 89 f8 48 c1 e8 03 42 80 3c 30 00 <0f> 85 2e 01 00 00 48 8b 2c ed 00 71 bb 88 48 8d 7d 60 48 89 f8 48 RSP: 0018:ffff888094fe7b30 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff1176e2b RBX: 000000000000000b RCX: ffffffff816211e5 RDX: 0000000000000000 RSI: ffffffff81621228 RDI: ffffffff88bb7158 RBP: 000000000000000b R08: ffff888094606580 R09: ffffed1015ce4733 R10: ffffed1015ce4732 R11: ffff8880ae723993 R12: ffff88804c924a74 R13: ffff88804c924600 R14: dffffc0000000000 R15: ffff88804c924d00 copy_process.part.0+0x4079/0x7a60 kernel/fork.c:1976 copy_process kernel/fork.c:1694 [inline] _do_fork+0x22f/0xf40 kernel/fork.c:2207 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45aa4a Code: f7 d8 64 89 04 25 d4 02 00 00 64 4c 8b 0c 25 10 00 00 00 31 d2 4d 8d 91 d0 02 00 00 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 f5 00 00 00 85 c0 41 89 c5 0f 85 fc 00 00 RSP: 002b:00007ffdea4b1aa0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007ffdea4b1aa0 RCX: 000000000045aa4a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 00007ffdea4b1ae0 R08: 0000000000000001 R09: 0000000001126940 R10: 0000000001126c10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 00007ffdea4b1b30 audit: type=1800 audit(1582865593.240:104): pid=14366 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed comm="syz-executor.0" name="bus" dev="sda1" ino=16833 res=0 base_sock_release(000000006d22b0af) sk=00000000eadd37bb audit: type=1804 audit(1582865594.700:105): pid=15406 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/667/bus" dev="sda1" ino=16961 res=1 x_tables: duplicate underflow at hook 1 audit: type=1804 audit(1582865594.940:106): pid=15573 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/668/bus" dev="sda1" ino=16945 res=1 x_tables: duplicate underflow at hook 2 x_tables: duplicate underflow at hook 2 audit: type=1804 audit(1582865595.440:107): pid=15846 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/669/bus" dev="sda1" ino=17121 res=1 (unnamed net_device) (uninitialized): HSR: Slave2 device not specified (unnamed net_device) (uninitialized): HSR: Slave2 device not specified audit: type=1804 audit(1582865595.600:108): pid=15958 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/670/bus" dev="sda1" ino=17121 res=1 (unnamed net_device) (uninitialized): HSR: Slave2 device not specified (unnamed net_device) (uninitialized): HSR: Slave2 device not specified (unnamed net_device) (uninitialized): HSR: Slave2 device not specified audit: type=1400 audit(1582865596.250:109): avc: denied { getopt } for pid=15843 comm="syz-executor.4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 audit: type=1804 audit(1582865596.710:110): pid=16024 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/674/bus" dev="sda1" ino=17089 res=1 audit: type=1804 audit(1582865596.810:111): pid=16031 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/675/bus" dev="sda1" ino=17201 res=1 audit: type=1804 audit(1582865596.940:112): pid=16042 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/676/bus" dev="sda1" ino=17201 res=1 audit: type=1804 audit(1582865597.230:113): pid=16171 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/677/bus" dev="sda1" ino=17329 res=1 audit: type=1804 audit(1582865597.440:114): pid=16273 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/678/bus" dev="sda1" ino=17425 res=1 audit: type=1804 audit(1582865597.610:115): pid=16287 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/679/bus" dev="sda1" ino=17425 res=1 audit: type=1804 audit(1582865598.250:116): pid=16335 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/683/bus" dev="sda1" ino=17576 res=1 audit: type=1804 audit(1582865598.490:117): pid=16455 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/684/bus" dev="sda1" ino=17537 res=1 EXT4-fs (loop5): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop5): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop5): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop5): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs error (device loop5): ext4_fill_super:4403: inode #2: comm syz-executor.5: iget: root inode unallocated EXT4-fs (loop5): get root inode failed EXT4-fs (loop5): mount failed kauditd_printk_skb: 9 callbacks suppressed audit: type=1804 audit(1582865600.700:127): pid=16601 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/697/bus" dev="sda1" ino=17570 res=1 audit: type=1804 audit(1582865600.880:128): pid=16614 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/698/bus" dev="sda1" ino=17591 res=1 audit: type=1804 audit(1582865601.140:129): pid=16730 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/699/bus" dev="sda1" ino=17591 res=1 audit: type=1804 audit(1582865601.280:130): pid=16740 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/700/bus" dev="sda1" ino=17565 res=1 audit: type=1804 audit(1582865601.950:131): pid=16789 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/704/bus" dev="sda1" ino=17599 res=1 audit: type=1804 audit(1582865602.200:132): pid=16904 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/705/bus" dev="sda1" ino=17709 res=1 audit: type=1804 audit(1582865602.380:133): pid=16916 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir527165657/syzkaller.z20jYP/706/bus" dev="sda1" ino=17706 res=1