** Attachment added: "dmesg" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1786752/+attachment/5174664/+files/dmesg.log
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1786752 Title: Reference counter issue in 4.15 (nf_xfrm_me_harder / dst_release) Status in linux package in Ubuntu: Confirmed Bug description: Since upgrading from 14.04 to 18.04, we see very frequent warnings about negative refcnts in dst_release: [ 3117.882227] WARNING: CPU: 6 PID: 0 at /build/linux-I4R9hO/linux-4.15.0/include/net/dst.h:256 nf_xfrm_me_harder+0x127/0x140 [nf_nat] [ 3117.882229] Modules linked in: xt_policy cls_u32 sch_sfq ip_vti ip_tunnel authenc echainiv xfrm6_mode_tunnel xfrm4_mode_tunnel xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 af_key nfnetlink_queue nfnetlink_log sch_htb xt_TPROXY xt_multiport veth nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo br_netfilter bridge overlay macvlan 8021q garp mrp stp llc bonding algif_skcipher af_alg xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ip6t_REJECT nf_reject_ipv6 xt_nat ipt_MASQUERADE nf_nat_masquerade_ipv4 dm_crypt iptable_nat nf_nat_ipv4 xt_DSCP xt_dscp xt_mark iptable_mangle xt_limit xt_tcpudp xt_addrtype intel_rapl sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp nf_conntrack_ipv4 nf_defrag_ipv4 kvm_intel xt_conntrack kvm joydev input_leds ipt_REJECT nf_reject_ipv4 ftdi_sio usbserial ipmi_si [ 3117.882265] irqbypass intel_cstate mei_me mei ioatdma acpi_pad intel_rapl_perf shpchp ipmi_devintf ipmi_msghandler acpi_power_meter lpc_ich mac_hid ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp sch_fq_codel nf_conntrack iptable_filter ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear mgag200 ttm crct10dif_pclmul igb ixgbe crc32_pclmul drm_kms_helper hid_generic ghash_clmulni_intel syscopyarea i2c_algo_bit dca sysfillrect usbhid pcbc sysimgblt fb_sys_fops aesni_intel aes_x86_64 crypto_simd ahci glue_helper ptp hid mxm_wmi cryptd [ 3117.882309] drm libahci megaraid_sas pps_core mdio wmi [ 3117.882315] CPU: 6 PID: 0 Comm: swapper/6 Tainted: G W 4.15.0-30-generic #32-Ubuntu [ 3117.882316] Hardware name: Intel Corporation S2600WT2R/S2600WT2R, BIOS SE5C610.86B.01.01.0022.062820171903 06/28/2017 [ 3117.882319] RIP: 0010:nf_xfrm_me_harder+0x127/0x140 [nf_nat] [ 3117.882320] RSP: 0018:ffff88d77f3839f0 EFLAGS: 00010246 [ 3117.882322] RAX: 0000000000000000 RBX: ffffffff90de4000 RCX: 0000000000001924 [ 3117.882323] RDX: 0000000000000000 RSI: ffff88d749ae6400 RDI: ffff88d655e96600 [ 3117.882324] RBP: ffff88d77f383a68 R08: ffff88d7493dc000 R09: 0000000000000018 [ 3117.882324] R10: 0000000000000001 R11: ffff88e770dedc00 R12: ffff88d655e96600 [ 3117.882325] R13: ffff88d77f383ae8 R14: ffff88d7799ff200 R15: ffff88d7493dc000 [ 3117.882327] FS: 0000000000000000(0000) GS:ffff88d77f380000(0000) knlGS:0000000000000000 [ 3117.882327] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3117.882328] CR2: ffffffffff600400 CR3: 000000193de0a002 CR4: 00000000003606e0 [ 3117.882329] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 3117.882330] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 3117.882331] Call Trace: [ 3117.882332] <IRQ> [ 3117.882337] ? nf_nat_ipv4_fn+0x15b/0x200 [nf_nat_ipv4] [ 3117.882339] nf_nat_ipv4_out+0xc5/0xe0 [nf_nat_ipv4] [ 3117.882342] iptable_nat_ipv4_out+0x15/0x20 [iptable_nat] [ 3117.882347] nf_hook_slow+0x48/0xc0 [ 3117.882353] ip_output+0xd2/0xe0 [ 3117.882355] ? ip_fragment.constprop.44+0x80/0x80 [ 3117.882357] ip_forward_finish+0x49/0x70 [ 3117.882359] ip_forward+0x366/0x440 [ 3117.882361] ? ip_frag_mem+0x20/0x20 [ 3117.882362] ip_rcv_finish+0x129/0x430 [ 3117.882364] ip_rcv+0x28f/0x3a0 [ 3117.882366] ? inet_del_offload+0x40/0x40 [ 3117.882372] __netif_receive_skb_core+0x432/0xb40 [ 3117.882379] ? handle_edge_irq+0x7c/0x190 [ 3117.882384] ? irq_exit+0x67/0xc0 [ 3117.882391] ? do_IRQ+0x82/0xd0 [ 3117.882393] __netif_receive_skb+0x18/0x60 [ 3117.882395] ? __netif_receive_skb+0x18/0x60 [ 3117.882397] netif_receive_skb_internal+0x37/0xd0 [ 3117.882398] napi_gro_receive+0xc5/0xf0 [ 3117.882407] ixgbe_clean_rx_irq+0x446/0xe30 [ixgbe] [ 3117.882411] ixgbe_poll+0x256/0x710 [ixgbe] [ 3117.882413] ? do_IRQ+0x82/0xd0 [ 3117.882415] net_rx_action+0x140/0x3a0 [ 3117.882418] __do_softirq+0xdf/0x2b2 [ 3117.882419] irq_exit+0xb6/0xc0 [ 3117.882421] do_IRQ+0x82/0xd0 [ 3117.882423] common_interrupt+0x84/0x84 [ 3117.882424] </IRQ> [ 3117.882427] RIP: 0010:cpuidle_enter_state+0xa7/0x2f0 [ 3117.882428] RSP: 0018:ffff9e1a46413e68 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffda [ 3117.882430] RAX: ffff88d77f3a2880 RBX: 000002d5f0422d24 RCX: 000000000000001f [ 3117.882430] RDX: 000002d5f0422d24 RSI: fffa51c90e2bb456 RDI: 0000000000000000 [ 3117.882431] RBP: ffff9e1a46413ea8 R08: 000000000000003c R09: 0000000000000007 [ 3117.882432] R10: ffff9e1a46413e38 R11: 0000000000000036 R12: ffffbe0a3fb82240 [ 3117.882432] R13: 0000000000000001 R14: ffffffff90d71c98 R15: 0000000000000000 [ 3117.882435] ? cpuidle_enter_state+0x97/0x2f0 [ 3117.882436] cpuidle_enter+0x17/0x20 [ 3117.882439] call_cpuidle+0x23/0x40 [ 3117.882441] do_idle+0x18c/0x1f0 [ 3117.882443] cpu_startup_entry+0x73/0x80 [ 3117.882446] start_secondary+0x1ab/0x200 [ 3117.882449] secondary_startup_64+0xa5/0xb0 [ 3117.882450] Code: ff ff ff eb cc 48 83 e7 fe 48 89 45 88 e8 b2 bb c7 cf 48 8b 45 88 eb 90 85 c0 74 0f 8d 50 01 f0 0f b1 11 0f 84 53 ff ff ff eb ed <0f> 0b e9 4a ff ff ff e8 7d 1d 4b cf 0f 1f 00 66 2e 0f 1f 84 00 [ 3117.882475] ---[ end trace 034946ae5013518a ]--- [ 3117.882481] dst_release: dst:00000000444c06c4 refcnt:-1 # uname -a Linux server 4.15.0-30-generic #32-Ubuntu SMP Thu Jul 26 17:42:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1786752/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp