Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 14 Dec 2000 15:23:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 14 Dec 2000 15:23:00 -0500 Received: from cs.columbia.edu ([128.59.16.20]:13044 "EHLO cs.columbia.edu") by vger.kernel.org with ESMTP id ; Thu, 14 Dec 2000 15:22:58 -0500 Date: Thu, 14 Dec 2000 11:52:29 -0800 (PST) From: Ion Badulescu To: "David S. Miller" cc: , Subject: Re: ip_defrag is broken (was: Re: test12 lockups -- need feedback) In-Reply-To: <200012141927.LAA05847@pizda.ninka.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 14 Dec 2000, David S. Miller wrote: > Date: Thu, 14 Dec 2000 10:38:01 -0800 > From: Ion Badulescu > > I won't venture a fix, as I don't know the networking code well > enough. So far, no networking maintainer has had anything to say > about this bug on the list... > > Because this is the first most of us have heard of the issue, much > less seen any ksymoops processed OOPS logs of the bug so we can even > start thinking about what might be wrong. Oh, there have been at least two ksymoops'ed traces posted on the list, I thought you'd seen them already.. But never mind, the problem is that skb->dev can be NULL and the code changed in test12 dereferences it to get skb->dev->iif. The oops looks something like this. It was caught on serial console, and decoded on test11, so it doesn't have translation for module symbols. It if helps, this box is running ip_conntrack and the oops occurred basically as soon as an NFS request came in. Unable to handle kernel NULL pointer dereference at virtual address 0000003c c01917a6 *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0010:[] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010246 eax: 00000000 ebx: 00000000 ecx: c21d8f20 edx: 000003a0 esi: c3e73760 edi: 00000000 ebp: 00001ce8 esp: c16e9c80 ds: 0018 es: 0018 ss: 0018 Process nfsd (pid: 670, stackpage=c16e9000) Stack: c21d8f20 00000000 c01912cf 01011eac 00002088 c21d8f20 005aac10 c0191b43 c21d8f20 c3e73760 c1786680 c3e73760 c0194718 c16e9d9c 030011cf 1121e260 00000000 c48c02d0 c3e73760 c16e9d8c c02358f8 c48bfb4e c3e73760 c16e9d8c Call Trace: [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] Code: 8b 40 3c 89 41 3c 8b 46 5c c7 46 18 00 00 00 00 01 41 18 8b >>EIP; c01917a6 <===== Trace; c01912cf Trace; c0191b43 Trace; c0194718 Trace; c48c02d0 Trace; c48bfb4e Trace; c0194718 Trace; c017b0f8 Trace; c017f6f4 Trace; c017f717 Trace; c48c1082 Trace; c0194718 Trace; c0184388 Trace; c0194718 Trace; c0194718 Trace; c0184597 Trace; c0194718 Trace; c48c2188 Trace; c0193cea Trace; c0194718 Trace; c0140e85 Trace; c0193e0a Trace; c01a834c Trace; c01a878d Trace; c01a834c Trace; c01ad918 Trace; c01ad956 Trace; c0182aed Trace; c01ad918 Trace; c487f346 Trace; c487f7d5 Trace; c4880516 Trace; c48a7c00 Trace; c487ef44 Trace; c48a7ae0 Trace; c48a75f8 Trace; c4897331 Trace; c48a75e0 Trace; c0107457 Code; c01917a6 00000000 <_EIP>: Code; c01917a6 <===== 0: 8b 40 3c mov 0x3c(%eax),%eax <===== Code; c01917a9 3: 89 41 3c mov %eax,0x3c(%ecx) Code; c01917ac 6: 8b 46 5c mov 0x5c(%esi),%eax Code; c01917af 9: c7 46 18 00 00 00 00 movl $0x0,0x18(%esi) Code; c01917b6 10: 01 41 18 add %eax,0x18(%ecx) Code; c01917b9 13: 8b 00 mov (%eax),%eax Ion -- It is better to keep your mouth shut and be thought a fool, than to open it and remove all doubt. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/