public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joshua N Pritikin <jpritikin@pobox.com>
To: coreteam@netfilter.org
Cc: linux-kernel@vger.kernel.org, netfilter-devel@lists.netfilter.org
Subject: an oops possibly due to an SMP related bug in netfilter
Date: Mon, 30 Aug 2004 17:38:09 +0530	[thread overview]
Message-ID: <20040830120809.GB1029@always.joy.eth.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 3523 bytes --]

With a big thanks to netconsole, I am able to present you with an oops
in the netfilter code.  This occurred in a vanilla 2.6.7 kernel.  Let
me know what more details I can provide about the system in question.

(Perhaps I am one of the few people crazy enough to run a firewall on
an SMP machine.  ;-)

Unable to handle kernel NULL pointer dereference
 at virtual address 00000000 
 printing eip: 
c8895955 
*pde = 00000000 
Oops: 0000 [#1] 
SMP 
 
Modules linked in:
 netconsole
 mga
 nbd
 ipt_MASQUERADE
 iptable_nat
 ipt_LOG
 ipt_limit
 ipt_state
 iptable_filter
 ip_tables
 dm_mod
 reiserfs
 snd_dummy
 snd_pcm_oss
 snd_mixer_oss
 snd_pcm
 snd_timer
 snd
 snd_page_alloc
 sctp
 via_agp
 agpgart
 af_key
 rtc
 8139too
 mii
 crc32
 psmouse
 uhci_hcd
 ip_conntrack_ftp
 ip_conntrack
 
CPU:    0 
EIP:    0060:[<c8895955>]    Not tainted 
EFLAGS: 00010246   (2.6.7)  
EIP is at __ip_conntrack_find+0x179/0x1a0 [ip_conntrack] 
eax: 00000001   ebx: 00000000   ecx: c0353cc0   edx: 00000000 
esi: 00000000   edi: 00000000   ebp: c0353c88   esp: c0353c6c 
ds: 007b   es: 007b   ss: 0068 
Process swapper (pid: 0, threadinfo=c0352000 task=c0300980)
 
Stack: 
c0352000 
c7ced540 
00000000 
c600ce2c 
00000768 
c0352000 
00000000 
c0353ca0 
 
       
c889600c 
c0353cc0 
c7ced540 
c0353cc0 
c7ced540 
c0353cd0 
c89a8e9f 
c0353cc0 
 
       
c7ced540 
c0353cc0 
c0353d8c 
c0353dbc 
c0353d8c 
02130644 
c0356e00 
0400a8c0 
 
Call Trace: 
 [<c01068e3>] 
show_stack+0x83/0x90
 
 [<c0106a22>] 
show_registers+0x112/0x17c
 
 [<c0106b90>] 
die+0x7c/0xe8
 
 [<c011385b>] 
do_page_fault+0x337/0x48e
 
 [<c0106571>] 
error_code+0x2d/0x38
 
 [<c889600c>] 
ip_conntrack_tuple_taken+0x90/0xec [ip_conntrack]
 
 [<c89a8e9f>] 
ip_nat_used_tuple+0x1f/0x28 [iptable_nat]
 
 [<c89a957b>] 
get_unique_tuple+0xe7/0x1e8 [iptable_nat]
 
 [<c89a9706>] 
ip_nat_setup_info+0x8a/0x350 [iptable_nat]
 
 [<c89a89ee>] 
ip_nat_rule_find+0x8e/0x9c [iptable_nat]
 
 [<c89a81f7>] 
gcc2_compiled.+0x1f7/0x2cc [iptable_nat]
 
 [<c0240df6>] 
nf_iterate+0x3a/0xb0
 
 [<c0241128>] 
nf_hook_slow+0xa0/0x128
 
 [<c024cd40>] 
ip_rcv+0x1b8/0x204
 
 [<c0238954>] 
netif_receive_skb+0x150/0x180
 
 [<c88c9c8d>] 
rtl8139_rx+0x191/0x240 [8139too]
 
 [<c88c9eb2>] 
rtl8139_poll+0x4e/0xd8 [8139too]
 
 [<c0238b1b>] 
net_rx_action+0x7f/0x120
 
 [<c011d6ed>] 
__do_softirq+0x5d/0xbc
 
 [<c011d777>] 
do_softirq+0x2b/0x3c
 
 [<c0107d45>] 
do_IRQ+0x111/0x120
 
 [<c0106474>] 
common_interrupt+0x18/0x20
 
 [<c0103fb6>] 
cpu_idle+0x3a/0x48
 
 [<c01002b9>] 
rest_init+0x49/0x50
 
 [<c0354968>] 
start_kernel+0x1a4/0x1a8
 
 [<c01001e0>] 
0xc01001e0
 
 
Code: 
8b 
03 
0f 
18 
00 
90 
8b 
45 
f4 
03 
05 
0c 
f0 
89 
c8 
39 
c3 
0f 
85 
39 
 
 
Kernel panic: Fatal exception in interrupt 
In interrupt handler - not syncing 
 
-------
Here is my NAT table:

always:~# iptables -t nat -L -v
Chain PREROUTING (policy ACCEPT 10 packets, 626 bytes)
 pkts bytes target     prot opt in     out     source               destination 

Chain POSTROUTING (policy ACCEPT 41 packets, 3413 bytes)
 pkts bytes target     prot opt in     out     source               destination 
   98  6388 MASQUERADE  all  --  any    eth1    anywhere             anywhere 

Chain OUTPUT (policy ACCEPT 136 packets, 9621 bytes)
 pkts bytes target     prot opt in     out     source               destination 

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2004-08-30 12:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-30 12:08 Joshua N Pritikin [this message]
2004-08-30 16:57 ` an oops possibly due to an SMP related bug in netfilter KOVACS Krisztian
2004-08-30 17:25   ` Joshua N Pritikin
2004-08-31 14:56     ` Bill Davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040830120809.GB1029@always.joy.eth.net \
    --to=jpritikin@pobox.com \
    --cc=coreteam@netfilter.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox