linux: soft lockup - CPU stuck in nft_connlimit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-signed (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Kernel reports many soft lockups and after some time totally hangs up.
Before hang up the stack trace in reported in dmesg:
Oct 14 19:07:32 ubuntu kernel: watchdog: BUG: soft lockup - CPU#6 stuck for 23s! [swapper/6:0]
Oct 14 19:07:32 ubuntu kernel: Modules linked in: nft_chain_nat_ipv4 nf_log_ipv6 cfg80211 8021q garp mrp stp llc bonding intel_rapl sch_fq_codel sb_edac x86_pkg_
Oct 14 19:07:32 ubuntu kernel: i2c_algo_bit libahci lpc_ich megaraid_sas dca wmi mdio
Oct 14 19:07:32 ubuntu kernel: CPU: 6 PID: 0 Comm: swapper/6 Not tainted 5.0.0-31-generic #33-Ubuntu
Oct 14 19:07:32 ubuntu kernel: Hardware name: Dell Inc. PowerEdge R620/0VV3F2, BIOS 2.7.0 05/23/2018
Oct 14 19:07:32 ubuntu kernel: RIP: 0010:native_
Oct 14 19:07:32 ubuntu kernel: Code: 74 41 c1 e9 12 83 e0 03 83 e9 01 48 c1 e0 05 48 63 c9 48 05 40 3e 02 00 48 03 04 cd 20 98 3d b4 48 89 10 8b 42 08 85 c0 75 09 <f3> 90 8b 4
Oct 14 19:07:32 ubuntu kernel: RSP: 0018:ffff8c1b7b
Oct 14 19:07:32 ubuntu kernel: RAX: 0000000000000000 RBX: ffff8c1aba3d4c88 RCX: 0000000000000012
Oct 14 19:07:32 ubuntu kernel: RDX: ffff8c1b7b6e3e40 RSI: 00000000001c0000 RDI: ffff8c1aba3d4c88
Oct 14 19:07:32 ubuntu kernel: RBP: ffff8c1b7b6c3888 R08: 0000000000000000 R09: 0000000000000000
Oct 14 19:07:32 ubuntu kernel: R10: 0000000000000010 R11: 0000000000000001 R12: ffffffffb47d5e40
Oct 14 19:07:32 ubuntu kernel: R13: ffff8c1abfda35e0 R14: ffff8c1abfda35ca R15: ffff8c1a9f94cb18
Oct 14 19:07:32 ubuntu kernel: FS: 000000000000000
Oct 14 19:07:32 ubuntu kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 14 19:07:32 ubuntu kernel: CR2: 00007ff14631e560 CR3: 00000000b860e001 CR4: 00000000001606e0
Oct 14 19:07:32 ubuntu kernel: Call Trace:
Oct 14 19:07:32 ubuntu kernel: <IRQ>
Oct 14 19:07:32 ubuntu kernel: _raw_spin_
Oct 14 19:07:32 ubuntu kernel: nf_conncount_
Oct 14 19:07:32 ubuntu kernel: nft_connlimit_
Oct 14 19:07:32 ubuntu kernel: nft_dynset_
Oct 14 19:07:32 ubuntu kernel: nft_do_
Oct 14 19:07:32 ubuntu kernel: ? nft_do_
Oct 14 19:07:32 ubuntu kernel: ? fib4_rule_
Oct 14 19:07:32 ubuntu kernel: ? fib_rules_
Oct 14 19:07:32 ubuntu kernel: ? __fib_lookup+
Oct 14 19:07:32 ubuntu kernel: ? ip_route_
Oct 14 19:07:32 ubuntu kernel: nft_do_
Oct 14 19:07:32 ubuntu kernel: ? ip_route_
Oct 14 19:07:32 ubuntu kernel: nf_hook_
Oct 14 19:07:32 ubuntu kernel: ip_forward+
Oct 14 19:07:32 ubuntu kernel: ? ip_defrag.
Oct 14 19:07:32 ubuntu kernel: ip_rcv_
Oct 14 19:07:32 ubuntu kernel: ip_rcv+0xbc/0xd0
Oct 14 19:07:32 ubuntu kernel: ? ip_rcv_
Oct 14 19:07:32 ubuntu kernel: __netif_
Oct 14 19:07:32 ubuntu kernel: __netif_
Oct 14 19:07:32 ubuntu kernel: netif_receive_
Oct 14 19:07:32 ubuntu kernel: napi_gro_
Oct 14 19:07:32 ubuntu kernel: ixgbe_clean_
Oct 14 19:07:32 ubuntu kernel: ixgbe_poll+
Oct 14 19:07:32 ubuntu kernel: net_rx_
Oct 14 19:07:32 ubuntu kernel: __do_softirq+
Oct 14 19:07:32 ubuntu kernel: irq_exit+0xc0/0xd0
Oct 14 19:07:32 ubuntu kernel: do_IRQ+0x84/0xe0
Oct 14 19:07:32 ubuntu kernel: common_
Oct 14 19:07:32 ubuntu kernel: </IRQ>
Oct 14 19:07:32 ubuntu kernel: RIP: 0010:cpuidle_
Oct 14 19:07:32 ubuntu kernel: Code: ff e8 a7 9f 86 ff 80 7d c7 00 74 17 9c 58 0f 1f 44 00 00 f6 c4 02 0f 85 63 03 00 00 31 ff e8 5a d0 8c ff fb 66 0f 1f 44 00 00 <45> 85 ed 0
Oct 14 19:07:32 ubuntu kernel: RSP: 0018:ffffa79780
Oct 14 19:07:32 ubuntu kernel: RAX: ffff8c1b7b6e3200 RBX: ffffffffb4753e00 RCX: 000000000000001f
Oct 14 19:07:32 ubuntu kernel: RDX: 000002fcd83bc92e RSI: 000000004b4b4b4b RDI: 0000000000000000
Oct 14 19:07:32 ubuntu kernel: RBP: ffffa79780d0fea0 R08: 0000000000000002 R09: 0000000000022ac0
Oct 14 19:07:32 ubuntu kernel: R10: 0009fb24c180afd3 R11: ffff8c1b7b6e2084 R12: ffffc7967f8c0b00
Oct 14 19:07:32 ubuntu kernel: R13: 0000000000000004 R14: ffffffffb4753f98 R15: ffffffffb4753f80
Oct 14 19:07:32 ubuntu kernel: cpuidle_
Oct 14 19:07:32 ubuntu kernel: call_cpuidle+
Oct 14 19:07:32 ubuntu kernel: do_idle+0x23a/0x280
Oct 14 19:07:32 ubuntu kernel: cpu_startup_
Oct 14 19:07:32 ubuntu kernel: start_secondary
Oct 14 19:07:32 ubuntu kernel: secondary_
Machine does nothing except forwarding traffic between intefaces using nftables and conntrack.
I believe this bug is already resolved in this commit: https:/
summary: |
- soft lockup in nft_connlimit + linux: soft lockup - CPU stuck in nft_connlimit |
tags: | added: kernel-net |