OpenVSwitch produces output as kernel-panic

kristian.kirilov

Well-Known Member
Nov 17, 2016
64
2
48
40
Hello guys,
Doing usual checking activities today I came across this warning:

Code:
[    6.788543] openvswitch: Open vSwitch switching datapath
[    7.137084] device ovs-system entered promiscuous mode
[    7.137552] ------------[ cut here ]------------
[    7.137555] WARNING: CPU: 3 PID: 2160 at include/net/netfilter/nf_conntrack.h:175 __ovs_ct_lookup+0x907/0xa40 [openvswitch]
[    7.137566] Modules linked in: bonding tls openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 softdog nfnetlink_log nfnetlink intel_rapl_msr intel_rapl_common
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_hdmi kvm irqbypass crct10dif_pclmul ghash_clmulni_intel snd_hda_codec_realtek mei_hdcp snd_hda_codec_generic aesni_inte
l ledtrig_audio crypto_simd i915 cryptd snd_hda_intel rapl ttm think_lmi snd_intel_dspcfg drm_kms_helper intel_cstate snd_intel_sdw_acpi firmware_attributes_class wmi_bmof snd_hda_codec pcsp
kr snd_hda_core cec rc_core i2c_algo_bit snd_hwdep snd_pcm fb_sys_fops snd_timer snd at24 syscopyarea mei_me sysfillrect sysimgblt soundcore ie31200_edac mei zfs(PO) mac_hid intel_smartconne
ct zunicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) vhost_net vhost vhost_iotlb tap ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_tran
sport_iscsi drbd lru_cache drm sunrpc ip_tables
[    7.137613]  x_tables autofs4 raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid0 multipath linear simplefb raid1 i2c_i801 xhci_pci xhci
_pci_renesas i2c_smbus crc32_pclmul ahci lpc_ich ehci_pci tg3 libahci ehci_hcd nvme e1000e xhci_hcd nvme_core wmi video
[    7.137641] CPU: 3 PID: 2160 Comm: ovs-vswitchd Tainted: P           O      5.15.35-3-pve #1
[    7.137644] Hardware name: LENOVO 30A0A086BL/SHARKBAY, BIOS FBKTDFAUS 06/18/2021
[    7.137646] RIP: 0010:__ovs_ct_lookup+0x907/0xa40 [openvswitch]
[    7.137652] Code: 00 49 8b 94 24 c0 00 00 00 44 0f b6 3c 02 41 83 e7 0f 41 c1 e7 02 e9 69 fc ff ff 66 90 0f b6 53 1a 4c 8b 73 10 e9 59 f7 ff ff <0f> 0b e9 90 f7 ff ff 4c 89 d7 4c 89 95 40
 ff ff ff e8 63 55 fa ff
[    7.137656] RSP: 0018:ffffb69643c835e0 EFLAGS: 00010246
[    7.137658] RAX: 0000000000000000 RBX: ffff90bc237fdb20 RCX: 0000000000000000
[    7.137660] RDX: 0000000000000002 RSI: ffffb69643c83600 RDI: 0000000000000000
[    7.137662] RBP: ffffb69643c836b0 R08: 0000000000000000 R09: ffffffffbabb6cc0
[    7.137664] R10: 0000000000000000 R11: 0000000000000000 R12: ffff90bc0e1fc700
[    7.137666] R13: ffff90bc236ed4e8 R14: ffff90bc237fd500 R15: 0000000000000000
[    7.137668] FS:  00007fbbc9550a40(0000) GS:ffff90c2feb80000(0000) knlGS:0000000000000000
[    7.137670] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    7.137672] CR2: 00007ffc630155b8 CR3: 0000000122a4c001 CR4: 00000000001706e0
[    7.137674] Call Trace:
[    7.137676]  <TASK>
[    7.137678]  ? nf_ct_get_tuple+0x13f/0x1e0 [nf_conntrack]
[    7.137688]  ? nf_ct_get_tuplepr+0x64/0xa0 [nf_conntrack]
[    7.137694]  ovs_ct_execute+0x449/0x8d0 [openvswitch]
[    7.137700]  do_execute_actions+0xd4/0x1ab0 [openvswitch]
[    7.137705]  ? __ovs_nla_copy_actions+0x979/0xf80 [openvswitch]
[    7.137710]  ? __kmalloc_node_track_caller+0x16f/0x3a0
[    7.137715]  ? __kmalloc+0x179/0x330
[    7.137717]  ovs_execute_actions+0x48/0x110 [openvswitch]
[    7.137722]  ? ovs_execute_actions+0x48/0x110 [openvswitch]
[    7.137726]  ovs_packet_cmd_execute+0x280/0x300 [openvswitch]
[    7.137730]  genl_family_rcv_msg_doit+0xe7/0x150
[    7.137735]  genl_rcv_msg+0xe2/0x1e0
[    7.137738]  ? ovs_vport_cmd_del+0x200/0x200 [openvswitch]
[    7.137742]  ? genl_get_cmd+0xd0/0xd0
[    7.137745]  netlink_rcv_skb+0x55/0x100
[    7.137748]  genl_rcv+0x29/0x40
[    7.137750]  netlink_unicast+0x221/0x330
[    7.137753]  netlink_sendmsg+0x23f/0x4a0
[    7.137756]  sock_sendmsg+0x65/0x70
[    7.137758]  ____sys_sendmsg+0x257/0x2a0
[    7.137760]  ? import_iovec+0x31/0x40
[    7.137763]  ? sendmsg_copy_msghdr+0x7e/0xa0
[    7.137766]  ___sys_sendmsg+0x82/0xc0
[    7.137768]  ? finish_task_switch.isra.0+0xa6/0x2a0
[    7.137772]  ? __schedule+0x345/0x1750
[    7.137775]  ? finish_task_switch.isra.0+0xa6/0x2a0
[    7.137777]  ? __fget_files+0x86/0xc0
[    7.137780]  ? __fget_light+0x32/0x80
[    7.137782]  __sys_sendmsg+0x62/0xb0
[    7.137785]  ? do_syscall_64+0x69/0xc0
[    7.137787]  __x64_sys_sendmsg+0x1f/0x30
[    7.137790]  do_syscall_64+0x5c/0xc0
[    7.137792]  ? do_syscall_64+0x69/0xc0
[    7.137793]  ? syscall_exit_to_user_mode+0x27/0x50
[    7.137797]  ? __x64_sys_sendmsg+0x1f/0x30
[    7.137799]  ? do_syscall_64+0x69/0xc0
[    7.137801]  ? do_syscall_64+0x69/0xc0
[    7.137803]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[    7.137806] RIP: 0033:0x7fbbc9e7ce4d
[    7.137809] Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ca ee ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 33 44 89 c7 48 89 44
 24 08 e8 fe ee ff ff 48
