RHEL 7: kernel panic at ipt_do_table+0x320

Solution Unverified - Updated -

Issue

  • kernel panic with below logs:
[5990767.731008] sched: RT throttling activated
[6112730.589276] CIFS VFS: BAD_NETWORK_NAME: \\ulinedm.com\resources$
[6112809.109979] CIFS VFS: BAD_NETWORK_NAME: \\ulinedm.com\resources$
[6628332.347417] CIFS VFS: BAD_NETWORK_NAME: \\ulinedm.com\resources$
[8085463.144922] BUG: unable to handle kernel NULL pointer dereference at 000000000000005a
[8085463.145015] IP: [<ffffffffc058c6e0>] ipt_do_table+0x320/0x740 [ip_tables]
[8085463.145164] PGD 0 
[8085463.145348] Oops: 0000 [#1] SMP 
[8085463.145541] Modules linked in: udp_diag bridge stp llc iscsi_target_mod target_core_mod tcp_diag inet_diag cmac arc4 md4 nls_utf8 cifs ccm dns_resolver nfsv3 nfs fscache xt_owner iptable_filter unix_diag binfmt_misc vmw_vsock_vmci_transport vsock sb_edac iosf_mbi crc32_pclmul ghash_clmulni_intel ppdev aesni_intel vmw_balloon lrw gf128mul glue_helper ablk_helper cryptd pcspkr joydev sg i2c_piix4 vmw_vmci parport_pc parport nfsd nfs_acl lockd grace auth_rpcgss sunrpc ip_tables xfs libcrc32c sr_mod cdrom ata_generic pata_acpi vmwgfx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops sd_mod crc_t10dif ttm crct10dif_generic ata_piix nfit drm libata libnvdimm crct10dif_pclmul crct10dif_common crc32c_intel serio_raw vmxnet3 vmw_pvscsi drm_panel_orientation_quirks dm_mirror dm_region_hash dm_log
[8085463.146597]  dm_mod fuse
[8085463.146613] CPU: 4 PID: 0 Comm: swapper/4 Kdump: loaded Not tainted 3.10.0-1160.31.1.el7.x86_64 #1
[8085463.146758] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 09/19/2018
[8085463.146927] task: ffff8e12595b8000 ti: ffff8e12595b4000 task.ti: ffff8e12595b4000
[8085463.147620] RIP: 0010:[<ffffffffc058c6e0>]  [<ffffffffc058c6e0>] ipt_do_table+0x320/0x740 [ip_tables]
[8085463.147654] RSP: 0018:ffff8e213fd03750  EFLAGS: 00010246
[8085463.147669] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[8085463.147692] RDX: 0000000000000034 RSI: ffff8e2018c70b80 RDI: 0000000000000000
[8085463.147711] RBP: ffff8e213fd03890 R08: ffff8e213fd03928 R09: 0000000000000001
[8085463.147729] R10: ffff8e1b8471ebd8 R11: ffff8e20fa868000 R12: ffff8e1779017cdc
[8085463.147748] R13: ffff8e1b8471ebd8 R14: ffffffffc05915f8 R15: ffff8e18b36bc400
[8085463.147767] FS:  0000000000000000(0000) GS:ffff8e213fd00000(0000) knlGS:0000000000000000
[8085463.147787] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[8085463.147803] CR2: 000000000000005a CR3: 0000000e787dc000 CR4: 00000000001607e0
[8085463.147880] Call Trace:
[8085463.147890]  <IRQ> 
[8085463.147907]  [<ffffffff97ce452c>] ? update_curr+0x14c/0x1e0
[8085463.147924]  [<ffffffff97cdfb58>] ? __enqueue_entity+0x78/0x80
[8085463.150662]  [<ffffffff97ce670f>] ? enqueue_entity+0x2ef/0xbe0
[8085463.151504]  [<ffffffffc0872036>] iptable_filter_hook+0x36/0x80 [iptable_filter]
[8085463.152277]  [<ffffffff98296ab8>] nf_iterate+0x98/0xe0
[8085463.153021]  [<ffffffff98296ba8>] nf_hook_slow+0xa8/0x110
[8085463.153698]  [<ffffffff982a5c42>] __ip_local_out_sk+0x102/0x110
[8085463.154425]  [<ffffffff982a5220>] ? ip_forward_options+0x1c0/0x1c0
[8085463.155095]  [<ffffffff982a5c6b>] ip_local_out_sk+0x1b/0x40
[8085463.155722]  [<ffffffff982a6024>] ip_queue_xmit+0x144/0x3c0
[8085463.156346]  [<ffffffff982c0764>] tcp_transmit_skb+0x4e4/0x9e0
[8085463.156959]  [<ffffffff982c297f>] tcp_send_ack+0x11f/0x170
[8085463.157570]  [<ffffffff982b6fab>] __tcp_ack_snd_check+0x6b/0x90
[8085463.158195]  [<ffffffff982bd1e5>] tcp_rcv_established+0x425/0x7a0
[8085463.158822]  [<ffffffff982c807a>] tcp_v4_do_rcv+0x10a/0x350
[8085463.159435]  [<ffffffff982c98cc>] tcp_v4_rcv+0x7dc/0x9e0
[8085463.160047]  [<ffffffffc0872036>] ? iptable_filter_hook+0x36/0x80 [iptable_filter]
[8085463.160670]  [<ffffffff982a1b0d>] ip_local_deliver_finish+0xbd/0x200
[8085463.161314]  [<ffffffff982a1e00>] ip_local_deliver+0x60/0xe0
[8085463.161943]  [<ffffffff982a1a50>] ? ip_rcv_finish+0x370/0x370
[8085463.162588]  [<ffffffff982a1770>] ip_rcv_finish+0x90/0x370
[8085463.163225]  [<ffffffff982a2140>] ip_rcv+0x2c0/0x420
[8085463.163930]  [<ffffffff98256829>] __netif_receive_skb_core+0x729/0xa10
[8085463.164568]  [<ffffffff97d07a0f>] ? __getnstimeofday64+0x3f/0xd0
[8085463.165206]  [<ffffffff98256b28>] __netif_receive_skb+0x18/0x60
[8085463.165922]  [<ffffffff98256bb0>] netif_receive_skb_internal+0x40/0xc0
[8085463.166681]  [<ffffffff98256c4c>] netif_receive_skb+0x1c/0x70
[8085463.167368]  [<ffffffffc0432639>] vmxnet3_rq_rx_complete+0x8a9/0xef0 [vmxnet3]
[8085463.168016]  [<ffffffffc04330e6>] vmxnet3_poll_rx_only+0x36/0xa0 [vmxnet3]
[8085463.168604]  [<ffffffff982571cf>] net_rx_action+0x26f/0x390
[8085463.169165]  [<ffffffff97ca4bc5>] __do_softirq+0xf5/0x280
[8085463.169699]  [<ffffffff983994ec>] call_softirq+0x1c/0x30
[8085463.170205]  [<ffffffff97c2f715>] do_softirq+0x65/0xa0
[8085463.170698]  [<ffffffff97ca4f45>] irq_exit+0x105/0x110
[8085463.171168]  [<ffffffff9839a8d6>] do_IRQ+0x56/0xf0
[8085463.171624]  [<ffffffff9838c36a>] common_interrupt+0x16a/0x16a
[8085463.172067]  <EOI> 
[8085463.172090]  [<ffffffff9838b080>] ? __cpuidle_text_start+0x8/0x8
[8085463.172957]  [<ffffffff9838b2cb>] ? native_safe_halt+0xb/0x20
[8085463.173392]  [<ffffffff9838b09e>] default_idle+0x1e/0xc0
[8085463.173839]  [<ffffffff97c37ca0>] arch_cpu_idle+0x20/0xc0
[8085463.174271]  [<ffffffff97d0131a>] cpu_startup_entry+0x14a/0x1e0
[8085463.174706]  [<ffffffff97c5a827>] start_secondary+0x1f7/0x270
[8085463.175136]  [<ffffffff97c000d5>] start_cpu+0x5/0x14
[8085463.175554] Code: a0 49 8b 42 08 48 8b 40 30 e8 3d b3 a0 d7 45 0f b7 a7 c2 00 00 00 89 45 8c 4d 03 a7 e0 00 00 00 83 f8 ff 75 17 66 0f 1f 44 00 00 <0f> b7 43 5a 48 01 c3 80 7d c5 00 0f 84 37 fe ff ff f6 05 f2 49 
[8085463.176527] RIP  [<ffffffffc058c6e0>] ipt_do_table+0x320/0x740 [ip_tables]
[8085463.177008]  RSP <ffff8e213fd03750>
[8085463.177469] CR2: 000000000000005a

Environment

  • Red Hat Enterprise Linux 7
  • iptables service

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