kernel BUG at net/netfilter/ipset/ip_set_core.c

Solution Verified - Updated -

Issue

  • kernel BUG at net/netfilter/ipset/ip_set_core.c:364
  • kernel BUG at net/netfilter/ipset/ip_set_core.c:372
  • Kernel panics with following messages:
[  766.499448] kernel BUG at net/netfilter/ipset/ip_set_core.c:372!
[  766.529195] invalid opcode: 0000 [#1] SMP 
[  766.549771] Modules linked in: ip_set_hash_ip ip_set nfnetlink xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter sunrpc sb_edac intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd ipmi_ssif ipmi_si iTCO_wdt ipmi_devintf iTCO_vendor_support hpwdt hpilo pcspkr sg acpi_power_meter ipmi_msghandler shpchp ioatdma lpc_ich pcc_cpufreq dca ip_tables xfs libcrc32c sr_mod cdrom ata_generic pata_acpi sd_mod crc_t10dif crct10dif_generic mgag200 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect
[  766.917421]  sysimgblt fb_sys_fops ttm ata_piix drm e1000e tg3 libata crct10dif_pclmul crct10dif_common hpsa crc32c_intel serio_raw ptp i2c_core scsi_transport_sas pps_core dm_mirror dm_region_hash dm_log dm_mod
[  767.005897] CPU: 26 PID: 22076 Comm: ipset Not tainted 3.10.0-823.el7.x86_64 #1
[  767.044564] Hardware name: HP ProLiant DL388p Gen8, BIOS P70 07/15/2012
[  767.077728] task: ffff9f7a632bdee0 ti: ffff9f70f8cb4000 task.ti: ffff9f70f8cb4000
[  767.116727] RIP: 0010:[<ffffffffc08f7b7b>]  [<ffffffffc08f7b7b>] __ip_set_put.isra.12.part.13+0x4/0x6 [ip_set]
[...]
[  767.484068] Call Trace:
[  767.496390]  [<ffffffffc08f5825>] ip_set_dump_start+0x6d5/0x710 [ip_set]
[  767.531694]  [<ffffffffa1dbd971>] ? __kmalloc_reserve.isra.32+0x31/0x90
[  767.565491]  [<ffffffffa1dbeacd>] ? __alloc_skb+0x5d/0x2d0
[  767.592956]  [<ffffffffa1dbeb11>] ? __alloc_skb+0xa1/0x2d0
[  767.621576]  [<ffffffffa1e0943e>] netlink_dump+0xce/0x2a0
[  767.648666]  [<ffffffffa1e09875>] netlink_recvmsg+0x265/0x490
[  767.678636]  [<ffffffffa1db443f>] sock_recvmsg+0xbf/0x100
[  767.706618]  [<ffffffffa1e0bc52>] ? netlink_unicast+0x172/0x210
[  767.736875]  [<ffffffffa1e0be38>] ? netlink_sendmsg+0x148/0x420
[  767.766998]  [<ffffffffa1db5d4e>] ___sys_recvmsg+0x11e/0x2b0
[  767.795642]  [<ffffffffa1db49f1>] ? SYSC_sendto+0x121/0x1c0
[  767.825707]  [<ffffffffa1db6901>] __sys_recvmsg+0x51/0x90
[  767.853075]  [<ffffffffa1db6952>] SyS_recvmsg+0x12/0x20
[  767.880545]  [<ffffffffa1f04d09>] system_call_fastpath+0x16/0x1b
[  767.910812] Code: 89 c1 41 21 f9 41 39 f9 75 e6 f7 d0 09 f8 39 c6 78 de 88 0a 5d c3 66 2e 0f 1f 84 00 00 00 00 00 89 f8 c6 02 20 5d c3 55 48 89 e5 <0f> 0b 55 48 c7 c7 40 b4 8f c0 48 89 e5 e8 f3 7f 51 e1 48 c7 c7 
[  768.008191] RIP  [<ffffffffc08f7b7b>] __ip_set_put.isra.12.part.13+0x4/0x6 [ip_set]
[  768.048228]  RSP <ffff9f70f8cb7a90>
[ 1177.258741] kernel BUG at net/netfilter/ipset/ip_set_core.c:364!
[ 1177.258784] invalid opcode: 0000 [#1] SMP 
[ 1177.258818] Modules linked in: xt_multiport iptable_raw iptable_mangle ip_set_hash_net ip_set nfnetlink veth xt_comment xt_mark xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype iptable_filter nf_nat nf_conntrack bridge stp llc dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio loop dm_mirror dm_region_hash dm_log dm_mod intel_powerclamp coretemp intel_rapl kvm_intel kvm crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd iTCO_wdt mxm_wmi iTCO_vendor_support dcdbas ipmi_devintf sb_edac mei_me mei ipmi_si lpc_ich ipmi_msghandler sg pcspkr mfd_core edac_core shpchp wmi acpi_power_meter ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic mgag200 syscopyarea sysfillrect sysimgblt i2c_algo_bit
[ 1177.259424]  drm_kms_helper crct10dif_pclmul crct10dif_common crc32c_intel ttm drm ahci ixgbe libahci mdio i2c_core ptp libata pps_core megaraid_sas dca
[ 1177.259539] CPU: 46 PID: 37419 Comm: ipset Not tainted 3.10.0-327.28.3.el7.x86_64 #1
[ 1177.259592] Hardware name: Dell Inc. PowerEdge R730xd/0WCJNT, BIOS 2.4.3 01/17/2017
[ 1177.259645] task: ffff883e4e1c1700 ti: ffff883e32afc000 task.ti: ffff883e32afc000
[ 1177.259695] RIP: 0010:[<ffffffffa046761c>]  [<ffffffffa046761c>] __ip_set_put.isra.12.part.13+0x4/0x6 [ip_set]
[ 1177.259770] RSP: 0018:ffff883e32affa78  EFLAGS: 00010246
[ 1177.259807] RAX: 0000000000000000 RBX: ffff883f1a7b7b40 RCX: ffff883f18aba320
[ 1177.259855] RDX: 0000000000000400 RSI: 0000000000000000 RDI: ffffffffa046a00c
[ 1177.259904] RBP: ffff883e32affa78 R08: 0000000000000f70 R09: ffff883f21048f55
[ 1177.259952] R10: 0000000000000001 R11: 0000000000000100 R12: 0000000000000002
[ 1177.260001] R13: 0000000000000000 R14: ffff883f19409c00 R15: ffff883f21048ec0
[ 1177.260050] FS:  00007fdccc5e3740(0000) GS:ffff883f7d180000(0000) knlGS:0000000000000000
[ 1177.260104] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1177.260143] CR2: 00007fdccc5ea000 CR3: 0000003ef5b92000 CR4: 00000000003407e0
[ 1177.260191] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1177.260239] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1177.260286] Stack:
[ 1177.260303]  ffff883e32affa90 ffffffffa04660da ffff883f10383350 ffff883e32affb50
[ 1177.260367]  ffffffffa04668cc ffff883f00000001 ffff883f18aba300 ffff883f18aba320
[ 1177.260431]  0000000000000010 ff03020619409c00 ffff883e32affb18 ffffffff8151b081
[ 1177.260499] Call Trace:
[ 1177.260525]  [<ffffffffa04660da>] ip_set_put_byindex+0x4a/0x50 [ip_set]
[ 1177.260574]  [<ffffffffa04668cc>] ip_set_dump_start+0x2bc/0x6f0 [ip_set]
[ 1177.260626]  [<ffffffff8151b081>] ? __alloc_skb+0xa1/0x2d0
[ 1177.260671]  [<ffffffff81558547>] netlink_dump+0x117/0x2d0
[ 1177.260712]  [<ffffffff81558935>] netlink_recvmsg+0x235/0x450
[ 1177.260757]  [<ffffffff81511e1f>] sock_recvmsg+0xbf/0x100
[ 1177.260803]  [<ffffffff81173357>] ? __alloc_pages_nodemask+0x197/0xba0
[ 1177.260850]  [<ffffffff8151212e>] ___sys_recvmsg+0x11e/0x2b0
[ 1177.260893]  [<ffffffff811781ce>] ? lru_cache_add+0xe/0x10
[ 1177.260935]  [<ffffffff811a1f61>] ? page_add_new_anon_rmap+0x91/0x130
[ 1177.260985]  [<ffffffff81197700>] ? handle_mm_fault+0x7c0/0xf50
[ 1177.261028]  [<ffffffff8119eb05>] ? do_mmap_pgoff+0x305/0x3c0
[ 1177.261073]  [<ffffffff81512ce1>] __sys_recvmsg+0x51/0x90
[ 1177.262771]  [<ffffffff81512d32>] SyS_recvmsg+0x12/0x20
[ 1177.264467]  [<ffffffff81646b49>] system_call_fastpath+0x16/0x1b
[ 1177.266159] Code: c1 41 21 f9 41 39 f9 75 e6 f7 d0 09 f8 39 c6 78 de 88 0a 5d c3 66 2e 0f 1f 84 00 00 00 00 00 89 f8 c6 02 20 5d c3 90 55 48 89 e5 <0f> 0b 55 48 c7 c7 20 a4 46 a0 48 89 e5 53 48 8b 1d cf 30 00 00 
[ 1177.269808] RIP  [<ffffffffa046761c>] __ip_set_put.isra.12.part.13+0x4/0x6 [ip_set]
[ 1177.271573]  RSP <ffff883e32affa78>

Environment

  • Red Hat Enterprise Linux 7.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content