[ 13.344098][ T290] openvswitch: Open vSwitch switching datapath [ 17.360648][ T319] netlink: 'python3': attribute type 2 has an invalid length. [ 17.368946][ T319] arpping: entered promiscuous mode [ 20.534371][ T370] c0: entered promiscuous mode [ 21.101879][ T391] ip (391) used greatest stack depth: 23896 bytes left [ 23.554605][ T408] s0: entered promiscuous mode [ 29.932615][ T472] [ 29.932747][ T472] ============================================ [ 29.932941][ T472] WARNING: possible recursive locking detected [ 29.933124][ T472] 6.13.0-rc5-virtme #1 Not tainted [ 29.933271][ T472] -------------------------------------------- [ 29.933454][ T472] ip/472 is trying to acquire lock: [ 29.933606][ T472] ffffffff8b9f6a70 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 29.933915][ T472] [ 29.933915][ T472] but task is already holding lock: [ 29.934133][ T472] ffffffff8b9f6a70 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 29.934431][ T472] [ 29.934431][ T472] other info that might help us debug this: [ 29.934646][ T472] Possible unsafe locking scenario: [ 29.934646][ T472] [ 29.934863][ T472] CPU0 [ 29.934977][ T472] ---- [ 29.935088][ T472] lock((netdev_chain).rwsem); [ 29.935235][ T472] lock((netdev_chain).rwsem); [ 29.935386][ T472] [ 29.935386][ T472] *** DEADLOCK *** [ 29.935386][ T472] [ 29.935607][ T472] May be due to missing lock nesting notation [ 29.935607][ T472] [ 29.935825][ T472] 2 locks held by ip/472: [ 29.935940][ T472] #0: ffffffff8ba07e88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dellink+0x228/0xa40 [ 29.936209][ T472] #1: ffffffff8b9f6a70 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 29.936510][ T472] [ 29.936510][ T472] stack backtrace: [ 29.936693][ T472] CPU: 3 UID: 0 PID: 472 Comm: ip Not tainted 6.13.0-rc5-virtme #1 [ 29.936919][ T472] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.937105][ T472] Call Trace: [ 29.937220][ T472] [ 29.937299][ T472] dump_stack_lvl+0x82/0xd0 [ 29.937454][ T472] print_deadlock_bug+0x40a/0x650 [ 29.937605][ T472] validate_chain+0x5bf/0xae0 [ 29.937756][ T472] ? __lock_acquire+0xb9a/0x1680 [ 29.937909][ T472] ? __pfx_validate_chain+0x10/0x10 [ 29.938059][ T472] ? hlock_class+0x4e/0x130 [ 29.938207][ T472] ? mark_lock+0x38/0x3e0 [ 29.938325][ T472] __lock_acquire+0xb9a/0x1680 [ 29.938477][ T472] lock_acquire.part.0+0xeb/0x330 [ 29.938626][ T472] ? blocking_notifier_call_chain+0x50/0x90 [ 29.938814][ T472] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 29.938962][ T472] ? trace_lock_acquire+0x14c/0x1f0 [ 29.939112][ T472] ? lock_acquire+0x32/0xc0 [ 29.939260][ T472] ? blocking_notifier_call_chain+0x50/0x90 [ 29.939449][ T472] down_read+0x9f/0x340 [ 29.939563][ T472] ? blocking_notifier_call_chain+0x50/0x90 [ 29.939747][ T472] ? __pfx_down_read+0x10/0x10 [ 29.939896][ T472] ? __mutex_unlock_slowpath+0x14a/0x3d0 [ 29.940045][ T472] blocking_notifier_call_chain+0x50/0x90 [ 29.940193][ T472] __netdev_upper_dev_unlink+0xd9/0x220 [ 29.940348][ T472] ? __pfx___netdev_upper_dev_unlink+0x10/0x10 [ 29.940535][ T472] ? synchronize_rcu_expedited+0x3b0/0x450 [ 29.940735][ T472] ? __pfx_autoremove_wake_function+0x10/0x10 [ 29.940926][ T472] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 29.941113][ T472] netdev_upper_dev_unlink+0x71/0xa0 [ 29.941263][ T472] ? __pfx_netdev_upper_dev_unlink+0x10/0x10 [ 29.941450][ T472] ? mutex_is_locked+0x1c/0x60 [ 29.941606][ T472] ? rtnl_is_locked+0x15/0x20 [ 29.941755][ T472] ? netdev_master_upper_dev_get+0x13/0x120 [ 29.941942][ T472] ovs_netdev_detach_dev+0xb0/0x170 [openvswitch] [ 29.942149][ T472] ? ovs_netdev_get_vport+0x78/0xf0 [openvswitch] [ 29.942349][ T472] dp_device_event+0x68/0x140 [openvswitch] [ 29.942547][ T472] ? trace_notifier_run+0xe7/0x150 [ 29.942698][ T472] notifier_call_chain+0xcd/0x150 [ 29.942847][ T472] blocking_notifier_call_chain+0x66/0x90 [ 29.942995][ T472] unregister_netdevice_many_notify+0xa83/0x1580 [ 29.943181][ T472] ? __pfx_unregister_netdevice_many_notify+0x10/0x10 [ 29.943368][ T472] ? rtnl_dellink+0x228/0xa40 [ 29.943517][ T472] ? sock_def_readable+0x11e/0x300 [ 29.943669][ T472] ? rtnl_is_locked+0x15/0x20 [ 29.943818][ T472] ? unregister_netdevice_queue+0x70/0x410 [ 29.944003][ T472] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 29.944185][ T472] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 29.944374][ T472] rtnl_dellink+0x348/0xa40 [ 29.944524][ T472] ? __pfx_rtnl_dellink+0x10/0x10 [ 29.944685][ T472] ? find_held_lock+0x2c/0x110 [ 29.944833][ T472] ? __lock_release+0x103/0x460 [ 29.944980][ T472] ? rtnetlink_rcv_msg+0x6ef/0xc10 [ 29.945130][ T472] ? __pfx___lock_release+0x10/0x10 [ 29.945279][ T472] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 29.945433][ T472] ? rtnetlink_rcv_msg+0x6ef/0xc10 [ 29.945581][ T472] ? __pfx_rtnl_dellink+0x10/0x10 [ 29.945732][ T472] rtnetlink_rcv_msg+0x712/0xc10 [ 29.945881][ T472] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 29.946029][ T472] ? hlock_class+0x4e/0x130 [ 29.946176][ T472] ? mark_lock+0x38/0x3e0 [ 29.946291][ T472] ? __lock_acquire+0xb9a/0x1680 [ 29.946440][ T472] netlink_rcv_skb+0x130/0x360 [ 29.946593][ T472] ? __pfx_rtnetlink_rcv_msg+0x10/0x10 [ 29.946743][ T472] ? __pfx_netlink_rcv_skb+0x10/0x10 [ 29.946900][ T472] ? netlink_deliver_tap+0x13e/0x340 [ 29.947050][ T472] ? netlink_deliver_tap+0xc3/0x340 [ 29.947199][ T472] netlink_unicast+0x44b/0x710 [ 29.947350][ T472] ? __pfx_netlink_unicast+0x10/0x10 [ 29.947499][ T472] ? find_held_lock+0x2c/0x110 [ 29.947654][ T472] netlink_sendmsg+0x723/0xbe0 [ 29.947803][ T472] ? __pfx_netlink_sendmsg+0x10/0x10 [ 29.947955][ T472] ____sys_sendmsg+0x7ac/0xa10 [ 29.948104][ T472] ? __pfx_____sys_sendmsg+0x10/0x10 [ 29.948254][ T472] ? __pfx_copy_msghdr_from_user+0x10/0x10 [ 29.948444][ T472] ___sys_sendmsg+0xee/0x170 [ 29.948593][ T472] ? __pfx____sys_sendmsg+0x10/0x10 [ 29.948747][ T472] ? kasan_save_stack+0x34/0x50 [ 29.948899][ T472] ? kasan_save_stack+0x24/0x50 [ 29.949047][ T472] ? __kasan_record_aux_stack+0x8e/0xa0 [ 29.949197][ T472] ? __call_rcu_common.constprop.0+0xa1/0x4b0 [ 29.949386][ T472] ? __x64_sys_close+0x7c/0xd0 [ 29.949534][ T472] ? do_syscall_64+0xc1/0x1d0 [ 29.949683][ T472] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 29.949871][ T472] ? __lock_acquire+0xb9a/0x1680 [ 29.950023][ T472] ? find_held_lock+0x2c/0x110 [ 29.950171][ T472] ? __lock_release+0x103/0x460 [ 29.950318][ T472] ? __virt_addr_valid+0x22b/0x430 [ 29.950467][ T472] ? __pfx___lock_release+0x10/0x10 [ 29.950618][ T472] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 29.950774][ T472] __sys_sendmsg+0x109/0x1a0 [ 29.950924][ T472] ? __pfx___sys_sendmsg+0x10/0x10 [ 29.951072][ T472] ? __pfx_slab_free_after_rcu_debug+0x10/0x10 [ 29.951262][ T472] do_syscall_64+0xc1/0x1d0 [ 29.951410][ T472] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 29.951591][ T472] RIP: 0033:0x7fed832e89a7 [ 29.951745][ T472] Code: 0a 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10 [ 29.952268][ T472] RSP: 002b:00007ffd08bf9d58 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 29.952493][ T472] RAX: ffffffffffffffda RBX: 00007ffd08bfa480 RCX: 00007fed832e89a7 [ 29.952715][ T472] RDX: 0000000000000000 RSI: 00007ffd08bf9dc0 RDI: 0000000000000005 [ 29.952942][ T472] RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000078 [ 29.953162][ T472] R10: 00007fed831a6ef8 R11: 0000000000000246 R12: 0000000000000001 [ 29.953382][ T472] R13: 0000000067790cc0 R14: 0000000000498600 R15: 0000000000000000 [ 29.953608][ T472] [ 29.953814][ T472] s0 (unregistering): left promiscuous mode [ 30.244435][ T480] c0 (unregistering): left promiscuous mode [ 31.746885][ T487] arpping: left promiscuous mode [ 35.959090][ T532] netlink: 'python3': attribute type 2 has an invalid length. [ 35.963963][ T532] ct4: entered promiscuous mode [ 38.283086][ T582] c0: entered promiscuous mode [ 40.506764][ T620] s0: entered promiscuous mode [ 64.038116][ T775] s0 (unregistering): left promiscuous mode [ 64.349056][ T783] c0 (unregistering): left promiscuous mode [ 65.839963][ T790] ct4: left promiscuous mode [ 70.098587][ T833] netlink: 'python3': attribute type 2 has an invalid length. [ 70.103870][ T833] cv4: entered promiscuous mode [ 72.428188][ T884] c0: entered promiscuous mode [ 74.682093][ T922] s0: entered promiscuous mode [ 83.387233][ T1009] s0 (unregistering): left promiscuous mode [ 83.721472][ T1017] c0 (unregistering): left promiscuous mode [ 85.260814][ T1023] cv4: left promiscuous mode [ 89.422240][ T1067] netlink: 'python3': attribute type 2 has an invalid length. [ 89.427734][ T1067] nat4: entered promiscuous mode [ 91.669136][ T1119] c0: entered promiscuous mode [ 93.932968][ T1157] s0: entered promiscuous mode [ 116.082404][ T1297] s0 (unregistering): left promiscuous mode [ 116.399079][ T1305] c0 (unregistering): left promiscuous mode [ 117.883818][ T1311] nat4: left promiscuous mode [ 122.261250][ T1355] netlink: 'python3': attribute type 2 has an invalid length. [ 122.265494][ T1355] natrelated4: entered promiscuous mode [ 124.594621][ T1406] c0: entered promiscuous mode [ 126.781904][ T1444] s0: entered promiscuous mode [ 139.019974][ T1597] s0 (unregistering): left promiscuous mode [ 139.326565][ T1605] c0 (unregistering): left promiscuous mode [ 140.771154][ T1611] natrelated4: left promiscuous mode [ 144.949792][ T1655] netlink: 'python3': attribute type 2 has an invalid length. [ 144.954794][ T1655] nv0: entered promiscuous mode [ 146.513775][ T1679] netlink: 'python3': attribute type 2 has an invalid length. [ 146.514741][ T1679] openvswitch: nv0: Dropping previously announced user features [ 148.806363][ T1728] left0: entered promiscuous mode [ 151.009993][ T1767] right0: entered promiscuous mode [ 153.866866][ T1799] right0: left promiscuous mode [ 156.773689][ T1835] openvswitch: netlink: Flow actions may not be safe on all matching packets. [ 156.858669][ T1835] python3 (1835) used greatest stack depth: 22472 bytes left [ 158.343990][ T1858] openvswitch: netlink: Flow actions may not be safe on all matching packets. [ 158.955075][ T1885] left0 (unregistering): left promiscuous mode [ 160.408054][ T1892] nv0: left promiscuous mode [ 165.983806][ T1951] ui0: entered promiscuous mode [ 168.458837][ T2001] left0: entered promiscuous mode [ 170.977643][ T2032] left0 (unregistering): left promiscuous mode [ 172.451009][ T2040] ui0: left promiscuous mode [ 176.699662][ T2084] netlink: 'python3': attribute type 2 has an invalid length. [ 176.704016][ T2084] dropreason: entered promiscuous mode [ 179.030242][ T2135] c0: entered promiscuous mode [ 181.284291][ T2173] s0: entered promiscuous mode [ 215.815081][ T2344] s0 (unregistering): left promiscuous mode [ 216.120334][ T2352] c0 (unregistering): left promiscuous mode [ 217.590694][ T2358] dropreason: left promiscuous mode [ 221.818125][ T2401] psample: entered promiscuous mode [ 224.670704][ T2452] c0: entered promiscuous mode [ 225.413306][ T2484] s0: entered promiscuous mode [ 228.487623][ T2547] openvswitch: netlink: Flow actions may not be safe on all matching packets. [ 230.086999][ T2570] openvswitch: netlink: Flow actions may not be safe on all matching packets. [ 231.686550][ T2593] openvswitch: netlink: Flow actions may not be safe on all matching packets. [ 241.230098][ T2734] s0 (unregistering): left promiscuous mode [ 241.585069][ T2744] c0 (unregistering): left promiscuous mode [ 243.118585][ T2750] psample: left promiscuous mode