Hi there,
I got this backtrace in one of my servers. I wonder if it is known or fixed
already in a later version.
My versions:
* kernel 5.10.24
* nft 0.9.6
Also, find attached the ruleset that triggered this.
[Thu May 6 16:20:21 2021] ------------[ cut here ]------------
[Thu May 6 16:20:21 2021] WARNING: CPU: 3 PID: 456 at
arch/x86/kernel/fpu/core.c:129 kernel_fpu_begin_mask+0xc9/0xe0
[Thu May 6 16:20:21 2021] Modules linked in: binfmt_misc nft_nat nft_chain_nat
nf_nat nft_counter nft_ct nf_tables nf_conntrack_netlink nfnetlink 8021q garp
stp mrp llc vrf intel_rapl_msr intel_rapl_common skx_edac nfit libnvdimm
ipmi_ssif x86_pkg_temp_thermal intel_powerclamp coretemp crc32_pclmul mgag200
ghash_clmulni_intel drm_kms_helper cec aesni_intel drm libaes crypto_simd cryptd
glue_helper mei_me dell_smbios iTCO_wdt evdev intel_pmc_bxt iTCO_vendor_support
dcdbas pcspkr rapl dell_wmi_descriptor wmi_bmof sg i2c_algo_bit watchdog mei
acpi_ipmi ipmi_si button nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ipmi_devintf
ipmi_msghandler ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 dm_mod raid10
raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor sd_mod
t10_pi crc_t10dif crct10dif_generic raid6_pq libcrc32c crc32c_generic raid1
raid0 multipath linear md_mod ahci libahci tg3 libata xhci_pci libphy xhci_hcd
ptp usbcore crct10dif_pclmul crct10dif_common bnxt_en crc32c_intel scsi_mod
[Thu May 6 16:20:21 2021] pps_core i2c_i801 lpc_ich i2c_smbus wmi usb_common
[Thu May 6 16:20:21 2021] CPU: 3 PID: 456 Comm: jbd2/dm-0-8 Tainted: G W
5.10.0-0.bpo.5-amd64 #1 Debian 5.10.24-1~bpo10+1
[Thu May 6 16:20:21 2021] Hardware name: Dell Inc. PowerEdge R440/04JN2K, BIOS
2.9.3 09/23/2020
[Thu May 6 16:20:21 2021] RIP: 0010:kernel_fpu_begin_mask+0xc9/0xe0
[Thu May 6 16:20:21 2021] Code: c4 10 5b c3 65 8a 05 5e 21 5e 76 84 c0 74 92 0f
0b eb 8e f0 80 4f 01 40 48 81 c7 00 14 00 00 e8 dd fb ff ff eb a5 db e3 eb c4
<0f> 0b e9 7b ff ff ff e8 2b 8a 84 00 66 66 2e 0f 1f 84 00 00 00 00
[Thu May 6 16:20:21 2021] RSP: 0018:ffffbb9700304740 EFLAGS: 00010202
[Thu May 6 16:20:21 2021] RAX: 0000000000000001 RBX: 0000000000000003 RCX:
0000000000000001
[Thu May 6 16:20:21 2021] RDX: ffffbb9700304970 RSI: ffff922fe1952e00 RDI:
0000000000000003
[Thu May 6 16:20:21 2021] RBP: ffffbb9700304970 R08: ffff922fc868a600 R09:
ffff922fc711e462
[Thu May 6 16:20:21 2021] R10: 000000000000005f R11: ffff922ff0b27180 R12:
ffffbb9700304960
[Thu May 6 16:20:21 2021] R13: ffffbb9700304b08 R14: ffff922fc664b6c8 R15:
ffff922fc664b660
[Thu May 6 16:20:21 2021] FS: 0000000000000000(0000) GS:ffff92371fec0000(0000)
knlGS:0000000000000000
[Thu May 6 16:20:21 2021] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Thu May 6 16:20:21 2021] CR2: 0000557a6655bdd0 CR3: 000000026020a001 CR4:
00000000007706e0
[Thu May 6 16:20:21 2021] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[Thu May 6 16:20:21 2021] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[Thu May 6 16:20:21 2021] PKRU: 55555554
[Thu May 6 16:20:21 2021] Call Trace:
[Thu May 6 16:20:21 2021] <IRQ>
[Thu May 6 16:20:21 2021] nft_pipapo_avx2_lookup+0x4c/0x1cba [nf_tables]
[Thu May 6 16:20:21 2021] ? sched_clock+0x5/0x10
[Thu May 6 16:20:21 2021] ? sched_clock_cpu+0xc/0xb0
[Thu May 6 16:20:21 2021] ? record_times+0x16/0x80
[Thu May 6 16:20:21 2021] ? plist_add+0xc1/0x100
[Thu May 6 16:20:21 2021] ? psi_group_change+0x47/0x230
[Thu May 6 16:20:21 2021] ? skb_clone+0x4d/0xb0
[Thu May 6 16:20:21 2021] ? enqueue_task_rt+0x22b/0x310
[Thu May 6 16:20:21 2021] ? bnxt_start_xmit+0x1e8/0xaf0 [bnxt_en]
[Thu May 6 16:20:21 2021] ? packet_rcv+0x40/0x4a0
[Thu May 6 16:20:21 2021] nft_lookup_eval+0x59/0x160 [nf_tables]
[Thu May 6 16:20:21 2021] nft_do_chain+0x350/0x500 [nf_tables]
[Thu May 6 16:20:21 2021] ? nft_lookup_eval+0x59/0x160 [nf_tables]
[Thu May 6 16:20:21 2021] ? nft_do_chain+0x364/0x500 [nf_tables]
[Thu May 6 16:20:21 2021] ? fib4_rule_action+0x6d/0x80
[Thu May 6 16:20:21 2021] ? fib_rules_lookup+0x107/0x250
[Thu May 6 16:20:21 2021] nft_nat_do_chain+0x8a/0xf2 [nft_chain_nat]
[Thu May 6 16:20:21 2021] nf_nat_inet_fn+0xea/0x210 [nf_nat]
[Thu May 6 16:20:21 2021] nf_nat_ipv4_out+0x14/0xa0 [nf_nat]
[Thu May 6 16:20:21 2021] nf_hook_slow+0x44/0xc0
[Thu May 6 16:20:21 2021] ip_output+0xd2/0x100
[Thu May 6 16:20:21 2021] ? __ip_finish_output+0x210/0x210
[Thu May 6 16:20:21 2021] ip_forward+0x37d/0x4a0
[Thu May 6 16:20:21 2021] ? ip4_key_hashfn+0xb0/0xb0
[Thu May 6 16:20:21 2021] ip_sublist_rcv_finish+0x4f/0x60
[Thu May 6 16:20:21 2021] ip_sublist_rcv+0x196/0x220
[Thu May 6 16:20:21 2021] ? ip_rcv_finish_core.isra.22+0x400/0x400
[Thu May 6 16:20:21 2021] ip_list_rcv+0x137/0x160
[Thu May 6 16:20:21 2021] __netif_receive_skb_list_core+0x29b/0x2c0
[Thu May 6 16:20:21 2021] netif_receive_skb_list_internal+0x1a6/0x2d0
[Thu May 6 16:20:21 2021] gro_normal_list.part.156+0x19/0x40
[Thu May 6 16:20:21 2021] napi_complete_done+0x67/0x170
[Thu May 6 16:20:21 2021] bnxt_poll+0x105/0x190 [bnxt_en]
[Thu May 6 16:20:21 2021] ? irqentry_exit+0x29/0x30
[Thu May 6 16:20:21 2021] ? asm_common_interrupt+0x1e/0x40
[Thu May 6 16:20:21 2021] net_rx_action+0x144/0x3c0
[Thu May 6 16:20:21 2021] __do_softirq+0xd5/0x29c
[Thu May 6 16:20:21 2021] asm_call_irq_on_stack+0xf/0x20
[Thu May 6 16:20:21 2021] </IRQ>
[Thu May 6 16:20:21 2021] do_softirq_own_stack+0x37/0x40
[Thu May 6 16:20:21 2021] irq_exit_rcu+0x9d/0xa0
[Thu May 6 16:20:21 2021] common_interrupt+0x78/0x130
[Thu May 6 16:20:21 2021] asm_common_interrupt+0x1e/0x40
[Thu May 6 16:20:21 2021] RIP: 0010:crc_41+0x0/0x1e [crc32c_intel]
[Thu May 6 16:20:21 2021] Code: ff ff f2 4d 0f 38 f1 93 a8 fe ff ff f2 4c 0f 38
f1 81 b0 fe ff ff f2 4c 0f 38 f1 8a b0 fe ff ff f2 4d 0f 38 f1 93 b0 fe ff ff
<f2> 4c 0f 38 f1 81 b8 fe ff ff f2 4c 0f 38 f1 8a b8 fe ff ff f2 4d
[Thu May 6 16:20:21 2021] RSP: 0018:ffffbb97008dfcd0 EFLAGS: 00000246
[Thu May 6 16:20:21 2021] RAX: 000000000000002a RBX: 0000000000000400 RCX:
ffff922fc591dd50
[Thu May 6 16:20:21 2021] RDX: ffff922fc591dea0 RSI: 0000000000000a14 RDI:
ffffffffc00dddc0
[Thu May 6 16:20:21 2021] RBP: 0000000000001000 R08: 000000000342d8c3 R09:
0000000000000000
[Thu May 6 16:20:21 2021] R10: 0000000000000000 R11: ffff922fc591dff0 R12:
ffffbb97008dfe58
[Thu May 6 16:20:21 2021] R13: 000000000000000a R14: ffff922fd2b91e80 R15:
ffff922fef83fe38
[Thu May 6 16:20:21 2021] ? crc_43+0x1e/0x1e [crc32c_intel]
[Thu May 6 16:20:21 2021] ? crc32c_pcl_intel_update+0x97/0xb0 [crc32c_intel]
[Thu May 6 16:20:21 2021] ? jbd2_journal_commit_transaction+0xaec/0x1a30 [jbd2]
[Thu May 6 16:20:21 2021] ? irq_exit_rcu+0x3e/0xa0
[Thu May 6 16:20:21 2021] ? kjournald2+0xbd/0x270 [jbd2]
[Thu May 6 16:20:21 2021] ? finish_wait+0x80/0x80
[Thu May 6 16:20:21 2021] ? commit_timeout+0x10/0x10 [jbd2]
[Thu May 6 16:20:21 2021] ? kthread+0x116/0x130
[Thu May 6 16:20:21 2021] ? kthread_park+0x80/0x80
[Thu May 6 16:20:21 2021] ? ret_from_fork+0x1f/0x30
[Thu May 6 16:20:21 2021] ---[ end trace 081a19978e5f09f6 ]---
[Thu May 6 16:20:21 2021] ------------[ cut here ]------------
define routing_source_ip = 185.15.56.1
define virtual_subnet_cidr = 172.16.0.0/21
define nic_host = "ens2f0np0"
define nic_virt = "ens2f1np1.1107"
define nic_wan = "ens2f1np1.1120"
table inet cloudgw {
set dmz_cidr_set {
type ipv4_addr . ipv4_addr
flags interval
counter
elements = {
172.16.0.0/21 . 208.80.154.224 ,
172.16.0.0/21 . 208.80.154.240 ,
172.16.0.0/21 . 208.80.153.224 ,
172.16.0.0/21 . 208.80.153.240 ,
172.16.0.0/21 . 198.35.26.96 ,
172.16.0.0/21 . 198.35.26.112 ,
172.16.0.0/21 . 103.102.166.224 ,
172.16.0.0/21 . 103.102.166.240 ,
172.16.0.0/21 . 91.198.174.192 ,
172.16.0.0/21 . 91.198.174.208 ,
172.16.0.0/21 . 208.80.154.24 ,
172.16.0.0/21 . 208.80.154.143 ,
172.16.0.0/21 . 208.80.153.118 ,
172.16.0.0/21 . 208.80.153.78 ,
172.16.0.0/21 . 208.80.153.107 ,
172.16.0.0/21 . 208.80.154.137 ,
172.16.0.0/21 . 208.80.154.30 ,
172.16.0.0/21 . 208.80.153.42 ,
172.16.0.0/21 . 208.80.154.15 ,
172.16.0.0/21 . 208.80.154.23 ,
172.16.0.0/21 . 208.80.154.132 ,
172.16.0.0/21 . 208.80.154.85 ,
172.16.0.0/21 . 208.80.153.59 ,
172.16.0.0/21 . 208.80.153.75 ,
172.16.0.0/21 . 208.80.153.116 ,
172.16.0.0/21 . 208.80.153.15 ,
172.16.0.0/21 . 208.80.154.252 ,
172.16.0.0/21 . 208.80.153.252 ,
172.16.0.0/21 . 208.80.155.119 ,
172.16.0.0/21 . 208.80.155.126 ,
172.16.0.0/21 . 208.80.155.125 ,
172.16.0.0/21 . 10.64.37.18/32 ,
172.16.0.0/21 . 10.64.37.28/32 ,
172.16.0.0/21 . 10.64.37.27/32 ,
172.16.0.0/21 . 10.64.37.13/32 ,
172.16.0.0/21 . 10.64.4.15/32 ,
}
}
chain prerouting {
type nat hook prerouting priority dstnat; policy accept;
}
chain postrouting {
type nat hook postrouting priority srcnat; policy accept;
ip saddr . ip daddr @dmz_cidr_set counter accept comment "dmz_cidr"
ip saddr $virtual_subnet_cidr counter snat ip to $routing_source_ip comment "routing_source_ip"
}
chain forward {
type filter hook forward priority filter; policy drop;
# only forward packets in the VRF
iifname "vrf-cloudgw" oifname { $nic_virt, $nic_wan } counter accept
counter comment "counter dropped packets"
}
}