[ 25.663564][ T274] veth0: entered allmulticast mode [ 25.664529][ T274] veth1: entered allmulticast mode [ 25.665271][ T274] veth2: entered allmulticast mode [ 25.665885][ T274] veth3: entered allmulticast mode [ 25.666848][ T274] veth4: entered allmulticast mode [ 25.667435][ T274] veth5: entered allmulticast mode [ 36.533428][ C2] [ 36.533639][ C2] ======================================================== [ 36.533843][ C2] WARNING: possible irq lock inversion dependency detected [ 36.534038][ C2] 6.9.0-rc1-virtme #1 Not tainted [ 36.534178][ C2] -------------------------------------------------------- [ 36.534487][ C2] swapper/2/0 just changed the state of lock: [ 36.534656][ C2] ffff888002826d80 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 36.534899][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 36.535113][ C2] (&p->alloc_lock){+.+.}-{2:2} [ 36.535117][ C2] [ 36.535117][ C2] [ 36.535117][ C2] and interrupts could create inverse lock ordering between them. [ 36.535117][ C2] [ 36.535600][ C2] [ 36.535600][ C2] other info that might help us debug this: [ 36.535788][ C2] Possible interrupt unsafe locking scenario: [ 36.535788][ C2] [ 36.535978][ C2] CPU0 CPU1 [ 36.536137][ C2] ---- ---- [ 36.536273][ C2] lock(&p->alloc_lock); [ 36.536372][ C2] local_irq_disable(); [ 36.536530][ C2] lock(&ndev->lock); [ 36.536692][ C2] lock(&p->alloc_lock); [ 36.536856][ C2] [ 36.536952][ C2] lock(&ndev->lock); [ 36.537059][ C2] [ 36.537059][ C2] *** DEADLOCK *** [ 36.537059][ C2] [ 36.537324][ C2] 1 lock held by swapper/2/0: [ 36.537496][ C2] #0: ffffc90000230d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 36.537849][ C2] [ 36.537849][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 36.538178][ C2] -> (&p->alloc_lock){+.+.}-{2:2} { [ 36.538382][ C2] HARDIRQ-ON-W at: [ 36.538532][ C2] __lock_acquire+0x797/0x1570 [ 36.538799][ C2] lock_acquire.part.0+0xeb/0x330 [ 36.539047][ C2] _raw_spin_lock+0x30/0x40 [ 36.539293][ C2] set_mems_allowed+0x1d/0x210 [ 36.539546][ C2] kernel_init_freeable+0x72/0x310 [ 36.539803][ C2] kernel_init+0x20/0x200 [ 36.540061][ C2] ret_from_fork+0x31/0x70 [ 36.540307][ C2] ret_from_fork_asm+0x1a/0x30 [ 36.540554][ C2] SOFTIRQ-ON-W at: [ 36.540712][ C2] __lock_acquire+0x797/0x1570 [ 36.540964][ C2] lock_acquire.part.0+0xeb/0x330 [ 36.541214][ C2] _raw_spin_lock+0x30/0x40 [ 36.541463][ C2] set_mems_allowed+0x1d/0x210 [ 36.541738][ C2] kernel_init_freeable+0x72/0x310 [ 36.542004][ C2] kernel_init+0x20/0x200 [ 36.542255][ C2] ret_from_fork+0x31/0x70 [ 36.542513][ C2] ret_from_fork_asm+0x1a/0x30 [ 36.542763][ C2] INITIAL USE at: [ 36.542916][ C2] __lock_acquire+0x797/0x1570 [ 36.543169][ C2] lock_acquire.part.0+0xeb/0x330 [ 36.543433][ C2] _raw_spin_lock+0x30/0x40 [ 36.543697][ C2] set_mems_allowed+0x1d/0x210 [ 36.543956][ C2] kernel_init_freeable+0x72/0x310 [ 36.544239][ C2] kernel_init+0x20/0x200 [ 36.544493][ C2] ret_from_fork+0x31/0x70 [ 36.544745][ C2] ret_from_fork_asm+0x1a/0x30 [ 36.545006][ C2] } [ 36.545108][ C2] ... key at: [] __key.387+0x0/0x40 [ 36.545419][ C2] ... acquired at: [ 36.545574][ C2] __lock_acquire+0xaf0/0x1570 [ 36.545787][ C2] lock_acquire.part.0+0xeb/0x330 [ 36.545997][ C2] _raw_spin_lock+0x30/0x40 [ 36.546190][ C2] __get_task_comm+0x27/0x70 [ 36.546396][ C2] ref_tracker_alloc+0x2ee/0x490 [ 36.546610][ C2] netdev_get_by_index+0x5e/0x80 [ 36.546805][ C2] fib6_nh_init+0x3d8/0x15b0 [ 36.547012][ C2] ip6_route_info_create+0xf18/0x17d0 [ 36.547207][ C2] addrconf_f6i_alloc+0x265/0x560 [ 36.547403][ C2] __ipv6_dev_ac_inc+0x25f/0xb10 [ 36.547606][ C2] addrconf_join_anycast+0x1c0/0x220 [ 36.547813][ C2] dev_forward_change+0x2a6/0x7b0 [ 36.548022][ C2] addrconf_fixup_forwarding+0x23f/0x460 [ 36.548277][ C2] addrconf_sysctl_forward+0x212/0x2b0 [ 36.548477][ C2] proc_sys_call_handler+0x403/0x5e0 [ 36.548681][ C2] vfs_write+0x9e5/0x10a0 [ 36.548886][ C2] ksys_write+0xf5/0x1e0 [ 36.549092][ C2] do_syscall_64+0xc6/0x1e0 [ 36.549296][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 36.549557][ C2] [ 36.549661][ C2] -> (&ndev->lock){++-.}-{2:2} { [ 36.549911][ C2] HARDIRQ-ON-W at: [ 36.550071][ C2] __lock_acquire+0x797/0x1570 [ 36.550352][ C2] lock_acquire.part.0+0xeb/0x330 [ 36.550626][ C2] _raw_write_lock_bh+0x38/0x50 [ 36.550891][ C2] addrconf_permanent_addr+0x6e/0x670 [ 36.551148][ C2] addrconf_notify+0x749/0xd60 [ 36.551416][ C2] notifier_call_chain+0xcd/0x150 [ 36.551667][ C2] __dev_notify_flags+0xe6/0x250 [ 36.551931][ C2] dev_change_flags+0xec/0x160 [ 36.552186][ C2] do_setlink+0x7d6/0x21e0 [ 36.552441][ C2] __rtnl_newlink+0xaa7/0xd80 [ 36.552697][ C2] rtnl_newlink+0x63/0xa0 [ 36.552949][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 36.553217][ C2] netlink_rcv_skb+0x130/0x360 [ 36.553477][ C2] netlink_unicast+0x449/0x710 [ 36.553736][ C2] netlink_sendmsg+0x723/0xbe0 [ 36.553994][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 36.554243][ C2] ___sys_sendmsg+0xee/0x170 [ 36.554471][ C2] __sys_sendmsg+0xcd/0x170 [ 36.554712][ C2] do_syscall_64+0xc6/0x1e0 [ 36.554970][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 36.555274][ C2] HARDIRQ-ON-R at: [ 36.555429][ C2] __lock_acquire+0x797/0x1570 [ 36.555692][ C2] lock_acquire.part.0+0xeb/0x330 [ 36.555942][ C2] _raw_read_lock_bh+0x44/0x80 [ 36.556191][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 36.556448][ C2] inet6_fill_link_af+0x5e/0xe0 [ 36.556694][ C2] rtnl_fill_ifinfo+0x1612/0x29e0 [ 36.556940][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 36.557188][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 36.557494][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 36.557748][ C2] register_netdevice+0x1177/0x1690 [ 36.557995][ C2] register_netdev+0x20/0x40 [ 36.558245][ C2] sit_init_net+0x250/0x4f0 [ 36.558496][ C2] ops_init+0x9b/0x560 [ 36.558699][ C2] register_pernet_operations+0x2db/0x710 [ 36.558997][ C2] register_pernet_device+0x2a/0x60 [ 36.559247][ C2] sit_init+0x23/0xe0 [ 36.559454][ C2] do_one_initcall+0x8d/0x1e0 [ 36.559707][ C2] do_initcalls+0x1b2/0x3e0 [ 36.559967][ C2] kernel_init_freeable+0x232/0x310 [ 36.560219][ C2] kernel_init+0x20/0x200 [ 36.560464][ C2] ret_from_fork+0x31/0x70 [ 36.560715][ C2] ret_from_fork_asm+0x1a/0x30 [ 36.560963][ C2] IN-SOFTIRQ-W at: [ 36.561115][ C2] __lock_acquire+0x797/0x1570 [ 36.561373][ C2] lock_acquire.part.0+0xeb/0x330 [ 36.561625][ C2] _raw_write_lock+0x30/0x40 [ 36.561890][ C2] addrconf_rs_timer+0xa9/0x730 [ 36.562142][ C2] call_timer_fn+0x13b/0x230 [ 36.562387][ C2] __run_timers+0x545/0x810 [ 36.562641][ C2] run_timer_softirq+0xe8/0x1b0 [ 36.562900][ C2] __do_softirq+0x1f8/0x5df [ 36.563146][ C2] irq_exit_rcu+0x97/0xc0 [ 36.563399][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 36.563696][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 36.564002][ C2] default_idle+0xf/0x20 [ 36.564254][ C2] default_idle_call+0x6d/0xb0 [ 36.564511][ C2] cpuidle_idle_call+0x1f4/0x280 [ 36.564762][ C2] do_idle+0xf9/0x160 [ 36.564965][ C2] cpu_startup_entry+0x54/0x60 [ 36.565218][ C2] start_secondary+0x21c/0x2b0 [ 36.565468][ C2] common_startup_64+0x12c/0x138 [ 36.565723][ C2] INITIAL USE at: [ 36.565872][ C2] __lock_acquire+0x797/0x1570 [ 36.566132][ C2] lock_acquire.part.0+0xeb/0x330 [ 36.566384][ C2] _raw_write_lock_bh+0x38/0x50 [ 36.566633][ C2] addrconf_permanent_addr+0x6e/0x670 [ 36.566886][ C2] addrconf_notify+0x749/0xd60 [ 36.567133][ C2] notifier_call_chain+0xcd/0x150 [ 36.567379][ C2] __dev_notify_flags+0xe6/0x250 [ 36.567628][ C2] dev_change_flags+0xec/0x160 [ 36.567884][ C2] do_setlink+0x7d6/0x21e0 [ 36.568140][ C2] __rtnl_newlink+0xaa7/0xd80 [ 36.568388][ C2] rtnl_newlink+0x63/0xa0 [ 36.568638][ C2] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 36.568887][ C2] netlink_rcv_skb+0x130/0x360 [ 36.569139][ C2] netlink_unicast+0x449/0x710 [ 36.569408][ C2] netlink_sendmsg+0x723/0xbe0 [ 36.569668][ C2] ____sys_sendmsg+0x7b2/0xa10 [ 36.569936][ C2] ___sys_sendmsg+0xee/0x170 [ 36.570197][ C2] __sys_sendmsg+0xcd/0x170 [ 36.570460][ C2] do_syscall_64+0xc6/0x1e0 [ 36.570713][ C2] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 36.571021][ C2] INITIAL READ USE at: [ 36.571173][ C2] __lock_acquire+0x797/0x1570 [ 36.571423][ C2] lock_acquire.part.0+0xeb/0x330 [ 36.571674][ C2] _raw_read_lock_bh+0x44/0x80 [ 36.571957][ C2] inet6_fill_ifla6_attrs+0x516/0x740 [ 36.572265][ C2] inet6_fill_link_af+0x5e/0xe0 [ 36.572526][ C2] rtnl_fill_ifinfo+0x1612/0x29e0 [ 36.572781][ C2] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 36.573084][ C2] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 36.573382][ C2] rtmsg_ifinfo+0x5b/0xa0 [ 36.573634][ C2] register_netdevice+0x1177/0x1690 [ 36.574077][ C2] register_netdev+0x20/0x40 [ 36.574339][ C2] sit_init_net+0x250/0x4f0 [ 36.574594][ C2] ops_init+0x9b/0x560 [ 36.574981][ C2] register_pernet_operations+0x2db/0x710 [ 36.575287][ C2] register_pernet_device+0x2a/0x60 [ 36.575592][ C2] sit_init+0x23/0xe0 [ 36.575973][ C2] do_one_initcall+0x8d/0x1e0 [ 36.576242][ C2] do_initcalls+0x1b2/0x3e0 [ 36.576507][ C2] kernel_init_freeable+0x232/0x310 [ 36.576812][ C2] kernel_init+0x20/0x200 [ 36.577204][ C2] ret_from_fork+0x31/0x70 [ 36.577457][ C2] ret_from_fork_asm+0x1a/0x30 [ 36.577715][ C2] } [ 36.577824][ C2] ... key at: [] __key.37+0x0/0x40 [ 36.578262][ C2] ... acquired at: [ 36.578412][ C2] mark_lock+0x28d/0x3e0 [ 36.578621][ C2] mark_usage+0xd9/0x2a0 [ 36.578828][ C2] __lock_acquire+0x797/0x1570 [ 36.579156][ C2] lock_acquire.part.0+0xeb/0x330 [ 36.579365][ C2] _raw_write_lock+0x30/0x40 [ 36.579577][ C2] addrconf_rs_timer+0xa9/0x730 [ 36.579786][ C2] call_timer_fn+0x13b/0x230 [ 36.580124][ C2] __run_timers+0x545/0x810 [ 36.580329][ C2] run_timer_softirq+0xe8/0x1b0 [ 36.580531][ C2] __do_softirq+0x1f8/0x5df [ 36.580729][ C2] irq_exit_rcu+0x97/0xc0 [ 36.581059][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 36.581301][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 36.581545][ C2] default_idle+0xf/0x20 [ 36.581770][ C2] default_idle_call+0x6d/0xb0 [ 36.582102][ C2] cpuidle_idle_call+0x1f4/0x280 [ 36.582319][ C2] do_idle+0xf9/0x160 [ 36.582477][ C2] cpu_startup_entry+0x54/0x60 [ 36.582684][ C2] start_secondary+0x21c/0x2b0 [ 36.583158][ C2] common_startup_64+0x12c/0x138 [ 36.583363][ C2] [ 36.583467][ C2] [ 36.583467][ C2] stack backtrace: [ 36.583713][ C2] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.9.0-rc1-virtme #1 [ 36.584140][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 36.584588][ C2] Call Trace: [ 36.584740][ C2] [ 36.584847][ C2] dump_stack_lvl+0x82/0xd0 [ 36.585191][ C2] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 36.585451][ C2] ? kernel_text_address+0x17/0xe0 [ 36.585663][ C2] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 36.585919][ C2] ? __pfx_usage_skip+0x10/0x10 [ 36.586253][ C2] ? __pfx_usage_match+0x10/0x10 [ 36.586460][ C2] ? arch_stack_walk+0x8c/0xf0 [ 36.586668][ C2] mark_lock_irq+0x4cd/0xa10 [ 36.586868][ C2] ? common_startup_64+0x12c/0x138 [ 36.587210][ C2] ? __pfx_mark_lock_irq+0x10/0x10 [ 36.587412][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 36.587617][ C2] ? save_trace+0x8f/0x5b0 [ 36.587832][ C2] mark_lock+0x28d/0x3e0 [ 36.587995][ C2] ? __pfx_stack_trace_save+0x10/0x10 [ 36.588317][ C2] mark_usage+0xd9/0x2a0 [ 36.588471][ C2] __lock_acquire+0x797/0x1570 [ 36.588668][ C2] ? __pfx_validate_chain+0x10/0x10 [ 36.588863][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 36.589184][ C2] lock_acquire.part.0+0xeb/0x330 [ 36.589394][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 36.589590][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 36.589796][ C2] ? trace_lock_acquire+0x135/0x1c0 [ 36.590128][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 36.590330][ C2] ? lock_acquire+0x32/0xc0 [ 36.590533][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 36.590740][ C2] _raw_write_lock+0x30/0x40 [ 36.590939][ C2] ? addrconf_rs_timer+0xa9/0x730 [ 36.591265][ C2] addrconf_rs_timer+0xa9/0x730 [ 36.591469][ C2] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 36.591665][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 36.591874][ C2] ? call_timer_fn+0xe8/0x230 [ 36.592196][ C2] ? lock_acquire+0x32/0xc0 [ 36.592399][ C2] ? call_timer_fn+0xe8/0x230 [ 36.592595][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 36.592790][ C2] call_timer_fn+0x13b/0x230 [ 36.593117][ C2] ? call_timer_fn+0xe8/0x230 [ 36.593306][ C2] ? call_timer_fn+0xe8/0x230 [ 36.593504][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 36.593700][ C2] ? mark_lock+0x38/0x3e0 [ 36.593853][ C2] __run_timers+0x545/0x810 [ 36.594178][ C2] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 36.594378][ C2] ? __pfx___run_timers+0x10/0x10 [ 36.594574][ C2] ? do_raw_spin_lock+0x131/0x270 [ 36.594770][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 36.595091][ C2] ? lock_acquire+0x32/0xc0 [ 36.595289][ C2] ? run_timer_softirq+0xe0/0x1b0 [ 36.595488][ C2] run_timer_softirq+0xe8/0x1b0 [ 36.595687][ C2] __do_softirq+0x1f8/0x5df [ 36.596009][ C2] irq_exit_rcu+0x97/0xc0 [ 36.596160][ C2] sysvec_apic_timer_interrupt+0x75/0x80 [ 36.596361][ C2] [ 36.596462][ C2] [ 36.596563][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 36.596942][ C2] RIP: 0010:default_idle+0xf/0x20 [ 36.597158][ C2] 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 [ 36.598016][ C2] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000246 [ 36.598271][ C2] RAX: 00000000000e8de1 RBX: 1ffff9200002bfc1 RCX: ffffffffb430e9d5 [ 36.598568][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffb1caa4a4 [ 36.599145][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2709c [ 36.599453][ C2] R10: ffff8880361384e3 R11: ffff88803612d9b0 R12: 0000000000000000 [ 36.599748][ C2] R13: ffff888001b7c5c0 R14: dffffc0000000000 R15: 0000000000000000 [ 36.600189][ C2] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 36.600392][ C2] ? cpuidle_idle_call+0x1f4/0x280 [ 36.600595][ C2] default_idle_call+0x6d/0xb0 [ 36.600803][ C2] cpuidle_idle_call+0x1f4/0x280 [ 36.601142][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 36.601345][ C2] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 36.601554][ C2] do_idle+0xf9/0x160 [ 36.601707][ C2] cpu_startup_entry+0x54/0x60 [ 36.601921][ C2] start_secondary+0x21c/0x2b0 [ 36.602251][ C2] ? __pfx_start_secondary+0x10/0x10 [ 36.602459][ C2] common_startup_64+0x12c/0x138 [ 36.602664][ C2] [ 39.224458][ T358] GACT probability NOT on [ 73.815862][ T274] veth0: left allmulticast mode [ 73.816097][ T274] veth1: left allmulticast mode [ 73.816283][ T274] veth2: left allmulticast mode [ 73.816474][ T274] veth3: left allmulticast mode [ 73.816658][ T274] veth4: left allmulticast mode [ 73.816838][ T274] veth5: left allmulticast mode