From: Nuutti Kotivuori Subject: Re: netfilter QUEUE target and packet socket interactions buggy or not Date: Thu, 15 Sep 2005 11:50:19 +0300 Message-ID: <8764t290l0.fsf@aka.i.naked.iki.fi> References: <87fysa9bqt.fsf@aka.i.naked.iki.fi> <20050912.151120.104514011.davem@davemloft.net> <87br2xap9o.fsf@aka.i.naked.iki.fi> <877jdl9r1u.fsf@aka.i.naked.iki.fi> <4326FF69.9060004@trash.net> <873bo8akvk.fsf@aka.i.naked.iki.fi> <87irx396xk.fsf@aka.i.naked.iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: To: netfilter-devel@lists.netfilter.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Nuutti Kotivuori wrote: > But also, if it is that particular spot that causes this exact crash - > the problem should go away if selinux is disabled, even though the bug > still exists (socket being freed before skb stops referencing it). The setup crashes even with selinux disabled. The crash is different, and is preceded by kernel messages. Here it is: ... ip_queue: full at 1024 entries, dropping packet(s). printk: 158 messages suppressed. ip_queue: full at 1024 entries, dropping packet(s). printk: 153 messages suppressed. ip_queue: full at 1024 entries, dropping packet(s). printk: 152 messages suppressed. <1>Unable to handle kernel NULL pointer dereference at virtual address 000000a4 printing eip: f8890da9 *pde = 2e4db001 Oops: 0000 [#1] SMP Modules linked in: arpt_mangle arptable_filter arp_tables iptable_filter ip_tables ip_queue parport_pc lp parport netconsole netdump autofs4 i2c_dev i2c_core sunrpc dm_mod button poll_napi+0x64/0x84 [] netpoll_poll+0x30/0x35 [] netpoll_send_skb+0x8f/0x98 [] write_msg+0x156/0x16d [netconsole] [] write_msg+0x0/0x16d [netconsole] [] __call_console_drivers+0x36/0x40 [] call_console_drivers+0xb6/0xd8 [] release_console_sem+0x43/0xa9 [] vprintk+0x136/0x14a [] printk+0xe/0x11 [] ipq_enqueue_packet+0xd1/0x143 [ip_queue] [] nf_queue+0x148/0x201 [] ip_local_deliver_finish+0x0/0x188 [] nf_hook_slow+0x6c/0xb4 [] ip_local_deliver_finish+0x0/0x188 [] ip_local_deliver+0x1d9/0x1e0 [] ip_local_deliver_finish+0x0/0x188 [] ip_rcv+0x35e/0x3ff [] netif_receive_skb+0x1f1/0x21f [] tg3_rx+0x2a3/0x3a0 [tg3] [] tg3_poll+0x99/0x11a [tg3] [] net_rx_action+0x61/0xd8 [] __do_softirq+0x4c/0xb1 [] do_softirq+0x4f/0x56 ======================= [] do_IRQ+0x125/0x130 [] common_interrupt+0x18/0x20 [] default_idle+0x0/0x2c [] default_idle+0x29/0x2c [] cpu_idle+0x26/0x3b [] start_kernel+0x194/0x198 Code: 01 6b 60 01 e8 3b 83 ac 00 00 00 89 83 a8 00 00 00 76 0e 89 ea 89 d8 b9 9a 0d 89 f8 e8 -- Naked