kernel panic when iptables is restarted with "EIP is at nf_unregister_sockopt".

Solution Verified - Updated -

Issue

  • Rhel4 kernel panic while doing iptables restart with "EIP is at nf_unregister_sockopt" .
  • kernel panic with the below traces.

Unable to handle kernel paging request at virtual address f8c577e8
printing eip:
c02945ca
*pde = 00000000
Oops: 0000 [#1]
SMP
Modules linked in: netconsole netdump ip_vs_rr ip_vs ip_tables parport_pc lp parport autofs4 i2c_dev i2c_core sunrpc cpufreq_powersave ib_srp ib_sdp ib_ipoib rdma_ucm rdma_cm iw_cm ib_addr ib_umad ib_ucm ib_uverbs ib_cm ib_sa ib_mad ib_core button battery ac md5 ipv6 joydev uhci_hcd ehci_hcd i5000_edac edac_mc e1000 tg3 dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod ata_piix libata mptscsih mptsas mptspi mptscsi mptbase sd_mod scsi_mod
CPU:    1
EIP:    0060:[<c02945ca>]    Not tainted VLI
EFLAGS: 00210216   (2.6.9-78.0.13.ELsmp)
EIP is at nf_unregister_sockopt+0x48/0x83
eax: 00000002   ebx: c035e6a4   ecx: f7089840   edx: f8c577e0
esi: f8bd85e0   edi: 00000000   ebp: ec315000   esp: ec315f5c
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 24783, threadinfo=ec315000 task=f6c22770)
Stack: 00000000 c0337ba8 f8bd6865 f8bd8700 c01373e6 00000000 745f7069 656c6261
       f7260073 c0151ef2 f726fd04 ebc3cc7c c0152222 b7f8d000 b7f8e000 b7f8e000
       b7f8e000 ec319494 f726fcc0 f726fcf0 00000000 ec315000 09ccc890 00000000
Call Trace:
[<f8bd6865>] fini+0xd/0x35 [ip_tables]
[<c01373e6>] sys_delete_module+0x13b/0x184
[<c0151ef2>] unmap_vma_list+0xe/0x17
[<c0152222>] do_munmap+0x108/0x116
[<c02e0767>] syscall_call+0x7/0xb

Environment

  • Red Hat Enterprise Linux 4
  • kernel-2.6.9-55.EL and later

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