[ 27.281263][ T274] ip (274) used greatest stack depth: 24032 bytes left [ 28.009892][ T280] veth0: renamed from ioam-veth-alpha [ 28.134630][ T281] veth0: renamed from ioam-veth-betaL [ 28.259509][ T282] veth1: renamed from ioam-veth-betaR [ 28.377127][ T283] veth0: renamed from ioam-veth-gamma [ 35.112594][ C3] [ 35.112812][ C3] ======================================================== [ 35.113016][ C3] WARNING: possible irq lock inversion dependency detected [ 35.113213][ C3] 6.9.0-rc1-virtme #1 Not tainted [ 35.113351][ C3] -------------------------------------------------------- [ 35.113555][ C3] swapper/3/0 just changed the state of lock: [ 35.113727][ C3] ffff888006d2a580 (&ndev->lock){++-.}-{2:2}, at: addrconf_rs_timer+0xa9/0x730 [ 35.113970][ C3] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 35.114170][ C3] (&p->alloc_lock){+.+.}-{2:2} [ 35.114174][ C3] [ 35.114174][ C3] [ 35.114174][ C3] and interrupts could create inverse lock ordering between them. [ 35.114174][ C3] [ 35.114671][ C3] [ 35.114671][ C3] other info that might help us debug this: [ 35.114864][ C3] Possible interrupt unsafe locking scenario: [ 35.114864][ C3] [ 35.115057][ C3] CPU0 CPU1 [ 35.115189][ C3] ---- ---- [ 35.115320][ C3] lock(&p->alloc_lock); [ 35.115421][ C3] local_irq_disable(); [ 35.115587][ C3] lock(&ndev->lock); [ 35.115749][ C3] lock(&p->alloc_lock); [ 35.115912][ C3] [ 35.116009][ C3] lock(&ndev->lock); [ 35.116111][ C3] [ 35.116111][ C3] *** DEADLOCK *** [ 35.116111][ C3] [ 35.116302][ C3] 1 lock held by swapper/3/0: [ 35.116446][ C3] #0: ffffc90000288d68 ((&ndev->rs_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230 [ 35.116687][ C3] [ 35.116687][ C3] the shortest dependencies between 2nd lock and 1st lock: [ 35.116918][ C3] -> (&p->alloc_lock){+.+.}-{2:2} { [ 35.117057][ C3] HARDIRQ-ON-W at: [ 35.117159][ C3] __lock_acquire+0x797/0x1570 [ 35.117330][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.117498][ C3] _raw_spin_lock+0x30/0x40 [ 35.117668][ C3] set_mems_allowed+0x1d/0x210 [ 35.117837][ C3] kernel_init_freeable+0x72/0x310 [ 35.118002][ C3] kernel_init+0x20/0x200 [ 35.118169][ C3] ret_from_fork+0x31/0x70 [ 35.118338][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.118503][ C3] SOFTIRQ-ON-W at: [ 35.118605][ C3] __lock_acquire+0x797/0x1570 [ 35.118770][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.118936][ C3] _raw_spin_lock+0x30/0x40 [ 35.119103][ C3] set_mems_allowed+0x1d/0x210 [ 35.119268][ C3] kernel_init_freeable+0x72/0x310 [ 35.119432][ C3] kernel_init+0x20/0x200 [ 35.119603][ C3] ret_from_fork+0x31/0x70 [ 35.119770][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.119936][ C3] INITIAL USE at: [ 35.120034][ C3] __lock_acquire+0x797/0x1570 [ 35.120198][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.120361][ C3] _raw_spin_lock+0x30/0x40 [ 35.120534][ C3] set_mems_allowed+0x1d/0x210 [ 35.120699][ C3] kernel_init_freeable+0x72/0x310 [ 35.120864][ C3] kernel_init+0x20/0x200 [ 35.121032][ C3] ret_from_fork+0x31/0x70 [ 35.121196][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.121358][ C3] } [ 35.121425][ C3] ... key at: [] __key.388+0x0/0x40 [ 35.121629][ C3] ... acquired at: [ 35.121728][ C3] __lock_acquire+0xaf0/0x1570 [ 35.121862][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.121995][ C3] _raw_spin_lock+0x30/0x40 [ 35.122128][ C3] __get_task_comm+0x27/0x70 [ 35.122263][ C3] ref_tracker_alloc+0x2ee/0x490 [ 35.122394][ C3] netdev_get_by_index+0x5e/0x80 [ 35.122526][ C3] fib6_nh_init+0x3d8/0x1580 [ 35.122666][ C3] ip6_route_info_create+0xf18/0x17d0 [ 35.122796][ C3] addrconf_f6i_alloc+0x315/0x560 [ 35.122927][ C3] addrconf_permanent_addr+0x1ed/0x670 [ 35.123059][ C3] addrconf_notify+0x749/0xd60 [ 35.123193][ C3] notifier_call_chain+0xcd/0x150 [ 35.123328][ C3] __dev_notify_flags+0xe6/0x250 [ 35.123460][ C3] dev_change_flags+0xec/0x160 [ 35.123591][ C3] do_setlink+0x7d6/0x21e0 [ 35.123727][ C3] __rtnl_newlink+0xaa7/0xd80 [ 35.123860][ C3] rtnl_newlink+0x63/0xa0 [ 35.123990][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.124121][ C3] netlink_rcv_skb+0x130/0x360 [ 35.124252][ C3] netlink_unicast+0x449/0x710 [ 35.124385][ C3] netlink_sendmsg+0x723/0xbe0 [ 35.124517][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 35.124649][ C3] ___sys_sendmsg+0xee/0x170 [ 35.124781][ C3] __sys_sendmsg+0xcd/0x170 [ 35.124917][ C3] do_syscall_64+0xc6/0x1e0 [ 35.125048][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.125212][ C3] [ 35.125278][ C3] -> (&ndev->lock){++-.}-{2:2} { [ 35.125414][ C3] HARDIRQ-ON-W at: [ 35.125517][ C3] __lock_acquire+0x797/0x1570 [ 35.125685][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.125850][ C3] _raw_write_lock_bh+0x38/0x50 [ 35.126018][ C3] addrconf_permanent_addr+0x6e/0x670 [ 35.126187][ C3] addrconf_notify+0x749/0xd60 [ 35.126358][ C3] notifier_call_chain+0xcd/0x150 [ 35.126523][ C3] __dev_notify_flags+0xe6/0x250 [ 35.126690][ C3] dev_change_flags+0xec/0x160 [ 35.126855][ C3] do_setlink+0x7d6/0x21e0 [ 35.127020][ C3] __rtnl_newlink+0xaa7/0xd80 [ 35.127188][ C3] rtnl_newlink+0x63/0xa0 [ 35.127350][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.127515][ C3] netlink_rcv_skb+0x130/0x360 [ 35.127682][ C3] netlink_unicast+0x449/0x710 [ 35.127849][ C3] netlink_sendmsg+0x723/0xbe0 [ 35.128012][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 35.128181][ C3] ___sys_sendmsg+0xee/0x170 [ 35.128346][ C3] __sys_sendmsg+0xcd/0x170 [ 35.128509][ C3] do_syscall_64+0xc6/0x1e0 [ 35.128674][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.128873][ C3] HARDIRQ-ON-R at: [ 35.128971][ C3] __lock_acquire+0x797/0x1570 [ 35.129133][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.129300][ C3] _raw_read_lock_bh+0x44/0x80 [ 35.129465][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.129631][ C3] inet6_fill_link_af+0x5e/0xe0 [ 35.129793][ C3] rtnl_fill_ifinfo+0x1615/0x2a90 [ 35.129958][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.130127][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.130324][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 35.130487][ C3] register_netdevice+0x1177/0x1690 [ 35.130653][ C3] register_netdev+0x20/0x40 [ 35.130813][ C3] vti6_init_net+0x25d/0x380 [ 35.130978][ C3] ops_init+0x9b/0x560 [ 35.131112][ C3] register_pernet_operations+0x2db/0x710 [ 35.131311][ C3] register_pernet_device+0x2a/0x60 [ 35.131474][ C3] vti6_tunnel_init+0x18/0x110 [ 35.131638][ C3] do_one_initcall+0x8d/0x1e0 [ 35.131803][ C3] do_initcalls+0x1b2/0x3e0 [ 35.131965][ C3] kernel_init_freeable+0x232/0x310 [ 35.132128][ C3] kernel_init+0x20/0x200 [ 35.132298][ C3] ret_from_fork+0x31/0x70 [ 35.132464][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.132628][ C3] IN-SOFTIRQ-W at: [ 35.132727][ C3] __lock_acquire+0x797/0x1570 [ 35.132893][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.133057][ C3] _raw_write_lock+0x30/0x40 [ 35.133221][ C3] addrconf_rs_timer+0xa9/0x730 [ 35.133389][ C3] call_timer_fn+0x13b/0x230 [ 35.133554][ C3] __run_timers+0x545/0x810 [ 35.133717][ C3] run_timer_softirq+0xe8/0x1b0 [ 35.133879][ C3] __do_softirq+0x1f8/0x5df [ 35.134045][ C3] irq_exit_rcu+0x97/0xc0 [ 35.134209][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.134410][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.134611][ C3] default_idle+0xf/0x20 [ 35.134774][ C3] default_idle_call+0x6d/0xb0 [ 35.134936][ C3] cpuidle_idle_call+0x1f4/0x280 [ 35.135103][ C3] do_idle+0xf9/0x160 [ 35.135236][ C3] cpu_startup_entry+0x54/0x60 [ 35.135400][ C3] start_secondary+0x21c/0x2b0 [ 35.135567][ C3] common_startup_64+0x12c/0x138 [ 35.135736][ C3] INITIAL USE at: [ 35.135834][ C3] __lock_acquire+0x797/0x1570 [ 35.135998][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.136164][ C3] _raw_write_lock_bh+0x38/0x50 [ 35.136332][ C3] addrconf_permanent_addr+0x6e/0x670 [ 35.136500][ C3] addrconf_notify+0x749/0xd60 [ 35.136663][ C3] notifier_call_chain+0xcd/0x150 [ 35.136829][ C3] __dev_notify_flags+0xe6/0x250 [ 35.136992][ C3] dev_change_flags+0xec/0x160 [ 35.137154][ C3] do_setlink+0x7d6/0x21e0 [ 35.137318][ C3] __rtnl_newlink+0xaa7/0xd80 [ 35.137482][ C3] rtnl_newlink+0x63/0xa0 [ 35.137648][ C3] rtnetlink_rcv_msg+0x2fb/0xbf0 [ 35.137812][ C3] netlink_rcv_skb+0x130/0x360 [ 35.137980][ C3] netlink_unicast+0x449/0x710 [ 35.138144][ C3] netlink_sendmsg+0x723/0xbe0 [ 35.138309][ C3] ____sys_sendmsg+0x7b2/0xa10 [ 35.138476][ C3] ___sys_sendmsg+0xee/0x170 [ 35.138641][ C3] __sys_sendmsg+0xcd/0x170 [ 35.138808][ C3] do_syscall_64+0xc6/0x1e0 [ 35.138981][ C3] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 35.139178][ C3] INITIAL READ USE at: [ 35.139277][ C3] __lock_acquire+0x797/0x1570 [ 35.139441][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.139606][ C3] _raw_read_lock_bh+0x44/0x80 [ 35.139776][ C3] inet6_fill_ifla6_attrs+0x516/0x740 [ 35.139972][ C3] inet6_fill_link_af+0x5e/0xe0 [ 35.140215][ C3] rtnl_fill_ifinfo+0x1615/0x2a90 [ 35.140379][ C3] rtmsg_ifinfo_build_skb+0x13c/0x240 [ 35.140575][ C3] rtmsg_ifinfo_event.part.0+0x2d/0x120 [ 35.140848][ C3] rtmsg_ifinfo+0x5b/0xa0 [ 35.141015][ C3] register_netdevice+0x1177/0x1690 [ 35.141213][ C3] register_netdev+0x20/0x40 [ 35.141377][ C3] vti6_init_net+0x25d/0x380 [ 35.141621][ C3] ops_init+0x9b/0x560 [ 35.141783][ C3] register_pernet_operations+0x2db/0x710 [ 35.141979][ C3] register_pernet_device+0x2a/0x60 [ 35.142177][ C3] vti6_tunnel_init+0x18/0x110 [ 35.142341][ C3] do_one_initcall+0x8d/0x1e0 [ 35.142505][ C3] do_initcalls+0x1b2/0x3e0 [ 35.142742][ C3] kernel_init_freeable+0x232/0x310 [ 35.142939][ C3] kernel_init+0x20/0x200 [ 35.143105][ C3] ret_from_fork+0x31/0x70 [ 35.143420][ C3] ret_from_fork_asm+0x1a/0x30 [ 35.143586][ C3] } [ 35.143652][ C3] ... key at: [] __key.37+0x0/0x40 [ 35.143847][ C3] ... acquired at: [ 35.144017][ C3] mark_lock+0x28d/0x3e0 [ 35.144147][ C3] mark_usage+0xd9/0x2a0 [ 35.144276][ C3] __lock_acquire+0x797/0x1570 [ 35.144411][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.144542][ C3] _raw_write_lock+0x30/0x40 [ 35.144749][ C3] addrconf_rs_timer+0xa9/0x730 [ 35.144878][ C3] call_timer_fn+0x13b/0x230 [ 35.145008][ C3] __run_timers+0x545/0x810 [ 35.145136][ C3] run_timer_softirq+0xe8/0x1b0 [ 35.145344][ C3] __do_softirq+0x1f8/0x5df [ 35.145474][ C3] irq_exit_rcu+0x97/0xc0 [ 35.145603][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.145768][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.146001][ C3] default_idle+0xf/0x20 [ 35.146131][ C3] default_idle_call+0x6d/0xb0 [ 35.146262][ C3] cpuidle_idle_call+0x1f4/0x280 [ 35.146394][ C3] do_idle+0xf9/0x160 [ 35.146566][ C3] cpu_startup_entry+0x54/0x60 [ 35.146697][ C3] start_secondary+0x21c/0x2b0 [ 35.146828][ C3] common_startup_64+0x12c/0x138 [ 35.146961][ C3] [ 35.147026][ C3] [ 35.147026][ C3] stack backtrace: [ 35.147256][ C3] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.9.0-rc1-virtme #1 [ 35.147452][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 35.147814][ C3] Call Trace: [ 35.147918][ C3] [ 35.147988][ C3] dump_stack_lvl+0x82/0xd0 [ 35.148124][ C3] print_irq_inversion_bug.part.0+0x3d9/0x570 [ 35.148292][ C3] ? kernel_text_address+0x17/0xe0 [ 35.148501][ C3] ? __pfx_print_irq_inversion_bug.part.0+0x10/0x10 [ 35.148663][ C3] ? __pfx_usage_skip+0x10/0x10 [ 35.148793][ C3] ? __pfx_usage_match+0x10/0x10 [ 35.148922][ C3] ? arch_stack_walk+0x8c/0xf0 [ 35.149053][ C3] mark_lock_irq+0x4cd/0xa10 [ 35.149187][ C3] ? common_startup_64+0x12c/0x138 [ 35.149320][ C3] ? __pfx_mark_lock_irq+0x10/0x10 [ 35.149450][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 35.149673][ C3] ? save_trace+0x8f/0x5b0 [ 35.149805][ C3] mark_lock+0x28d/0x3e0 [ 35.149903][ C3] ? __pfx_stack_trace_save+0x10/0x10 [ 35.150033][ C3] mark_usage+0xd9/0x2a0 [ 35.150132][ C3] __lock_acquire+0x797/0x1570 [ 35.150337][ C3] ? __pfx_validate_chain+0x10/0x10 [ 35.150471][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.150599][ C3] lock_acquire.part.0+0xeb/0x330 [ 35.150734][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 35.150937][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.151068][ C3] ? trace_lock_acquire+0x135/0x1c0 [ 35.151198][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 35.151327][ C3] ? lock_acquire+0x32/0xc0 [ 35.151531][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 35.151659][ C3] _raw_write_lock+0x30/0x40 [ 35.151793][ C3] ? addrconf_rs_timer+0xa9/0x730 [ 35.151922][ C3] addrconf_rs_timer+0xa9/0x730 [ 35.152051][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 35.152253][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.152383][ C3] ? call_timer_fn+0xe8/0x230 [ 35.152514][ C3] ? lock_acquire+0x32/0xc0 [ 35.152644][ C3] ? call_timer_fn+0xe8/0x230 [ 35.152847][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.152979][ C3] call_timer_fn+0x13b/0x230 [ 35.153108][ C3] ? call_timer_fn+0xe8/0x230 [ 35.153238][ C3] ? call_timer_fn+0xe8/0x230 [ 35.153515][ C3] ? __pfx_call_timer_fn+0x10/0x10 [ 35.153647][ C3] ? mark_lock+0x38/0x3e0 [ 35.153748][ C3] __run_timers+0x545/0x810 [ 35.153879][ C3] ? __pfx_addrconf_rs_timer+0x10/0x10 [ 35.154011][ C3] ? __pfx___run_timers+0x10/0x10 [ 35.154143][ C3] ? do_raw_spin_lock+0x131/0x270 [ 35.154275][ C3] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 35.154404][ C3] ? lock_acquire+0x32/0xc0 [ 35.154533][ C3] ? run_timer_softirq+0xe0/0x1b0 [ 35.154741][ C3] run_timer_softirq+0xe8/0x1b0 [ 35.154870][ C3] __do_softirq+0x1f8/0x5df [ 35.155001][ C3] irq_exit_rcu+0x97/0xc0 [ 35.155099][ C3] sysvec_apic_timer_interrupt+0x75/0x80 [ 35.155302][ C3] [ 35.155369][ C3] [ 35.155437][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 35.155598][ C3] RIP: 0010:default_idle+0xf/0x20 [ 35.155734][ 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 d3 eb 32 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.156267][ C3] RSP: 0018:ffffc9000016fdf8 EFLAGS: 00000246 [ 35.156444][ C3] RAX: 000000000008baf5 RBX: 1ffff9200002dfc1 RCX: ffffffffad132ea5 [ 35.156717][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffaa8ac1d4 [ 35.156910][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3709c [ 35.157104][ C3] R10: ffff8880361b84e3 R11: ffff8880361ad9b0 R12: 0000000000000000 [ 35.157371][ C3] R13: ffff888001b98040 R14: dffffc0000000000 R15: 0000000000000000 [ 35.157571][ C3] ? ct_kernel_exit.constprop.0+0xc5/0xf0 [ 35.157708][ C3] ? cpuidle_idle_call+0x1f4/0x280 [ 35.157911][ C3] default_idle_call+0x6d/0xb0 [ 35.158039][ C3] cpuidle_idle_call+0x1f4/0x280 [ 35.158170][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 35.158299][ C3] ? tsc_verify_tsc_adjust+0x5e/0x2b0 [ 35.158504][ C3] do_idle+0xf9/0x160 [ 35.158605][ C3] cpu_startup_entry+0x54/0x60 [ 35.158737][ C3] start_secondary+0x21c/0x2b0 [ 35.158865][ C3] ? __pfx_start_secondary+0x10/0x10 [ 35.158996][ C3] common_startup_64+0x12c/0x138 [ 35.159127][ C3]