[ 24.580911][ T246] ip (246) used greatest stack depth: 23696 bytes left [ 25.525956][ T268] veth0: entered allmulticast mode [ 25.526542][ T268] veth1: entered allmulticast mode [ 25.526851][ T268] veth2: entered allmulticast mode [ 25.527148][ T268] veth3: entered allmulticast mode [ 33.650513][ C0] [ 33.650712][ C0] ======================================================== [ 33.650962][ C0] WARNING: possible irq lock inversion dependency detected [ 33.651202][ C0] 6.9.0-rc1-virtme #1 Not tainted [ 33.651369][ C0] -------------------------------------------------------- [ 33.651622][ C0] swapper/0/0 just changed the state of lock: [ 33.651819][ C0] ffff888005435580 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 33.652109][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 33.652348][ C0] (&p->alloc_lock){+.+.}-{2:2} [ 33.652352][ C0] [ 33.652352][ C0] [ 33.652352][ C0] and interrupts could create inverse lock ordering between them. [ 33.652352][ C0] [ 33.652981][ C0] [ 33.652981][ C0] other info that might help us debug this: [ 33.653228][ C0] Possible interrupt unsafe locking scenario: [ 33.653228][ C0] [ 33.653463][ C0] CPU0 CPU1 [ 33.653627][ C0] ---- ---- [ 33.653788][ C0] lock(&p->alloc_lock); [ 33.653925][ C0] local_irq_disable(); [ 33.654126][ C0] lock(&ndev->lock); [ 33.654323][ C0] lock(&p->alloc_lock); [ 33.654533][ C0] [ 33.654652][ C0] lock(&ndev->lock); [ 33.654772][ C0] [ 33.654772][ C0] *** DEADLOCK *** [ 33.654772][ C0] [ 33.655010][ C0] 1 lock held by swapper/0/0: [ 33.655174][ C0] #0: ffffc90000007b68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 33.655469][ C0] [ 33.655469][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 33.655753][ C0] -> (&p->alloc_lock){+.+.}-{2:2} { [ 33.655919][ C0] HARDIRQ-ON-W at: [ 33.656040][ C0] __lock_acquire+0x797/0x1570 [ 33.656243][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.656443][ C0] _raw_spin_lock+0x30/0x40 [ 33.656646][ C0] set_mems_allowed+0x1d/0x210 [ 33.656849][ C0] kernel_init_freeable+0x72/0x310 [ 33.657056][ C0] kernel_init+0x20/0x200 [ 33.657259][ C0] ret_from_fork+0x31/0x70 [ 33.657460][ C0] ret_from_fork_asm+0x1a/0x30 [ 33.657668][ C0] SOFTIRQ-ON-W at: [ 33.657788][ C0] __lock_acquire+0x797/0x1570 [ 33.658001][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.658215][ C0] _raw_spin_lock+0x30/0x40 [ 33.658422][ C0] set_mems_allowed+0x1d/0x210 [ 33.658627][ C0] kernel_init_freeable+0x72/0x310 [ 33.658842][ C0] kernel_init+0x20/0x200 [ 33.659040][ C0] ret_from_fork+0x31/0x70 [ 33.659243][ C0] ret_from_fork_asm+0x1a/0x30 [ 33.659454][ C0] INITIAL USE at: [ 33.659578][ C0] __lock_acquire+0x797/0x1570 [ 33.659789][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.659992][ C0] _raw_spin_lock+0x30/0x40 [ 33.660196][ C0] set_mems_allowed+0x1d/0x210 [ 33.660399][ C0] kernel_init_freeable+0x72/0x310 [ 33.660608][ C0] kernel_init+0x20/0x200 [ 33.660819][ C0] ret_from_fork+0x31/0x70 [ 33.661021][ C0] ret_from_fork_asm+0x1a/0x30 [ 33.661226][ C0] } [ 33.661309][ C0] ... key at: [] __key.387+0x0/0x40 [ 33.661607][ C0] ... acquired at: [ 33.661730][ C0] __lock_acquire+0xaf0/0x1570 [ 33.661928][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.662157][ C0] _raw_spin_lock+0x30/0x40 [ 33.662327][ C0] __get_task_comm+0x27/0x70 [ 33.662492][ C0] ref_tracker_alloc+0x2ee/0x490 [ 33.662652][ C0] netdev_get_by_index+0x5e/0x80 [ 33.662809][ C0] fib6_nh_init+0x3d8/0x15b0 [ 33.662972][ C0] ip6_route_info_create+0xf18/0x17d0 [ 33.663130][ C0] addrconf_f6i_alloc+0x265/0x560 [ 33.663286][ C0] __ipv6_dev_ac_inc+0x25f/0xb10 [ 33.663454][ C0] addrconf_join_anycast+0x1c0/0x220 [ 33.663616][ C0] dev_forward_change+0x2a6/0x7b0 [ 33.663777][ C0] addrconf_fixup_forwarding+0x23f/0x460 [ 33.663974][ C0] addrconf_sysctl_forward+0x212/0x2b0 [ 33.664148][ C0] proc_sys_call_handler+0x403/0x5e0 [ 33.664306][ C0] vfs_write+0x9e5/0x10a0 [ 33.664473][ C0] ksys_write+0xf5/0x1e0 [ 33.664646][ C0] do_syscall_64+0xc6/0x1e0 [ 33.664815][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 33.665013][ C0] [ 33.665097][ C0] -> (&ndev->lock){++-.}-{2:2} { [ 33.665260][ C0] HARDIRQ-ON-W at: [ 33.665379][ C0] __lock_acquire+0x797/0x1570 [ 33.665600][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.665812][ C0] _raw_write_lock_bh+0x38/0x50 [ 33.666019][ C0] addrconf_permanent_addr+0x6e/0x670 [ 33.666231][ C0] addrconf_notify+0x749/0xd60 [ 33.666434][ C0] notifier_call_chain+0xcd/0x150 [ 33.666638][ C0] __dev_notify_flags+0xe6/0x250 [ 33.666846][ C0] dev_change_flags+0xec/0x160 [ 33.667056][ C0] do_setlink+0x7d6/0x21e0 [ 33.667268][ C0] __rtnl_newlink+0xaa7/0xd80 [ 33.667473][ C0] rtnl_newlink+0x63/0xa0 [ 33.667680][ C0] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 33.667885][ C0] netlink_rcv_skb+0x130/0x360 [ 33.668094][ C0] netlink_unicast+0x449/0x710 [ 33.668314][ C0] netlink_sendmsg+0x723/0xbe0 [ 33.668514][ C0] ____sys_sendmsg+0x7b2/0xa10 [ 33.668726][ C0] ___sys_sendmsg+0xee/0x170 [ 33.668938][ C0] __sys_sendmsg+0xcd/0x170 [ 33.669140][ C0] do_syscall_64+0xc6/0x1e0 [ 33.669347][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 33.669596][ C0] HARDIRQ-ON-R at: [ 33.669726][ C0] __lock_acquire+0x797/0x1570 [ 33.669938][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.670158][ C0] _raw_read_lock_bh+0x44/0x80 [ 33.670369][ C0] inet6_fill_ifla6_attrs+0x516/0x740 [ 33.670568][ C0] inet6_fill_link_af+0x5e/0xe0 [ 33.670770][ C0] rtnl_fill_ifinfo+0x1612/0x29e0 [ 33.670972][ C0] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 33.671181][ C0] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 33.671432][ C0] rtmsg_ifinfo+0x5b/0xa0 [ 33.671651][ C0] register_netdevice+0x1177/0x1690 [ 33.671859][ C0] register_netdev+0x20/0x40 [ 33.672063][ C0] sit_init_net+0x250/0x4f0 [ 33.672277][ C0] ops_init+0x9b/0x560 [ 33.672439][ C0] register_pernet_operations+0x2db/0x710 [ 33.672685][ C0] register_pernet_device+0x2a/0x60 [ 33.672884][ C0] sit_init+0x23/0xe0 [ 33.673044][ C0] do_one_initcall+0x8d/0x1e0 [ 33.673242][ C0] do_initcalls+0x1b2/0x3e0 [ 33.673441][ C0] kernel_init_freeable+0x232/0x310 [ 33.673639][ C0] kernel_init+0x20/0x200 [ 33.673841][ C0] ret_from_fork+0x31/0x70 [ 33.674049][ C0] ret_from_fork_asm+0x1a/0x30 [ 33.674251][ C0] IN-SOFTIRQ-W at: [ 33.674372][ C0] __lock_acquire+0x797/0x1570 [ 33.674575][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.674776][ C0] _raw_write_lock+0x30/0x40 [ 33.674978][ C0] addrconf_rs_timer+0xa9/0x730 [ 33.675180][ C0] call_timer_fn+0x13b/0x230 [ 33.675387][ C0] __run_timers+0x545/0x810 [ 33.675588][ C0] timer_expire_remote+0x9b/0xe0 [ 33.675790][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 33.675992][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 33.676193][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 33.676398][ C0] __do_softirq+0x1f8/0x5df [ 33.676598][ C0] irq_exit_rcu+0x97/0xc0 [ 33.676803][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 33.677046][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 33.677288][ C0] default_idle+0xf/0x20 [ 33.677489][ C0] default_idle_call+0x6d/0xb0 [ 33.677693][ C0] cpuidle_idle_call+0x1f4/0x280 [ 33.677895][ C0] do_idle+0xf9/0x160 [ 33.678059][ C0] cpu_startup_entry+0x54/0x60 [ 33.678281][ C0] rest_init+0x14f/0x260 [ 33.678499][ C0] start_kernel+0x318/0x3d0 [ 33.678709][ C0] x86_64_start_reservations+0x18/0x30 [ 33.678921][ C0] x86_64_start_kernel+0xba/0x110 [ 33.679138][ C0] common_startup_64+0x12c/0x138 [ 33.679343][ C0] INITIAL USE at: [ 33.679469][ C0] __lock_acquire+0x797/0x1570 [ 33.679675][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.679876][ C0] _raw_write_lock_bh+0x38/0x50 [ 33.680079][ C0] addrconf_permanent_addr+0x6e/0x670 [ 33.680280][ C0] addrconf_notify+0x749/0xd60 [ 33.680486][ C0] notifier_call_chain+0xcd/0x150 [ 33.680687][ C0] __dev_notify_flags+0xe6/0x250 [ 33.680893][ C0] dev_change_flags+0xec/0x160 [ 33.681101][ C0] do_setlink+0x7d6/0x21e0 [ 33.681305][ C0] __rtnl_newlink+0xaa7/0xd80 [ 33.681516][ C0] rtnl_newlink+0x63/0xa0 [ 33.681723][ C0] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 33.681934][ C0] netlink_rcv_skb+0x130/0x360 [ 33.682138][ C0] netlink_unicast+0x449/0x710 [ 33.682337][ C0] netlink_sendmsg+0x723/0xbe0 [ 33.682533][ C0] ____sys_sendmsg+0x7b2/0xa10 [ 33.682733][ C0] ___sys_sendmsg+0xee/0x170 [ 33.682942][ C0] __sys_sendmsg+0xcd/0x170 [ 33.683146][ C0] do_syscall_64+0xc6/0x1e0 [ 33.683346][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 33.683582][ C0] INITIAL READ USE at: [ 33.683707][ C0] __lock_acquire+0x797/0x1570 [ 33.683905][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.684114][ C0] _raw_read_lock_bh+0x44/0x80 [ 33.684327][ C0] inet6_fill_ifla6_attrs+0x516/0x740 [ 33.684570][ C0] inet6_fill_link_af+0x5e/0xe0 [ 33.684769][ C0] rtnl_fill_ifinfo+0x1612/0x29e0 [ 33.684966][ C0] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 33.685206][ C0] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 33.685456][ C0] rtmsg_ifinfo+0x5b/0xa0 [ 33.685666][ C0] register_netdevice+0x1177/0x1690 [ 33.685903][ C0] register_netdev+0x20/0x40 [ 33.686119][ C0] sit_init_net+0x250/0x4f0 [ 33.686320][ C0] ops_init+0x9b/0x560 [ 33.686524][ C0] register_pernet_operations+0x2db/0x710 [ 33.686765][ C0] register_pernet_device+0x2a/0x60 [ 33.687011][ C0] sit_init+0x23/0xe0 [ 33.687211][ C0] do_one_initcall+0x8d/0x1e0 [ 33.687417][ C0] do_initcalls+0x1b2/0x3e0 [ 33.687620][ C0] kernel_init_freeable+0x232/0x310 [ 33.687863][ C0] kernel_init+0x20/0x200 [ 33.688070][ C0] ret_from_fork+0x31/0x70 [ 33.688329][ C0] ret_from_fork_asm+0x1a/0x30 [ 33.688536][ C0] } [ 33.688618][ C0] ... key at: [] __key.37+0x0/0x40 [ 33.688868][ C0] ... acquired at: [ 33.688991][ C0] mark_lock+0x28d/0x3e0 [ 33.689155][ C0] mark_usage+0xd9/0x2a0 [ 33.689324][ C0] __lock_acquire+0x797/0x1570 [ 33.689487][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.689655][ C0] _raw_write_lock+0x30/0x40 [ 33.689818][ C0] addrconf_rs_timer+0xa9/0x730 [ 33.689978][ C0] call_timer_fn+0x13b/0x230 [ 33.690142][ C0] __run_timers+0x545/0x810 [ 33.690310][ C0] timer_expire_remote+0x9b/0xe0 [ 33.690472][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 33.690635][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 33.690795][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 33.690960][ C0] __do_softirq+0x1f8/0x5df [ 33.691122][ C0] irq_exit_rcu+0x97/0xc0 [ 33.691282][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 33.691483][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 33.691697][ C0] default_idle+0xf/0x20 [ 33.691862][ C0] default_idle_call+0x6d/0xb0 [ 33.692027][ C0] cpuidle_idle_call+0x1f4/0x280 [ 33.692189][ C0] do_idle+0xf9/0x160 [ 33.692315][ C0] cpu_startup_entry+0x54/0x60 [ 33.692479][ C0] rest_init+0x14f/0x260 [ 33.692641][ C0] start_kernel+0x318/0x3d0 [ 33.692802][ C0] x86_64_start_reservations+0x18/0x30 [ 33.692964][ C0] x86_64_start_kernel+0xba/0x110 [ 33.693125][ C0] common_startup_64+0x12c/0x138 [ 33.693287][ C0] [ 33.693369][ C0] [ 33.693369][ C0] stack backtrace: [ 33.693570][ C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.9.0-rc1-virtme #1 [ 33.693825][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 33.694181][ C0] Call Trace: [ 33.694303][ C0] [ 33.694386][ C0] dump_stack_lvl+0x82/0xd0 [ 33.694552][ C0] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 33.694751][ C0] ? kernel_text_address+0x17/0xe0 [ 33.694918][ C0] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 33.695120][ C0] ? __pfx_usage_skip+0x10/0x10 [ 33.695278][ C0] ? __pfx_usage_match+0x10/0x10 [ 33.695438][ C0] ? arch_stack_walk+0x8c/0xf0 [ 33.695600][ C0] mark_lock_irq+0x4cd/0xa10 [ 33.695761][ C0] ? common_startup_64+0x12c/0x138 [ 33.695923][ C0] ? __pfx_mark_lock_irq+0x10/0x10 [ 33.696082][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 33.696247][ C0] ? save_trace+0x8f/0x5b0 [ 33.696421][ C0] mark_lock+0x28d/0x3e0 [ 33.696548][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 33.696710][ C0] mark_usage+0xd9/0x2a0 [ 33.696840][ C0] __lock_acquire+0x797/0x1570 [ 33.697002][ C0] ? __pfx_validate_chain+0x10/0x10 [ 33.697161][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 33.697321][ C0] lock_acquire.part.0+0xeb/0x330 [ 33.697486][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 33.697645][ C0] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 33.697807][ C0] ? trace_lock_acquire+0x135/0x1c0 [ 33.697970][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 33.698131][ C0] ? lock_acquire+0x32/0xc0 [ 33.698308][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 33.698482][ C0] _raw_write_lock+0x30/0x40 [ 33.698645][ C0] ? addrconf_rs_timer+0xa9/0x730 [ 33.698804][ C0] addrconf_rs_timer+0xa9/0x730 [ 33.698967][ C0] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 33.699126][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 33.699287][ C0] ? call_timer_fn+0xe8/0x230 [ 33.699448][ C0] ? lock_acquire+0x32/0xc0 [ 33.699607][ C0] ? call_timer_fn+0xe8/0x230 [ 33.699766][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 33.699926][ C0] call_timer_fn+0x13b/0x230 [ 33.700094][ C0] ? call_timer_fn+0xe8/0x230 [ 33.700263][ C0] ? call_timer_fn+0xe8/0x230 [ 33.700431][ C0] ? __pfx_call_timer_fn+0x10/0x10 [ 33.700590][ C0] ? mark_lock+0x38/0x3e0 [ 33.700716][ C0] __run_timers+0x545/0x810 [ 33.700874][ C0] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 33.701033][ C0] ? __pfx___run_timers+0x10/0x10 [ 33.701203][ C0] ? __lock_release+0x103/0x460 [ 33.701367][ C0] ? do_raw_spin_lock+0x131/0x270 [ 33.701526][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 33.701690][ C0] ? lock_acquire+0x32/0xc0 [ 33.701855][ C0] ? timer_expire_remote+0x93/0xe0 [ 33.702026][ C0] timer_expire_remote+0x9b/0xe0 [ 33.702188][ C0] tmigr_handle_remote_cpu+0x270/0x430 [ 33.702351][ C0] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 33.702557][ C0] tmigr_handle_remote_up+0x19f/0x2e0 [ 33.702720][ C0] tmigr_handle_remote+0x21d/0x3a0 [ 33.702889][ C0] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 33.703067][ C0] __do_softirq+0x1f8/0x5df [ 33.703230][ C0] irq_exit_rcu+0x97/0xc0 [ 33.703356][ C0] sysvec_apic_timer_interrupt+0x75/0x80 [ 33.703519][ C0] [ 33.703602][ C0] [ 33.703686][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 33.703884][ C0] RIP: 0010:default_idle+0xf/0x20 [ 33.704056][ C0] 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 a3 30 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 [ 33.704643][ C0] RSP: 0018:ffffffffa0407e00 EFLAGS: 00000246 [ 33.704854][ C0] RAX: 00000000000a1621 RBX: 1ffffffff4080fc2 RCX: ffffffff9f50e9d5 [ 33.705099][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9ceaa4a4 [ 33.705345][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005f0709c [ 33.705590][ C0] R10: ffff88802f8384e3 R11: ffff88802f82d9b0 R12: 0000000000000000 [ 33.705833][ C0] R13: ffffffffa041d000 R14: dffffc0000000000 R15: 0000000000014770 [ 33.706070][ C0] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 33.706220][ C0] ? cpuidle_idle_call+0x1f4/0x280 [ 33.706371][ C0] default_idle_call+0x6d/0xb0 [ 33.706523][ C0] cpuidle_idle_call+0x1f4/0x280 [ 33.706675][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 33.706826][ C0] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 33.706981][ C0] do_idle+0xf9/0x160 [ 33.707099][ C0] cpu_startup_entry+0x54/0x60 [ 33.707260][ C0] rest_init+0x14f/0x260 [ 33.707375][ C0] start_kernel+0x318/0x3d0 [ 33.707525][ C0] x86_64_start_reservations+0x18/0x30 [ 33.707683][ C0] x86_64_start_kernel+0xba/0x110 [ 33.707833][ C0] common_startup_64+0x12c/0x138 [ 33.707984][ C0] [ 38.839417][ T337] GACT probability NOT on [ 48.710931][ T268] veth0: left allmulticast mode [ 48.711187][ T268] veth1: left allmulticast mode [ 48.711390][ T268] veth2: left allmulticast mode [ 48.711576][ T268] veth3: left allmulticast mode