[    7.137812] RSP: 002b:00007ffc63026010 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
[    7.137815] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fbbc9e7ce4d
[    7.137817] RDX: 0000000000000000 RSI: 00007ffc630260a0 RDI: 0000000000000015
[    7.137818] RBP: 00007ffc63026e90 R08: 0000000000000000 R09: 0000000000000001
[    7.137820] R10: 0000000000000005 R11: 0000000000000293 R12: 000055fa6a6e9360
[    7.137822] R13: 0000000000000000 R14: 000055fa6a6e9360 R15: 00007ffc630260a0
[    7.137824]  </TASK>
[    7.137825] ---[ end trace b8ba48a7dc1503c3 ]---
[    7.137922] Timeout policy base is empty
[    7.137924] Failed to associated timeout policy `ovs_test_tp'
[    7.137933] ------------[ cut here ]------------
[    7.137934] WARNING: CPU: 3 PID: 2160 at include/net/netfilter/nf_conntrack.h:175 __ovs_ct_lookup+0x907/0xa40 [openvswitch]
[    7.137941] Modules linked in: bonding tls openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 softdog nfnetlink_log nfnetlink intel_rapl_msr intel_rapl_common
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hda_codec_hdmi kvm irqbypass crct10dif_pclmul ghash_clmulni_intel snd_hda_codec_realtek mei_hdcp snd_hda_codec_generic aesni_inte
l ledtrig_audio crypto_simd i915 cryptd snd_hda_intel rapl ttm think_lmi snd_intel_dspcfg drm_kms_helper intel_cstate snd_intel_sdw_acpi firmware_attributes_class wmi_bmof snd_hda_codec pcsp
kr snd_hda_core cec rc_core i2c_algo_bit snd_hwdep snd_pcm fb_sys_fops snd_timer snd at24 syscopyarea mei_me sysfillrect sysimgblt soundcore ie31200_edac mei zfs(PO) mac_hid intel_smartconne
ct zunicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) vhost_net vhost vhost_iotlb tap ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_tran
sport_iscsi drbd lru_cache drm sunrpc ip_tables
[    7.137975]  x_tables autofs4 raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid0 multipath linear simplefb raid1 i2c_i801 xhci_pci xhci
_pci_renesas i2c_smbus crc32_pclmul ahci lpc_ich ehci_pci tg3 libahci ehci_hcd nvme e1000e xhci_hcd nvme_core wmi video
[    7.137999] CPU: 3 PID: 2160 Comm: ovs-vswitchd Tainted: P        W  O      5.15.35-3-pve #1
[    7.138002] Hardware name: LENOVO 30A0A086BL/SHARKBAY, BIOS FBKTDFAUS 06/18/2021
[    7.138004] RIP: 0010:__ovs_ct_lookup+0x907/0xa40 [openvswitch]
[    7.138009] Code: 00 49 8b 94 24 c0 00 00 00 44 0f b6 3c 02 41 83 e7 0f 41 c1 e7 02 e9 69 fc ff ff 66 90 0f b6 53 1a 4c 8b 73 10 e9 59 f7 ff ff <0f> 0b e9 90 f7 ff ff 4c 89 d7 4c 89 95 40
 ff ff ff e8 63 55 fa ff
[    7.138012] RSP: 0018:ffffb69643c83620 EFLAGS: 00010246
[    7.138014] RAX: 0000000000000000 RBX: ffff90bc237fd520 RCX: 0000000000000000
[    7.138016] RDX: 0000000000000002 RSI: ffffb69643c83640 RDI: 0000000000000000
[    7.138018] RBP: ffffb69643c836f0 R08: 0000000000000000 R09: ffffffffbabb6cc0
[    7.138020] R10: 0000000000000000 R11: 0000000000000000 R12: ffff90bc0e1fca00
[    7.138021] R13: ffff90bc236e93e8 R14: ffff90bc237fdb00 R15: 0000000000000000
[    7.138023] FS:  00007fbbc9550a40(0000) GS:ffff90c2feb80000(0000) knlGS:0000000000000000
[    7.138025] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    7.138027] CR2: 00007ffc630155b8 CR3: 0000000122a4c001 CR4: 00000000001706e0
[    7.138029] Call Trace:
[    7.138030]  <TASK>
[    7.138032]  ? nf_ct_get_tuple+0x13f/0x1e0 [nf_conntrack]
[    7.138039]  ? nf_ct_get_tuplepr+0x64/0xa0 [nf_conntrack]
[    7.138045]  ovs_ct_execute+0x449/0x8d0 [openvswitch]
[    7.138050]  do_execute_actions+0xd4/0x1ab0 [openvswitch]
[    7.138055]  ? __ovs_nla_copy_actions+0x979/0xf80 [openvswitch]
[    7.138060]  ? __kmalloc_node_track_caller+0x16f/0x3a0
[    7.138063]  ? __kmalloc+0x179/0x330
[    7.138066]  ovs_execute_actions+0x48/0x110 [openvswitch]
[    7.138070]  ? ovs_execute_actions+0x48/0x110 [openvswitch]
[    7.138074]  ovs_packet_cmd_execute+0x280/0x300 [openvswitch]
[    7.138079]  genl_family_rcv_msg_doit+0xe7/0x150
[    7.138083]  genl_rcv_msg+0xe2/0x1e0
[    7.138085]  ? ovs_vport_cmd_del+0x200/0x200 [openvswitch]
[    7.138090]  ? genl_get_cmd+0xd0/0xd0
[    7.138092]  netlink_rcv_skb+0x55/0x100
[    7.138095]  genl_rcv+0x29/0x40
[    7.138097]  netlink_unicast+0x221/0x330
[    7.138100]  netlink_sendmsg+0x23f/0x4a0
[    7.138103]  sock_sendmsg+0x65/0x70
[    7.138105]  ____sys_sendmsg+0x257/0x2a0
[    7.138107]  ? import_iovec+0x31/0x40
[    7.138109]  ? sendmsg_copy_msghdr+0x7e/0xa0
[    7.138112]  ___sys_sendmsg+0x82/0xc0
[    7.138126]  ? __fget_light+0x32/0x80
[    7.138129]  ? __sys_sendmsg+0x97/0xb0
[    7.138131]  ? __fget_files+0x86/0xc0
[    7.138133]  ? __fget_files+0x86/0xc0
[    7.138135]  ? __fget_light+0x32/0x80
[    7.138137]  __sys_sendmsg+0x62/0xb0
[    7.138140]  ? do_syscall_64+0x69/0xc0
[    7.138142]  __x64_sys_sendmsg+0x1f/0x30
[    7.138144]  do_syscall_64+0x5c/0xc0
[    7.138146]  ? do_syscall_64+0x69/0xc0
[    7.138148]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[    7.138151] RIP: 0033:0x7fbbc9e7ce4d
[    7.138153] Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ca ee ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 33 44 89 c7 48 89 44
 24 08 e8 fe ee ff ff 48
[    7.138157] RSP: 002b:00007ffc63026010 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
[    7.138159] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fbbc9e7ce4d
[    7.138161] RDX: 0000000000000000 RSI: 00007ffc630260a0 RDI: 0000000000000015
[    7.138163] RBP: 00007ffc63026e90 R08: 0000000000000000 R09: 0000000000000001
[    7.138165] R10: 0000000000000005 R11: 0000000000000293 R12: 000055fa6a6e9360
[    7.138166] R13: 0000000000000000 R14: 000055fa6a6e9360 R15: 00007ffc630260a0
[    7.138169]  </TASK>
[    7.138170] ---[ end trace b8ba48a7dc1503c4 ]---

Is there anything I can do to fix it?
In essence is it a problem at all?

Thanks.
 
Ups forgot to mention that I see this only on latest kernel versions like the one blow:

5.15.35-2-pve
5.15.35-3-pve

I have switched to 5.13.19-6-pve - no issues at all.
 
  • Like
Reactions: Javier Alonso