IPVS: sync thread started: state = BACKUP, mcast_ifn = veth1_to_team, syncid = 0, id = 0 ================================ WARNING: inconsistent lock state 4.19.104-syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz-fuzzer/8156 [HC0[0]:SC1[1]:HE1:SE0] takes: 00000000bf9122ca (rxrpc_conn_id_lock){+.?.}, at: spin_lock include/linux/spinlock.h:329 [inline] 00000000bf9122ca (rxrpc_conn_id_lock){+.?.}, at: rxrpc_put_client_connection_id.part.0+0x19/0x70 net/rxrpc/conn_client.c:143 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:3903 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2f/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] rxrpc_get_client_connection_id net/rxrpc/conn_client.c:114 [inline] rxrpc_alloc_client_connection net/rxrpc/conn_client.c:198 [inline] rxrpc_get_client_conn net/rxrpc/conn_client.c:345 [inline] rxrpc_connect_call+0x948/0x4920 net/rxrpc/conn_client.c:702 rxrpc_new_client_call+0x8e7/0x1880 net/rxrpc/call_object.c:291 rxrpc_new_client_call_for_sendmsg net/rxrpc/sendmsg.c:596 [inline] rxrpc_do_sendmsg+0xfc3/0x1ca3 net/rxrpc/sendmsg.c:652 rxrpc_sendmsg+0x4a0/0x5b0 net/rxrpc/af_rxrpc.c:593 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xd7/0x130 net/socket.c:632 ___sys_sendmsg+0x3e2/0x920 net/socket.c:2115 __sys_sendmmsg+0x1bf/0x4e0 net/socket.c:2210 __do_sys_sendmmsg net/socket.c:2239 [inline] __se_sys_sendmmsg net/socket.c:2236 [inline] __x64_sys_sendmmsg+0x9d/0x100 net/socket.c:2236 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe irq event stamp: 3937330 hardirqs last enabled at (3937330): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (3937330): [] _raw_spin_unlock_irqrestore+0x6b/0xe0 kernel/locking/spinlock.c:184 hardirqs last disabled at (3937329): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (3937329): [] _raw_spin_lock_irqsave+0x6f/0xcd kernel/locking/spinlock.c:152 softirqs last enabled at (3936578): [] __do_softirq+0x633/0x921 kernel/softirq.c:318 softirqs last disabled at (3937301): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (3937301): [] irq_exit+0x180/0x1d0 kernel/softirq.c:412 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(rxrpc_conn_id_lock); lock(rxrpc_conn_id_lock); *** DEADLOCK *** 1 lock held by syz-fuzzer/8156: #0: 0000000025973fbe (rcu_callback){....}, at: __rcu_reclaim kernel/rcu/rcu.h:226 [inline] #0: 0000000025973fbe (rcu_callback){....}, at: rcu_do_batch kernel/rcu/tree.c:2584 [inline] #0: 0000000025973fbe (rcu_callback){....}, at: invoke_rcu_callbacks kernel/rcu/tree.c:2897 [inline] #0: 0000000025973fbe (rcu_callback){....}, at: __rcu_process_callbacks kernel/rcu/tree.c:2864 [inline] #0: 0000000025973fbe (rcu_callback){....}, at: rcu_process_callbacks+0xc79/0x1a30 kernel/rcu/tree.c:2881 stack backtrace: CPU: 1 PID: 8156 Comm: syz-fuzzer Not tainted 4.19.104-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+0x197/0x210 lib/dump_stack.c:118 print_usage_bug.cold+0x330/0x42a kernel/locking/lockdep.c:2540 valid_state kernel/locking/lockdep.c:2553 [inline] mark_lock_irq kernel/locking/lockdep.c:2747 [inline] mark_lock+0xd1b/0x1370 kernel/locking/lockdep.c:3127 mark_irqflags kernel/locking/lockdep.c:3005 [inline] __lock_acquire+0xc62/0x49c0 kernel/locking/lockdep.c:3368 lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:3903 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2f/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] rxrpc_put_client_connection_id.part.0+0x19/0x70 net/rxrpc/conn_client.c:143 rxrpc_put_client_connection_id include/linux/spinlock.h:370 [inline] rxrpc_put_one_client_conn net/rxrpc/conn_client.c:956 [inline] rxrpc_put_client_conn+0x6c6/0xc20 net/rxrpc/conn_client.c:1002 rxrpc_put_connection net/rxrpc/ar-internal.h:951 [inline] rxrpc_rcu_destroy_call+0xbd/0x200 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+0xba0/0x1a30 kernel/rcu/tree.c:2881 __do_softirq+0x25c/0x921 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x180/0x1d0 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:544 [inline] smp_apic_timer_interrupt+0x13b/0x550 arch/x86/kernel/apic/apic.c:1094 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893 RIP: 0033:0x409df9 Code: f6 c1 04 0f 85 46 01 00 00 0f b6 48 09 84 c9 0f 85 86 00 00 00 48 8b 40 10 eb 58 48 ff c2 48 83 c1 04 48 83 fa 08 73 38 8b 19 <8b> 74 24 38 39 f3 75 e9 0f b6 1c 02 84 db 74 e1 48 8b 4c 24 28 0f RSP: 002b:000000c42d9e17a0 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: 000000c42d2b6c30 RBX: 000000009e1cd81b RCX: 000000c42d2b6c38 RDX: 0000000000000000 RSI: 0000000000866760 RDI: 0000000000000038 RBP: 000000c42d9e17b8 R08: 000000c422690000 R09: 0000000000000000 R10: 00000000009ea18e R11: 0000000000000004 R12: 0000000000000000 R13: 0000000000000020 R14: 0000000000000013 R15: 0000000000000100 IPVS: stopping backup sync thread 22341 ... IPVS: sync thread started: state = BACKUP, mcast_ifn = veth1_to_team, syncid = 0, id = 0 IPVS: stopping backup sync thread 22385 ... IPVS: sync thread started: state = BACKUP, mcast_ifn = veth1_to_team, syncid = 0, id = 0 IPVS: stopping backup sync thread 22398 ... IPVS: sync thread started: state = BACKUP, mcast_ifn = veth1_to_team, syncid = 0, id = 0 device hsr_slave_0 left promiscuous mode EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended audit: type=1800 audit(1582078616.163:91): pid=22663 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed(directio) comm="syz-executor.0" name="file0" dev="loop0" ino=127 res=0 EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock jbd2_journal_init_inode: Cannot locate journal superblock EXT4-fs (loop3): Could not load journal inode EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock jbd2_journal_init_inode: Cannot locate journal superblock EXT4-fs (loop3): Could not load journal inode EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock jbd2_journal_init_inode: Cannot locate journal superblock EXT4-fs (loop3): Could not load journal inode EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock jbd2_journal_init_inode: Cannot locate journal superblock EXT4-fs (loop3): Could not load journal inode EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): bad geometry: block count 1080 exceeds size of device (1 blocks) EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): bad geometry: block count 1080 exceeds size of device (1 blocks) EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): bad geometry: block count 1080 exceeds size of device (1 blocks) EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs error (device loop3): ext4_fill_super:4407: inode #2: comm syz-executor.3: iget: bad extended attribute block 135266304 EXT4-fs (loop3): get root inode failed EXT4-fs (loop3): mount failed EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs error (device loop3): ext4_fill_super:4407: inode #2: comm syz-executor.3: iget: bad extended attribute block 135266304 EXT4-fs (loop3): get root inode failed EXT4-fs (loop3): mount failed EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs error (device loop3): ext4_fill_super:4407: inode #2: comm syz-executor.3: iget: bad extended attribute block 135266304 EXT4-fs (loop3): get root inode failed EXT4-fs (loop3): mount failed EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs (loop3): failed to open journal device unknown-block(0,0): -6 EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs (loop3): failed to open journal device unknown-block(0,0): -6 EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs (loop3): failed to open journal device unknown-block(0,0): -6 audit: type=1400 audit(1582078621.223:92): avc: denied { map } for pid=24170 comm="sh" path="/bin/dash" dev="sda1" ino=1473 scontext=system_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs (loop3): failed to open journal device unknown-block(0,0): -6 EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs (loop3): failed to open journal device unknown-block(0,0): -6 EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs (loop3): failed to open journal device unknown-block(0,0): -6 EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs (loop3): failed to open journal device unknown-block(0,0): -6 EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs (loop3): failed to open journal device unknown-block(0,0): -6 audit: type=1800 audit(1582078623.493:93): pid=24527 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed(directio) comm="syz-executor.1" name="file0" dev="loop1" ino=128 res=0 EXT4-fs (loop3): feature flags set on rev 0 fs, running e2fsck is recommended audit: type=1804 audit(1582078623.523:94): pid=24527 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-testdir392197242/syzkaller.14fXl6/409/file0/file0" dev="loop1" ino=128 res=1 EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs (loop3): failed to open journal device unknown-block(0,0): -6 audit: type=1800 audit(1582078623.903:95): pid=24674 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=collect_data cause=failed(directio) comm="syz-executor.1" name="file0" dev="loop1" ino=129 res=0 EXT4-fs (loop3): ext4_check_descriptors: Block bitmap for group 0 overlaps superblock audit: type=1804 audit(1582078623.953:96): pid=24674 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-testdir392197242/syzkaller.14fXl6/410/file0/file0" dev="loop1" ino=129 res=1 EXT4-fs (loop3): ext4_check_descriptors: Inode bitmap for group 0 overlaps superblock EXT4-fs (loop3): ext4_check_descriptors: Inode table for group 0 overlaps superblock EXT4-fs error (device loop3): ext4_fill_super:4407: inode #2: comm syz-executor.3: iget: bad extended attribute block 135266304