syz-executor.1 (8644) used greatest stack depth: 21888 bytes left ================================ WARNING: inconsistent lock state 4.19.105-syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz-executor.1/8720 [HC0[0]:SC1[1]:HE1:SE0] takes: 00000000af4b5030 (rxrpc_conn_id_lock){+.?.}, at: spin_lock include/linux/spinlock.h:329 [inline] 00000000af4b5030 (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: 84 hardirqs last enabled at (84): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (84): [] _raw_spin_unlock_irqrestore+0x6b/0xe0 kernel/locking/spinlock.c:184 hardirqs last disabled at (83): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (83): [] _raw_spin_lock_irqsave+0x6f/0xcd kernel/locking/spinlock.c:152 softirqs last enabled at (0): [] copy_process.part.0+0x15b2/0x7a60 kernel/fork.c:1840 softirqs last disabled at (33): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (33): [] 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 *** 2 locks held by syz-executor.1/8720: #0: 0000000099e87634 (rcu_read_lock){....}, at: path_init+0x56d/0x18f0 fs/namei.c:2179 #1: 00000000fa317c81 (rcu_callback){....}, at: __rcu_reclaim kernel/rcu/rcu.h:226 [inline] #1: 00000000fa317c81 (rcu_callback){....}, at: rcu_do_batch kernel/rcu/tree.c:2584 [inline] #1: 00000000fa317c81 (rcu_callback){....}, at: invoke_rcu_callbacks kernel/rcu/tree.c:2897 [inline] #1: 00000000fa317c81 (rcu_callback){....}, at: __rcu_process_callbacks kernel/rcu/tree.c:2864 [inline] #1: 00000000fa317c81 (rcu_callback){....}, at: rcu_process_callbacks+0xc79/0x1a30 kernel/rcu/tree.c:2881 stack backtrace: CPU: 1 PID: 8720 Comm: syz-executor.1 Not tainted 4.19.105-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: 0010:acl_permission_check fs/namei.c:299 [inline] RIP: 0010:generic_permission+0x96/0x4f0 fs/namei.c:341 Code: 80 3c 02 00 0f 85 3d 04 00 00 4d 8b bf a0 06 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7f 2c 48 89 fa 48 c1 ea 03 0f b6 14 02 <48> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 62 03 00 00 49 RSP: 0018:ffff88804a237968 EFLAGS: 00000a03 ORIG_RAX: ffffffffffffff13 RAX: dffffc0000000000 RBX: 00000000000041ed RCX: 1ffffffff1278910 RDX: 0000000000000000 RSI: ffffffff81aeb12c RDI: ffff8880800b592c RBP: ffff88804a237998 R08: ffff88804a22a680 R09: 0000000000000000 R10: ffffed10150d3a30 R11: 0000000000000000 R12: ffff888219f6c230 R13: 0000000000000081 R14: 0000000000000000 R15: ffff8880800b5900 do_inode_permission fs/namei.c:393 [inline] inode_permission+0x98/0x560 fs/namei.c:451 may_lookup fs/namei.c:1697 [inline] link_path_walk.part.0+0x1c0/0x1330 fs/namei.c:2085 link_path_walk fs/namei.c:2073 [inline] path_openat+0x211/0x44a0 fs/namei.c:3536 do_filp_open+0x1a1/0x280 fs/namei.c:3567 do_sys_open+0x3fe/0x550 fs/open.c:1088 __do_sys_open fs/open.c:1106 [inline] __se_sys_open fs/open.c:1101 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1101 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4161e1 Code: 75 14 b8 02 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 19 00 00 c3 48 83 ec 08 e8 0a fa ff ff 48 89 04 24 b8 02 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fa ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f1accb9c7a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 00000000004161e1 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007f1accb9c850 RBP: 000000000076bf20 R08: 000000000000000f R09: 0000000000000000 R10: 00007f1accb9d9d0 R11: 0000000000000293 R12: 00000000ffffffff R13: 0000000000000be3 R14: 00000000004cdd24 R15: 000000000076bf2c xt_CT: netfilter: NOTRACK target is deprecated, use CT instead or upgrade iptables ipt_CLUSTERIP: Please specify destination IP audit: type=1400 audit(1582208017.156:46): avc: denied { mac_admin } for pid=8741 comm="syz-executor.1" capability=33 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=capability2 permissive=1 SELinux: Context system_u:ob is not valid (left unmapped). ipt_CLUSTERIP: Please specify destination IP ipt_CLUSTERIP: Please specify destination IP ipt_CLUSTERIP: Please specify destination IP audit: type=1800 audit(1582208019.876:47): pid=8853 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.1" name="SYSV00000000" dev="hugetlbfs" ino=0 res=0 audit: type=1800 audit(1582208020.016:48): pid=8865 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.1" name="SYSV00000000" dev="hugetlbfs" ino=65537 res=0 audit: type=1800 audit(1582208020.056:49): pid=8867 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.5" name="SYSV00000000" dev="hugetlbfs" ino=0 res=0 audit: type=1800 audit(1582208020.176:50): pid=8875 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.1" name="SYSV00000000" dev="hugetlbfs" ino=98305 res=0 audit: type=1800 audit(1582208020.226:51): pid=8878 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.5" name="SYSV00000000" dev="hugetlbfs" ino=32768 res=0 audit: type=1800 audit(1582208020.766:52): pid=8887 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.1" name="SYSV00000000" dev="hugetlbfs" ino=131073 res=0 (unnamed net_device) (uninitialized): HSR: Slave2 device not specified audit: type=1800 audit(1582208020.786:53): pid=8896 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.5" name="SYSV00000000" dev="hugetlbfs" ino=65536 res=0 audit: type=1800 audit(1582208020.796:54): pid=8895 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="SYSV00000000" dev="hugetlbfs" ino=0 res=0 audit: type=1800 audit(1582208020.946:55): pid=8918 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="SYSV00000000" dev="hugetlbfs" ino=32768 res=0 audit: type=1800 audit(1582208021.006:56): pid=8928 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="SYSV00000000" dev="hugetlbfs" ino=65536 res=0 XFS (loop5): Mounting V4 Filesystem attempt to access beyond end of device loop5: rw=4096, want=35184372088833, limit=264192 XFS (loop5): metadata I/O error in "xlog_bread_noalign" at daddr 0x200000000000 len 1 error 5 XFS (loop5): empty log check failed XFS (loop5): log mount/recovery failed: error -5 XFS (loop5): log mount failed XFS (loop5): Mounting V4 Filesystem attempt to access beyond end of device loop5: rw=4096, want=35184372088833, limit=264192 XFS (loop5): metadata I/O error in "xlog_bread_noalign" at daddr 0x200000000000 len 1 error 5 XFS (loop5): empty log check failed XFS (loop5): log mount/recovery failed: error -5 XFS (loop5): log mount failed SELinux: Context system_u:object_r:logrotate_var_lib_t: is not valid (left unmapped). XFS (loop5): Mounting V4 Filesystem attempt to access beyond end of device loop5: rw=4096, want=35184372088833, limit=264192 XFS (loop5): metadata I/O error in "xlog_bread_noalign" at daddr 0x200000000000 len 1 error 5 XFS (loop5): empty log check failed XFS (loop5): log mount/recovery failed: error -5 XFS (loop5): log mount failed XFS (loop5): Mounting V4 Filesystem attempt to access beyond end of device loop5: rw=4096, want=35184372088833, limit=264192 XFS (loop5): metadata I/O error in "xlog_bread_noalign" at daddr 0x200000000000 len 1 error 5 XFS (loop5): empty log check failed XFS (loop5): log mount/recovery failed: error -5 XFS (loop5): log mount failed XFS (loop5): Mounting V4 Filesystem attempt to access beyond end of device loop5: rw=4096, want=35184372088833, limit=264192 XFS (loop5): metadata I/O error in "xlog_bread_noalign" at daddr 0x200000000000 len 1 error 5 XFS (loop5): empty log check failed XFS (loop5): log mount/recovery failed: error -5 XFS (loop5): log mount failed kauditd_printk_skb: 9 callbacks suppressed audit: type=1804 audit(1582208025.266:66): pid=9247 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-testdir523113756/syzkaller.Ga4XnQ/42/bus" dev="sda1" ino=16629 res=1 audit: type=1804 audit(1582208025.356:67): pid=9257 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.3" name="/root/syzkaller-testdir029688258/syzkaller.sAfF7k/42/bus" dev="sda1" ino=16593 res=1 audit: type=1804 audit(1582208025.356:68): pid=9258 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.0" name="/root/syzkaller-testdir621938599/syzkaller.Kpq0Yw/39/bus" dev="sda1" ino=16592 res=1 audit: type=1804 audit(1582208025.586:69): pid=9276 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-testdir523113756/syzkaller.Ga4XnQ/43/bus" dev="sda1" ino=16633 res=1 audit: type=1804 audit(1582208025.756:70): pid=9289 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.3" name="/root/syzkaller-testdir029688258/syzkaller.sAfF7k/43/bus" dev="sda1" ino=16631 res=1 audit: type=1804 audit(1582208025.796:71): pid=9290 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.0" name="/root/syzkaller-testdir621938599/syzkaller.Kpq0Yw/40/bus" dev="sda1" ino=16592 res=1 audit: type=1804 audit(1582208025.976:72): pid=9298 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-testdir523113756/syzkaller.Ga4XnQ/44/bus" dev="sda1" ino=16620 res=1 audit: type=1804 audit(1582208026.206:73): pid=9305 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.3" name="/root/syzkaller-testdir029688258/syzkaller.sAfF7k/44/bus" dev="sda1" ino=16551 res=1 audit: type=1804 audit(1582208026.246:74): pid=9307 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.2" name="/root/syzkaller-testdir983431733/syzkaller.oNw8j0/42/bus" dev="sda1" ino=16638 res=1 audit: type=1804 audit(1582208026.326:75): pid=9322 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.0" name="/root/syzkaller-testdir621938599/syzkaller.Kpq0Yw/41/bus" dev="sda1" ino=16588 res=1