[ 27.297082][ T274] 8021q: 802.1Q VLAN Support v1.8 [ 30.194304][ T300] br1: port 1(veth1) entered blocking state [ 30.196668][ T300] br1: port 1(veth1) entered disabled state [ 30.197177][ T300] veth1: entered allmulticast mode [ 30.201353][ T300] veth1: entered promiscuous mode [ 30.330065][ T50] br1: port 1(veth1) entered blocking state [ 30.330423][ T50] br1: port 1(veth1) entered forwarding state [ 35.386070][ C3] [ 35.386256][ C3] ======================================================== [ 35.386498][ C3] WARNING: possible irq lock inversion dependency detected [ 35.386734][ C3] 6.9.0-rc1-virtme #1 Not tainted [ 35.386894][ C3] -------------------------------------------------------- [ 35.387125][ C3] swapper/3/0 just changed the state of lock: [ 35.387323][ C3] ffff888027cc3d80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 35.387609][ C3] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 35.387831][ C3] (&p->alloc_lock){+.+.}-{2:2} [ 35.387835][ C3] [ 35.387835][ C3] [ 35.387835][ C3] and interrupts could create inverse lock ordering between them. [ 35.387835][ C3] [ 35.388392][ C3] [ 35.388392][ C3] other info that might help us debug this: [ 35.388619][ C3] Possible interrupt unsafe locking scenario: [ 35.388619][ C3] [ 35.388854][ C3] CPU0 CPU1 [ 35.389010][ C3] ---- ---- [ 35.389166][ C3] lock(&p->alloc_lock); [ 35.389284][ C3] local_irq_disable(); [ 35.389472][ C3] lock(&ndev->lock); [ 35.389659][ C3] lock(&p->alloc_lock); [ 35.389862][ C3] [ 35.389980][ C3] lock(&ndev->lock); [ 35.390097][ C3] [ 35.390097][ C3] *** DEADLOCK *** [ 35.390097][ C3] [ 35.390326][ C3] 1 lock held by swapper/3/0: [ 35.390476][ C3] #0: ffffc90000288b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 35.390747][ C3] [ 35.390747][ C3] the shortest dependencies between 2nd lock and 1st lock: [ 35.391013][ C3] -> (&p->alloc_lock){+.+.}-{2:2} { [ 35.391171][ C3] HARDIRQ-ON-W at: [ 35.391293][ C3] __lock_acquire+0x797/0x1570 [ 35.391489][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.391677][ C3] _raw_spin_lock+0x30/0x40 [ 35.391879][ C3] set_mems_allowed+0x1d/0x210 [ 35.392071][ C3] kernel_init_freeable+0x72/0x310 [ 35.392263][ C3] kernel_init+0x20/0x200 [ 35.392461][ C3] ret_from_fork+0x31/0x70 [ 35.392655][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.392852][ C3] SOFTIRQ-ON-W at: [ 35.392965][ C3] __lock_acquire+0x797/0x1570 [ 35.393158][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.393345][ C3] _raw_spin_lock+0x30/0x40 [ 35.393536][ C3] set_mems_allowed+0x1d/0x210 [ 35.393730][ C3] kernel_init_freeable+0x72/0x310 [ 35.393928][ C3] kernel_init+0x20/0x200 [ 35.394114][ C3] ret_from_fork+0x31/0x70 [ 35.394297][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.394486][ C3] INITIAL USE at: [ 35.394597][ C3] __lock_acquire+0x797/0x1570 [ 35.394787][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.394975][ C3] _raw_spin_lock+0x30/0x40 [ 35.395165][ C3] set_mems_allowed+0x1d/0x210 [ 35.395348][ C3] kernel_init_freeable+0x72/0x310 [ 35.395530][ C3] kernel_init+0x20/0x200 [ 35.395729][ C3] ret_from_fork+0x31/0x70 [ 35.395922][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.396108][ C3] } [ 35.396186][ C3] ... key at: [] __key.387+0x0/0x40 [ 35.396419][ C3] ... acquired at: [ 35.396532][ C3] __lock_acquire+0xaf0/0x1570 [ 35.396686][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.396843][ C3] _raw_spin_lock+0x30/0x40 [ 35.396998][ C3] __get_task_comm+0x27/0x70 [ 35.397164][ C3] ref_tracker_alloc+0x2ee/0x490 [ 35.397319][ C3] netdev_get_by_index+0x5e/0x80 [ 35.397470][ C3] fib6_nh_init+0x3d8/0x15b0 [ 35.397626][ C3] ip6_route_info_create+0xf18/0x17d0 [ 35.397777][ C3] addrconf_f6i_alloc+0x265/0x560 [ 35.397936][ C3] __ipv6_dev_ac_inc+0x25f/0xb10 [ 35.398090][ C3] addrconf_join_anycast+0x1c0/0x220 [ 35.398250][ C3] dev_forward_change+0x2a6/0x7b0 [ 35.398400][ C3] addrconf_fixup_forwarding+0x23f/0x460 [ 35.398588][ C3] addrconf_sysctl_forward+0x212/0x2b0 [ 35.398747][ C3] proc_sys_call_handler+0x403/0x5e0 [ 35.398903][ C3] vfs_write+0x9e5/0x10a0 [ 35.399059][ C3] ksys_write+0xf5/0x1e0 [ 35.399208][ C3] do_syscall_64+0xc6/0x1e0 [ 35.399357][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.399556][ C3] [ 35.399632][ C3] -> (&ndev->lock){++-.}-{2:2} { [ 35.399789][ C3] HARDIRQ-ON-W at: [ 35.399902][ C3] __lock_acquire+0x797/0x1570 [ 35.400102][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.400293][ C3] _raw_write_lock_bh+0x38/0x50 [ 35.400480][ C3] addrconf_permanent_addr+0x6e/0x670 [ 35.400675][ C3] addrconf_notify+0x749/0xd60 [ 35.400865][ C3] notifier_call_chain+0xcd/0x150 [ 35.401055][ C3] __dev_notify_flags+0xe6/0x250 [ 35.401251][ C3] dev_change_flags+0xec/0x160 [ 35.401447][ C3] do_setlink+0x7d6/0x21e0 [ 35.401637][ C3] __rtnl_newlink+0xaa7/0xd80 [ 35.401824][ C3] rtnl_newlink+0x63/0xa0 [ 35.402018][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.402209][ C3] netlink_rcv_skb+0x130/0x360 [ 35.402400][ C3] netlink_unicast+0x449/0x710 [ 35.402589][ C3] netlink_sendmsg+0x723/0xbe0 [ 35.402776][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 35.402967][ C3] ___sys_sendmsg+0xee/0x170 [ 35.403161][ C3] __sys_sendmsg+0xcd/0x170 [ 35.403354][ C3] do_syscall_64+0xc6/0x1e0 [ 35.403540][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.403766][ C3] HARDIRQ-ON-R at: [ 35.403883][ C3] __lock_acquire+0x797/0x1570 [ 35.404074][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.404267][ C3] _raw_read_lock_bh+0x44/0x80 [ 35.404460][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.404644][ C3] inet6_fill_link_af+0x5e/0xe0 [ 35.404831][ C3] rtnl_fill_ifinfo+0x1612/0x29e0 [ 35.405016][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.405198][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.405418][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 35.405608][ C3] register_netdevice+0x1177/0x1690 [ 35.405792][ C3] register_netdev+0x20/0x40 [ 35.405975][ C3] sit_init_net+0x250/0x4f0 [ 35.406161][ C3] ops_init+0x9b/0x560 [ 35.406309][ C3] register_pernet_operations+0x2db/0x710 [ 35.406531][ C3] register_pernet_device+0x2a/0x60 [ 35.406717][ C3] sit_init+0x23/0xe0 [ 35.406868][ C3] do_one_initcall+0x8d/0x1e0 [ 35.407062][ C3] do_initcalls+0x1b2/0x3e0 [ 35.407250][ C3] kernel_init_freeable+0x232/0x310 [ 35.407436][ C3] kernel_init+0x20/0x200 [ 35.407623][ C3] ret_from_fork+0x31/0x70 [ 35.407807][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.408000][ C3] IN-SOFTIRQ-W at: [ 35.408111][ C3] __lock_acquire+0x797/0x1570 [ 35.408296][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.408480][ C3] _raw_write_lock+0x30/0x40 [ 35.408671][ C3] addrconf_rs_timer+0xa9/0x730 [ 35.408864][ C3] call_timer_fn+0x13b/0x230 [ 35.409052][ C3] __run_timers+0x545/0x810 [ 35.409245][ C3] timer_expire_remote+0x9b/0xe0 [ 35.409428][ C3] tmigr_handle_remote_cpu+0x270/0x430 [ 35.409616][ C3] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.409800][ C3] tmigr_handle_remote+0x21d/0x3a0 [ 35.409986][ C3] __do_softirq+0x1f8/0x5df [ 35.410172][ C3] irq_exit_rcu+0x97/0xc0 [ 35.410361][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.410583][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.410803][ C3] default_idle+0xf/0x20 [ 35.410988][ C3] default_idle_call+0x6d/0xb0 [ 35.411180][ C3] cpuidle_idle_call+0x1f4/0x280 [ 35.411364][ C3] do_idle+0xf9/0x160 [ 35.411515][ C3] cpu_startup_entry+0x54/0x60 [ 35.411703][ C3] start_secondary+0x21c/0x2b0 [ 35.411896][ C3] common_startup_64+0x12c/0x138 [ 35.412079][ C3] INITIAL USE at: [ 35.412190][ C3] __lock_acquire+0x797/0x1570 [ 35.412377][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.412569][ C3] _raw_write_lock_bh+0x38/0x50 [ 35.412762][ C3] addrconf_permanent_addr+0x6e/0x670 [ 35.412947][ C3] addrconf_notify+0x749/0xd60 [ 35.413134][ C3] notifier_call_chain+0xcd/0x150 [ 35.413341][ C3] __dev_notify_flags+0xe6/0x250 [ 35.413529][ C3] dev_change_flags+0xec/0x160 [ 35.413730][ C3] do_setlink+0x7d6/0x21e0 [ 35.413937][ C3] __rtnl_newlink+0xaa7/0xd80 [ 35.414134][ C3] rtnl_newlink+0x63/0xa0 [ 35.414326][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.414524][ C3] netlink_rcv_skb+0x130/0x360 [ 35.414714][ C3] netlink_unicast+0x449/0x710 [ 35.414903][ C3] netlink_sendmsg+0x723/0xbe0 [ 35.415100][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 35.415295][ C3] ___sys_sendmsg+0xee/0x170 [ 35.415491][ C3] __sys_sendmsg+0xcd/0x170 [ 35.415682][ C3] do_syscall_64+0xc6/0x1e0 [ 35.415872][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.416110][ C3] INITIAL READ USE at: [ 35.416221][ C3] __lock_acquire+0x797/0x1570 [ 35.416417][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.416612][ C3] _raw_read_lock_bh+0x44/0x80 [ 35.416813][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.417041][ C3] inet6_fill_link_af+0x5e/0xe0 [ 35.417227][ C3] rtnl_fill_ifinfo+0x1612/0x29e0 [ 35.417420][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.417654][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.417885][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 35.418070][ C3] register_netdevice+0x1177/0x1690 [ 35.418307][ C3] register_netdev+0x20/0x40 [ 35.418496][ C3] sit_init_net+0x250/0x4f0 [ 35.418684][ C3] ops_init+0x9b/0x560 [ 35.418915][ C3] register_pernet_operations+0x2db/0x710 [ 35.419128][ C3] register_pernet_device+0x2a/0x60 [ 35.419334][ C3] sit_init+0x23/0xe0 [ 35.419508][ C3] do_one_initcall+0x8d/0x1e0 [ 35.419684][ C3] do_initcalls+0x1b2/0x3e0 [ 35.419857][ C3] kernel_init_freeable+0x232/0x310 [ 35.420070][ C3] kernel_init+0x20/0x200 [ 35.420245][ C3] ret_from_fork+0x31/0x70 [ 35.420419][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.420590][ C3] } [ 35.420660][ C3] ... key at: [] __key.37+0x0/0x40 [ 35.420869][ C3] ... acquired at: [ 35.420971][ C3] mark_lock+0x28d/0x3e0 [ 35.421116][ C3] mark_usage+0xd9/0x2a0 [ 35.421253][ C3] __lock_acquire+0x797/0x1570 [ 35.421392][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.421529][ C3] _raw_write_lock+0x30/0x40 [ 35.421665][ C3] addrconf_rs_timer+0xa9/0x730 [ 35.421803][ C3] call_timer_fn+0x13b/0x230 [ 35.421946][ C3] __run_timers+0x545/0x810 [ 35.422081][ C3] timer_expire_remote+0x9b/0xe0 [ 35.422217][ C3] tmigr_handle_remote_cpu+0x270/0x430 [ 35.422360][ C3] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.422496][ C3] tmigr_handle_remote+0x21d/0x3a0 [ 35.422636][ C3] __do_softirq+0x1f8/0x5df [ 35.422795][ C3] irq_exit_rcu+0x97/0xc0 [ 35.422933][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.423102][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.423273][ C3] default_idle+0xf/0x20 [ 35.423408][ C3] default_idle_call+0x6d/0xb0 [ 35.423548][ C3] cpuidle_idle_call+0x1f4/0x280 [ 35.423685][ C3] do_idle+0xf9/0x160 [ 35.423793][ C3] cpu_startup_entry+0x54/0x60 [ 35.423929][ C3] start_secondary+0x21c/0x2b0 [ 35.424071][ C3] common_startup_64+0x12c/0x138 [ 35.424210][ C3] [ 35.424280][ C3] [ 35.424280][ C3] stack backtrace: [ 35.424453][ C3] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.9.0-rc1-virtme #1 [ 35.424661][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 35.424965][ C3] Call Trace: [ 35.425068][ C3] [ 35.425141][ C3] dump_stack_lvl+0x82/0xd0 [ 35.425282][ C3] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 35.425451][ C3] ? kernel_text_address+0x17/0xe0 [ 35.425597][ C3] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 35.425770][ C3] ? __pfx_usage_skip+0x10/0x10 [ 35.425905][ C3] ? __pfx_usage_match+0x10/0x10 [ 35.426040][ C3] ? arch_stack_walk+0x8c/0xf0 [ 35.426181][ C3] mark_lock_irq+0x4cd/0xa10 [ 35.426318][ C3] ? common_startup_64+0x12c/0x138 [ 35.426453][ C3] ? __pfx_mark_lock_irq+0x10/0x10 [ 35.426602][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 35.426744][ C3] ? save_trace+0x8f/0x5b0 [ 35.426885][ C3] mark_lock+0x28d/0x3e0 [ 35.426987][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 35.427124][ C3] mark_usage+0xd9/0x2a0 [ 35.427228][ C3] __lock_acquire+0x797/0x1570 [ 35.427367][ C3] ? __pfx_validate_chain+0x10/0x10 [ 35.427503][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.427639][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.427776][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 35.427920][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.428056][ C3] ? trace_lock_acquire+0x135/0x1c0 [ 35.428193][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 35.428327][ C3] ? lock_acquire+0x32/0xc0 [ 35.428466][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 35.428601][ C3] _raw_write_lock+0x30/0x40 [ 35.428749][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 35.428887][ C3] addrconf_rs_timer+0xa9/0x730 [ 35.429025][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.429168][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.429303][ C3] ? call_timer_fn+0xe8/0x230 [ 35.429438][ C3] ? lock_acquire+0x32/0xc0 [ 35.429573][ C3] ? call_timer_fn+0xe8/0x230 [ 35.429712][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.429847][ C3] call_timer_fn+0x13b/0x230 [ 35.429982][ C3] ? call_timer_fn+0xe8/0x230 [ 35.430117][ C3] ? call_timer_fn+0xe8/0x230 [ 35.430260][ C3] ? __pfx_call_timer_fn+0x10/0x10 [ 35.430397][ C3] ? mark_lock+0x38/0x3e0 [ 35.430504][ C3] __run_timers+0x545/0x810 [ 35.430640][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.430779][ C3] ? __pfx___run_timers+0x10/0x10 [ 35.430915][ C3] ? __lock_release+0x103/0x460 [ 35.431056][ C3] ? do_raw_spin_lock+0x131/0x270 [ 35.431193][ C3] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 35.431333][ C3] ? lock_acquire+0x32/0xc0 [ 35.431471][ C3] ? timer_expire_remote+0x93/0xe0 [ 35.431609][ C3] timer_expire_remote+0x9b/0xe0 [ 35.431747][ C3] tmigr_handle_remote_cpu+0x270/0x430 [ 35.431885][ C3] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 35.432060][ C3] tmigr_handle_remote_up+0x19f/0x2e0 [ 35.432198][ C3] tmigr_handle_remote+0x21d/0x3a0 [ 35.432334][ C3] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 35.432477][ C3] __do_softirq+0x1f8/0x5df [ 35.432615][ C3] irq_exit_rcu+0x97/0xc0 [ 35.432717][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.432854][ C3] [ 35.432925][ C3] [ 35.432994][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.433166][ C3] RIP: 0010:default_idle+0xf/0x20 [ 35.433310][ C3] Code: 4c 01 c7 4c 29 c2 e9 72 ff ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 93 20 35 00 fb f4 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 [ 35.433794][ C3] RSP: 0018:ffffc9000016fdf8 EFLAGS: 00000242 [ 35.433970][ C3] RAX: 0000000000077dab RBX: 1ffff9200002dfc1 RCX: ffffffff9ab0f9e5 [ 35.434174][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff984aa4a4 [ 35.434382][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3709c [ 35.434590][ C3] R10: ffff8880361b84e3 R11: ffff8880361ad9b0 R12: 0000000000000000 [ 35.434794][ C3] R13: ffff888001b88040 R14: dffffc0000000000 R15: 0000000000000000 [ 35.435002][ C3] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 35.435140][ C3] ? cpuidle_idle_call+0x1f4/0x280 [ 35.435278][ C3] default_idle_call+0x6d/0xb0 [ 35.435413][ C3] cpuidle_idle_call+0x1f4/0x280 [ 35.435555][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 35.435691][ C3] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 35.435830][ C3] do_idle+0xf9/0x160 [ 35.435933][ C3] cpu_startup_entry+0x54/0x60 [ 35.436071][ C3] start_secondary+0x21c/0x2b0 [ 35.436370][ C3] ? __pfx_start_secondary+0x10/0x10 [ 35.436506][ C3] common_startup_64+0x12c/0x138 [ 35.436644][ C3] [ 48.807754][ T376] br1: port 1(veth1) entered disabled state [ 48.900327][ T377] veth1: left allmulticast mode [ 48.900499][ T377] veth1: left promiscuous mode [ 48.900747][ T377] br1: port 1(veth1) entered disabled state