* Fw: [Bugme-new] [Bug 7074] New: Kernel Panic on kernel 2.6.16.1
@ 2006-08-30 3:30 Andrew Morton
2006-08-30 11:24 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2006-08-30 3:30 UTC (permalink / raw)
To: netdev; +Cc: eshi, bugme-daemon@kernel-bugs.osdl.org
Obvious question: does it happen with 2.6.17.x or 2.6.18-rc5?
Begin forwarded message:
Date: Tue, 29 Aug 2006 19:49:11 -0700
From: bugme-daemon@bugzilla.kernel.org
To: bugme-new@lists.osdl.org
Subject: [Bugme-new] [Bug 7074] New: Kernel Panic on kernel 2.6.16.1
http://bugzilla.kernel.org/show_bug.cgi?id=7074
Summary: Kernel Panic on kernel 2.6.16.1
Kernel Version: 2.6.16.1
Status: NEW
Severity: high
Owner: laforge@gnumonks.org
Submitter: eshi@anchiva.com.cn
Most recent kernel where this bug did not occur:
Distribution:
Hardware Environment: P4 3.4G 1G Mem
Software Environment: FC3 Kernel 2.6.16.1
Problem Description:
kernel BUG at net/ipv4/netfilter/ip_conntrack_proto_tcp.c:911!
invalid opcode: 0000 [#1]
SMP
Modules linked in:
CPU: 0
EIP: 0060:[<c036b8bc>] Not tainted VLI
EFLAGS: 00010246 (2.6.16.1 #1)
EIP is at tcp_packet+0x1dc/0x580
eax: fffffff2 ebx: c0481d44 ecx: 00000028 edx: f5bd0580
esi: 00000014 edi: 00000000 ebp: c0446380 esp: c0481d20
ds: 007b es: 007b ss: 0068
Process swapper (pid: 0, threadinfo=c0480000 task=c0405b40)
Stack: <0>f5bd0580 0000003c c0481d44 00000014 e33507c0 f5bd0580 c0368661
f1e70816
00001ff7 9575777c c0368d23 c0481d9c 00000282 f5bd0580 c0481d9c c0481e40
c0446380 f5bd0580 ef0d3358 c0481e40 c0446380 c03699b2 ef0d3358 f5bd0580
Call Trace:
[<c0368661>] hash_conntrack+0x21/0x30
[<c0368d23>] __ip_conntrack_find+0x13/0xe0
[<c03699b2>] ip_conntrack_in+0x202/0x330
[<c0378700>] ip_recent_ctrl+0x4a0/0x540
[<c039d6a0>] br_nf_pre_routing_finish+0x0/0x430
[<c032835d>] nf_iterate+0x5d/0x90
[<c039d6a0>] br_nf_pre_routing_finish+0x0/0x430
[<c039d6a0>] br_nf_pre_routing_finish+0x0/0x430
[<c03283fe>] nf_hook_slow+0x6e/0x130
[<c039d6a0>] br_nf_pre_routing_finish+0x0/0x430
[<c0399330>] br_handle_frame_finish+0x0/0x160
[<c039e412>] br_nf_pre_routing+0x572/0x590
[<c039d6a0>] br_nf_pre_routing_finish+0x0/0x430
[<c032835d>] nf_iterate+0x5d/0x90
[<c0399330>] br_handle_frame_finish+0x0/0x160
[<c0399330>] br_handle_frame_finish+0x0/0x160
[<c03283fe>] nf_hook_slow+0x6e/0x130
[<c0399330>] br_handle_frame_finish+0x0/0x160
[<c0399688>] br_handle_frame+0x1f8/0x250
[<c0399330>] br_handle_frame_finish+0x0/0x160
[<c0316ee4>] netif_receive_skb+0x134/0x270
[<c03170b2>] process_backlog+0x92/0x120
[<c03171c3>] net_rx_action+0x83/0x120
[<c01220a9>] __do_softirq+0x79/0x100
[<c0122165>] do_softirq+0x35/0x40
[<c01056ee>] do_IRQ+0x1e/0x30
[<c0103916>] common_interrupt+0x1a/0x20
[<c010103b>] mwait_idle+0x2b/0x40
[<c0100e95>] cpu_idle+0x65/0x80
[<c048299a>] start_kernel+0x1aa/0x1f0
[<c0482320>] unknown_bootoption+0x0/0x1e0
Code: 5c 24 08 8b 44 24 5c be 14 00 00 00 89 74 24 0c 31 ff 89 54 24 04 89 04
24 e8 01 60 fa ff 85 c0 0f 49 fb 85 ff 0f
85 72 fe ff ff <0f> 0b 8f 03 80 b7 3e c0 e9 65 fe ff ff 8d b4 26 00 00 00 00 83
<0>Kernel panic - not syncing: Fatal exception in interrupt
Steps to reproduce: This panic will randomly happen. no steps to reproduce
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Fw: [Bugme-new] [Bug 7074] New: Kernel Panic on kernel 2.6.16.1 2006-08-30 3:30 Fw: [Bugme-new] [Bug 7074] New: Kernel Panic on kernel 2.6.16.1 Andrew Morton @ 2006-08-30 11:24 ` Patrick McHardy 0 siblings, 0 replies; 2+ messages in thread From: Patrick McHardy @ 2006-08-30 11:24 UTC (permalink / raw) To: eshi; +Cc: Andrew Morton, netdev, bugme-daemon@kernel-bugs.osdl.org [-- Attachment #1: Type: text/plain, Size: 1035 bytes --] Andrew Morton wrote: > Obvious question: does it happen with 2.6.17.x or 2.6.18-rc5? > > > Begin forwarded message: > > Date: Tue, 29 Aug 2006 19:49:11 -0700 > From: bugme-daemon@bugzilla.kernel.org > To: bugme-new@lists.osdl.org > Subject: [Bugme-new] [Bug 7074] New: Kernel Panic on kernel 2.6.16.1 > > > http://bugzilla.kernel.org/show_bug.cgi?id=7074 > > Summary: Kernel Panic on kernel 2.6.16.1 > Kernel Version: 2.6.16.1 > Status: NEW > Severity: high > Owner: laforge@gnumonks.org > Submitter: eshi@anchiva.com.cn > > > Most recent kernel where this bug did not occur: > Distribution: > Hardware Environment: P4 3.4G 1G Mem > Software Environment: FC3 Kernel 2.6.16.1 > Problem Description: > > kernel BUG at net/ipv4/netfilter/ip_conntrack_proto_tcp.c:911! This can only happen if something corrupts the packet, probably within the bridge netfilter code. This patch from Stephen (rediffed against 2.6.16) fixes such a corruption, please try if it helps. [-- Attachment #2: x --] [-- Type: text/plain, Size: 1353 bytes --] diff --git a/include/linux/netfilter_bridge.h b/include/linux/netfilter_bridge.h index de4d397..56ef3cb 100644 --- a/include/linux/netfilter_bridge.h +++ b/include/linux/netfilter_bridge.h @@ -66,15 +66,25 @@ #endif /* Only used in br_forward.c */ static inline -void nf_bridge_maybe_copy_header(struct sk_buff *skb) +int nf_bridge_maybe_copy_header(struct sk_buff *skb) { + int err; + if (skb->nf_bridge) { if (skb->protocol == __constant_htons(ETH_P_8021Q)) { + err = skb_cow(skb, 18); + if (err) + return err; memcpy(skb->data - 18, skb->nf_bridge->data, 18); skb_push(skb, 4); - } else + } else { + err = skb_cow(skb, 16); + if (err) + return err; memcpy(skb->data - 16, skb->nf_bridge->data, 16); + } } + return 0; } static inline diff --git a/net/bridge/br_forward.c b/net/bridge/br_forward.c index 2d24fb4..dac7f06 100644 --- a/net/bridge/br_forward.c +++ b/net/bridge/br_forward.c @@ -37,11 +37,15 @@ int br_dev_queue_push_xmit(struct sk_buf else { #ifdef CONFIG_BRIDGE_NETFILTER /* ip_refrag calls ip_fragment, doesn't copy the MAC header. */ - nf_bridge_maybe_copy_header(skb); + if (nf_bridge_maybe_copy_header(skb)) + kfree_skb(skb); + else #endif - skb_push(skb, ETH_HLEN); + { + skb_push(skb, ETH_HLEN); - dev_queue_xmit(skb); + dev_queue_xmit(skb); + } } return 0; ^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-30 11:24 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-08-30 3:30 Fw: [Bugme-new] [Bug 7074] New: Kernel Panic on kernel 2.6.16.1 Andrew Morton 2006-08-30 11:24 ` Patrick McHardy
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).