================================ WARNING: inconsistent lock state 4.19.106-syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz-executor.3/23458 [HC0[0]:SC1[1]:HE1:SE0] takes: 00000000f43ad7a2 (rxrpc_conn_id_lock){+.?.}, at: spin_lock include/linux/spinlock.h:329 [inline] 00000000f43ad7a2 (rxrpc_conn_id_lock){+.?.}, at: rxrpc_put_client_connection_id.part.0+0x15/0x70 net/rxrpc/conn_client.c:143 {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_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+0x8a4/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: 2356 hardirqs last enabled at (2356): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (2356): [] _raw_spin_unlock_irqrestore+0x67/0xe0 kernel/locking/spinlock.c:184 hardirqs last disabled at (2355): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (2355): [] _raw_spin_lock_irqsave+0x66/0xbf kernel/locking/spinlock.c:152 softirqs last enabled at (2206): [] __do_softirq+0x650/0x93c kernel/softirq.c:318 softirqs last disabled at (2333): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (2333): [] irq_exit+0x17b/0x1c0 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-executor.3/23458: #0: 0000000056006840 (rcu_callback){....}, at: __rcu_reclaim kernel/rcu/rcu.h:226 [inline] #0: 0000000056006840 (rcu_callback){....}, at: rcu_do_batch kernel/rcu/tree.c:2584 [inline] #0: 0000000056006840 (rcu_callback){....}, at: invoke_rcu_callbacks kernel/rcu/tree.c:2897 [inline] #0: 0000000056006840 (rcu_callback){....}, at: __rcu_process_callbacks kernel/rcu/tree.c:2864 [inline] #0: 0000000056006840 (rcu_callback){....}, at: rcu_process_callbacks+0xbff/0x17f0 kernel/rcu/tree.c:2881 stack backtrace: CPU: 1 PID: 23458 Comm: syz-executor.3 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_client_connection_id.part.0+0x15/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+0x6aa/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:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:do_syscall_64+0x56/0x620 arch/x86/entry/common.c:281 Code: ff df 48 c1 ea 03 80 3c 02 00 0f 85 2d 05 00 00 48 83 3d c4 bb b1 07 00 0f 84 44 04 00 00 e8 e1 ee 66 00 fb 66 0f 1f 44 00 00 <65> 4c 8b 24 25 40 ee 01 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 RSP: 0018:ffff88804546ff28 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13 RAX: ffff88804620e340 RBX: 00000000000000ca RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81009a5f RDI: ffff88804620ebbc RBP: ffff88804546ff58 R08: ffff88804620e340 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff88b25618 R14: 0000000000000000 R15: 0000000000000000 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c479 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffcc0005298 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045c479 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000076bfc8 RBP: 000000000076bfcc R08: 0000000000770308 R09: 01ffffffffffffff R10: 00007ffcc0005360 R11: 0000000000000246 R12: 000000000076bfc0 R13: 0000000000000005 R14: 0000000000000001 R15: 000000000076bfcc kauditd_printk_skb: 13 callbacks suppressed audit: type=1804 audit(1582903773.699:364): pid=23498 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-testdir515258253/syzkaller.w3NGHJ/664/bus" dev="sda1" ino=16580 res=1 audit: type=1804 audit(1582903773.769:365): pid=23498 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-testdir515258253/syzkaller.w3NGHJ/664/bus" dev="sda1" ino=16580 res=1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1542 sclass=netlink_route_socket pig=23504 comm=syz-executor.5 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.2'. audit: type=1804 audit(1582903773.989:366): pid=23520 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-testdir933647807/syzkaller.pLMuS0/610/bus" dev="sda1" ino=16563 res=1 audit: type=1804 audit(1582903774.029:367): pid=23522 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-testdir515258253/syzkaller.w3NGHJ/665/bus" dev="sda1" ino=16738 res=1 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.2'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1542 sclass=netlink_route_socket pig=23518 comm=syz-executor.5 audit: type=1804 audit(1582903774.209:368): pid=23537 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-testdir515258253/syzkaller.w3NGHJ/665/bus" dev="sda1" ino=16738 res=1 audit: type=1804 audit(1582903774.439:369): pid=23551 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-testdir515258253/syzkaller.w3NGHJ/666/bus" dev="sda1" ino=16583 res=1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=44489 sclass=netlink_route_socket pig=23571 comm=syz-executor.2 audit: type=1804 audit(1582903774.969:370): pid=23570 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-testdir515258253/syzkaller.w3NGHJ/667/bus" dev="sda1" ino=17089 res=1 audit: type=1804 audit(1582903775.089:371): pid=23579 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.5" name="/root/syzkaller-testdir193002300/syzkaller.eYFy3q/585/bus" dev="sda1" ino=17233 res=1 audit: type=1804 audit(1582903775.239:372): pid=23584 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-testdir515258253/syzkaller.w3NGHJ/667/bus" dev="sda1" ino=17089 res=1 audit: type=1804 audit(1582903775.489:373): pid=23601 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-testdir515258253/syzkaller.w3NGHJ/668/bus" dev="sda1" ino=16580 res=1 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.2'. sd 0:0:1:0: device reset sd 0:0:1:0: device reset sd 0:0:1:0: device reset sd 0:0:1:0: device reset batman_adv: The newly added mac address (3a:1e:24:10:00:00) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! sd 0:0:1:0: device reset batman_adv: The newly added mac address (3a:1e:24:10:00:00) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! kauditd_printk_skb: 5 callbacks suppressed audit: type=1804 audit(1582903778.759:379): pid=23694 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-testdir515258253/syzkaller.w3NGHJ/671/bus" dev="sda1" ino=17681 res=1 audit: type=1804 audit(1582903778.799:380): pid=23699 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-testdir515258253/syzkaller.w3NGHJ/671/bus" dev="sda1" ino=17681 res=1 sd 0:0:1:0: device reset sd 0:0:1:0: device reset batman_adv: The newly added mac address (3a:1e:24:10:00:00) already exists on: batadv_slave_0 audit: type=1804 audit(1582903779.159:381): pid=23710 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-testdir515258253/syzkaller.w3NGHJ/672/bus" dev="sda1" ino=17801 res=1 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (3a:1e:24:10:00:00) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! sd 0:0:1:0: device reset audit: type=1804 audit(1582903779.519:382): pid=23728 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-testdir515258253/syzkaller.w3NGHJ/672/bus" dev="sda1" ino=17801 res=1 batman_adv: The newly added mac address (3a:1e:24:10:00:00) already exists on: batadv_slave_0 sd 0:0:1:0: device reset batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (3a:1e:24:10:00:00) already exists on: batadv_slave_0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=38892 sclass=netlink_route_socket pig=23744 comm=syz-executor.2 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! audit: type=1804 audit(1582903780.629:383): pid=23764 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-testdir515258253/syzkaller.w3NGHJ/673/bus" dev="sda1" ino=17818 res=1 sd 0:0:1:0: device reset batman_adv: The newly added mac address (3a:1e:24:10:00:00) already exists on: batadv_slave_0 sd 0:0:1:0: device reset batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (3a:1e:24:10:00:00) already exists on: batadv_slave_0 IPVS: set_ctl: invalid protocol: 92 0.0.3.191:20004 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! encrypted_key: insufficient parameters specified audit: type=1804 audit(1582903780.869:384): pid=23783 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-testdir515258253/syzkaller.w3NGHJ/673/bus" dev="sda1" ino=17818 res=1 sd 0:0:1:0: device reset IPVS: set_ctl: invalid protocol: 92 0.0.3.191:20004 encrypted_key: insufficient parameters specified sd 0:0:1:0: device reset batman_adv: The newly added mac address (3a:1e:24:10:00:00) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! audit: type=1804 audit(1582903781.189:385): pid=23798 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-testdir515258253/syzkaller.w3NGHJ/674/bus" dev="sda1" ino=17811 res=1 audit: type=1804 audit(1582903781.309:386): pid=23800 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-testdir515258253/syzkaller.w3NGHJ/674/bus" dev="sda1" ino=17811 res=1 sd 0:0:1:0: device reset batman_adv: The newly added mac address (3a:1e:24:10:00:00) already exists on: batadv_slave_0 sd 0:0:1:0: device reset batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! audit: type=1804 audit(1582903781.799:387): pid=23810 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-testdir515258253/syzkaller.w3NGHJ/675/bus" dev="sda1" ino=17815 res=1 sd 0:0:1:0: device reset sd 0:0:1:0: device reset audit: type=1804 audit(1582903781.999:388): pid=23810 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-testdir515258253/syzkaller.w3NGHJ/675/bus" dev="sda1" ino=17815 res=1 batman_adv: The newly added mac address (3a:1e:24:10:00:00) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! sd 0:0:1:0: device reset sd 0:0:1:0: device reset sd 0:0:1:0: device reset batman_adv: The newly added mac address (3a:1e:24:10:00:00) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!