IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready ================================ WARNING: inconsistent lock state 4.19.106-syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz-fuzzer/8023 [HC0[0]:SC1[1]:HE1:SE0] takes: 000000009fc799ab (&(&local->client_conns_lock)->rlock){+.?.}, at: spin_lock include/linux/spinlock.h:329 [inline] 000000009fc799ab (&(&local->client_conns_lock)->rlock){+.?.}, at: rxrpc_put_one_client_conn net/rxrpc/conn_client.c:949 [inline] 000000009fc799ab (&(&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: 972860 hardirqs last enabled at (972860): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (972860): [] _raw_spin_unlock_irqrestore+0x67/0xe0 kernel/locking/spinlock.c:184 hardirqs last disabled at (972859): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (972859): [] _raw_spin_lock_irqsave+0x66/0xbf kernel/locking/spinlock.c:152 softirqs last enabled at (972810): [] __do_softirq+0x650/0x93c kernel/softirq.c:318 softirqs last disabled at (972819): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (972819): [] 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 *** 1 lock held by syz-fuzzer/8023: #0: 0000000024f09165 (rcu_callback){....}, at: __rcu_reclaim kernel/rcu/rcu.h:226 [inline] #0: 0000000024f09165 (rcu_callback){....}, at: rcu_do_batch kernel/rcu/tree.c:2584 [inline] #0: 0000000024f09165 (rcu_callback){....}, at: invoke_rcu_callbacks kernel/rcu/tree.c:2897 [inline] #0: 0000000024f09165 (rcu_callback){....}, at: __rcu_process_callbacks kernel/rcu/tree.c:2864 [inline] #0: 0000000024f09165 (rcu_callback){....}, at: rcu_process_callbacks+0xbff/0x17f0 kernel/rcu/tree.c:2881 stack backtrace: CPU: 1 PID: 8023 Comm: syz-fuzzer 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: 0033:0x45a538 Code: 83 c6 08 48 29 df 48 29 de e9 13 ff ff ff 8a 06 8a 4c 1e ff 88 07 88 4c 1f ff c3 c3 48 83 fb 04 72 05 8b 06 89 07 c3 66 8b 06 <8a> 4e 02 66 89 07 88 4f 02 c3 8b 06 8b 4c 1e fc 89 07 89 4c 1f fc RSP: 002b:000000c439636f58 EFLAGS: 00000297 ORIG_RAX: ffffffffffffff13 RAX: 000000c436c67039 RBX: 0000000000000003 RCX: 000000c422f95d80 RDX: 0000000000000003 RSI: 000000c422f95d80 RDI: 000000c436c6fd98 RBP: 000000c439637068 R08: 0000000000000001 R09: 0000000000000008 R10: 0000000000000010 R11: 000000c436c6fd90 R12: 0000000000000000 R13: 0000000000000030 R14: 0000000000000057 R15: 00000000000000aa SELinux: unrecognized netlink message: protocol=0 nlmsg_type=7724 sclass=netlink_route_socket pig=21076 comm=syz-executor.5 x_tables: duplicate underflow at hook 2 x_tables: duplicate underflow at hook 2 x_tables: duplicate underflow at hook 2 x_tables: duplicate underflow at hook 2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=7724 sclass=netlink_route_socket pig=21080 comm=syz-executor.5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=2051 sclass=netlink_route_socket pig=21335 comm=syz-executor.5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=2051 sclass=netlink_route_socket pig=21346 comm=syz-executor.5 nla_parse: 6 callbacks suppressed netlink: 132 bytes leftover after parsing attributes in process `syz-executor.1'. bridge0: port 3(vlan4) entered blocking state bridge0: port 3(vlan4) entered disabled state bridge0: port 3(vlan4) entered blocking state bridge0: port 3(vlan4) entered disabled state SELinux: unrecognized netlink message: protocol=0 nlmsg_type=43885 sclass=netlink_route_socket pig=21787 comm=syz-executor.1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=43885 sclass=netlink_route_socket pig=21811 comm=syz-executor.1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=21828 comm=syz-executor.1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=21828 comm=syz-executor.1 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.3'.