Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 27 Nov 2001 06:45:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 27 Nov 2001 06:44:19 -0500 Received: from vti01.vertis.nl ([145.66.4.26]:15629 "EHLO vti01.vertis.nl") by vger.kernel.org with ESMTP id ; Tue, 27 Nov 2001 06:44:14 -0500 Date: Tue, 27 Nov 2001 12:43:09 +0100 From: Rolf Fokkens Message-Id: <200111271143.MAA11403@linux06.vertis.nl> To: linux-kernel@vger.kernel.org Subject: [BUG] vanilla 2.4.15 iptables/REDIRECT kernel oops Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org I got another kernel oops related to iptables/REDIRECT, this time it's a plain vanilla kernel 2.4.15 iptables -t nat -I PREROUTING -p tcp --dst 145.66.1.1 \ --dport 1080 -j REDIRECT --to 80 > /dev/null 2>&1 iptables -t nat -I OUTPUT -p tcp --dst 145.66.1.1 \ --dport 1080 -j REDIRECT --to 80 > /dev/null 2>&1 This redirects connects to the machine itself (145.66.1.1) port 1080 to port 80, which is where apache listens. Connecting to http://145.66.1.1:1080/ seems to result in the reported oops, as reported before. It's very reproducable here, on several machines. So enjoy! Rolf [fokkensr@iasdev fokkensr]$ ksymoops -k ksyms-2.4.15 -i -m /boot/System.map-2.4.15 -o /lib/modules/2.4.15/ < oops-2.4.15.txt ksymoops 2.4.3 on i686 2.4.8-clk. Options used -V (default) -k ksyms-2.4.15 (specified) -l /proc/modules (default) -o /lib/modules/2.4.15/ (specified) -m /boot/System.map-2.4.15 (specified) -i Unable to handle kernel NULL pointer dereference at virtual address 0000034e c0200cb5 *pde = 00000000 Oops: 0000 CPU: 0 EIP: 0010:[] not tainted Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010246 eax: 000005dc ebx: f76b0ea0 ecx: f76be800 edx: 00000000 esi: f76b30ac edi: 00000000 ebp: f72ab224 esp: f7193d98 ds: 0010 es: 0018 ss: 0018 Stack: 00000001 f7192000 00000003 00000000 f76be800 c01f102d f76b0ea0 f76bc0ac f72fa6d4 f76b0130 f76bc0c0 f7193dd8 c034bed8 c01ffb46 00000002 00000003 f76b0ea0 00000000 f76be800 c0200c14 0000003c f72fa6d4 f76b0130 f76bc0c0 Call Trace: Code: 8a 87 4c 03 00 00 3c 02 74 0a 3c 01 75 0b f6 45 20 04 75 05 >>EIP; c0200cb4 <===== Trace; c01f102c Trace; c01ffb46 Trace; c0200c14 Trace; c0198c22 Trace; c0216178 Trace; c0210238 Trace; c02107f2 Trace; c0210b22 Trace; c020617e Trace; c0223acc Trace; c0223b06 Trace; c01e115c Trace; c0223acc Trace; c01e137a Trace; c01437ec Trace; c01076a2 Code; c0200cb4 00000000 <_EIP>: Code; c0200cb4 <===== 0: 8a 87 4c 03 00 00 mov 0x34c(%edi),%al <===== Code; c0200cba 6: 3c 02 cmp $0x2,%al Code; c0200cbc 8: 74 0a je 14 <_EIP+0x14> c0200cc8 Code; c0200cbe a: 3c 01 cmp $0x1,%al Code; c0200cc0 c: 75 0b jne 19 <_EIP+0x19> c0200ccc Code; c0200cc2 e: f6 45 20 04 testb $0x4,0x20(%ebp) Code; c0200cc6 12: 75 05 jne 19 <_EIP+0x19> c0200ccc - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/