From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [Bugme-new] [Bug 10375] New: IPSec tunnel kernel panic Date: Tue, 1 Apr 2008 12:06:46 -0700 Message-ID: <20080401120646.9b2f3b6a.akpm@linux-foundation.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: bugme-daemon@bugzilla.kernel.org, yuri@itinteg.net To: netdev@vger.kernel.org Return-path: Received: from smtp1.linux-foundation.org ([140.211.169.13]:60187 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755754AbYDATHx (ORCPT ); Tue, 1 Apr 2008 15:07:53 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: (switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Tue, 1 Apr 2008 11:44:10 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=10375 > > Summary: IPSec tunnel kernel panic > Product: Networking > Version: 2.5 > KernelVersion: 2.6.24.3 2.6.24.4 > Platform: All > OS/Version: Linux > Tree: Mainline > Status: NEW > Severity: high > Priority: P1 > Component: Other > AssignedTo: acme@ghostprotocols.net > ReportedBy: yuri@itinteg.net > > > Latest working kernel version: > Earliest failing kernel version: 2.6.24.3 > Distribution: > Hardware Environment: > Software Environment: > Problem Description: > > Steps to reproduce: Configured IPSec tunnel between two Linux with same kernel > versions. One of machines, connected via ADSL fall with kernel panic. > > 2.6.24.4: > > kernel BUG at include/linux/skbuff.h:948! > invalid opcode: 0000 [#1] SMP > Modules linked in: esp4 ah4 xfrm4_mode_tunnel ppp_synctty ppp_async > crc_ccitt pp > p_generic slhc deflate zlib_deflate geode_aes aes_i586 aes_generic > blowfish des_ > generic cbc ecb blkcipher sha256_generic sha1_generic crypto_null af_key > af_pack > et ipt_ULOG xt_state xt_tcpudp iptable_filter ipt_MASQUERADE iptable_nat > nf_nat > nf_conntrack_ipv4 nf_conntrack ip_tables x_tables binfmt_misc dm_mod > sr_mod cdro > m generic ide_core evdev e1000 ehci_hcd pata_marvell uhci_hcd e1000e > intel_agp a > gpgart sg usbcore unix > > > > Pid: 2867, comm: pppoe Not tainted (2.6.24.4-1 #1) > EIP: 0060:[] EFLAGS: 00010293 CPU: 0 > EIP is at esp_input+0x3b2/0x3b6 [esp4] > EAX: 00000591 EBX: 00000000 ECX: 00000010 EDX: dd65b380 > ESI: 00000005 EDI: 00000014 EBP: dd71da08 ESP: dd71d9a4 > DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 > Process pppoe (pid: 2867, ti=dd71c000 task=de990ab0 task.ti=dd71c000) > Stack: 00000000 000249f0 dd71d990 dd65b380 de948a00 dd71d9a4 de3a3e40 > dd79dc80 > 0000000c 00000598 00000000 dd564840 00000001 00000008 00000000 > dd79dc80 > dd79dca8 00000000 dd733380 00000000 de03c300 04050002 de948a00 > 00000032 > Call Trace: > [] xfrm4_rcv_encap+0xba/0x426 > [] nf_nat_adjust+0x0/0x33 [iptable_nat] > [] nf_iterate+0x56/0x7a > [] nf_hook_slow+0x4d/0xbe > [] ip_local_deliver_finish+0x0/0x1f8 > [] xfrm4_rcv+0x1b/0x1f > [] ip_local_deliver_finish+0xf5/0x1f8 > [] ip_rcv_finish+0xe8/0x32a > [] ip_rcv+0x1e3/0x265 > [] ip_rcv_finish+0x0/0x32a > [] ip_rcv+0x0/0x265 > [] netif_receive_skb+0x298/0x3b7 > [] ppp_receive_nonmp_frame+0x2c7/0x709 [ppp_generic] > [] process_backlog+0x63/0xc4 > [] net_rx_action+0x78/0x139 > [] ppp_async_process+0x1b/0x5e [ppp_async] > [] __do_softirq+0x72/0xdf > [] do_softirq+0x37/0x39 > [] local_bh_enable_ip+0x42/0x44 > [] packet_poll+0x54/0x62 [af_packet] > [] sock_poll+0xc/0xe > [] do_select+0x251/0x46b > [] __pollwait+0x0/0xcf > [] default_wake_function+0x0/0x8 > [] default_wake_function+0x0/0x8 > [] default_wake_function+0x0/0x8 > [] default_wake_function+0x0/0x8 > [] e1000_clean_rx_irq+0x0/0x4ce [e1000] > [] e1000_xmit_frame+0x716/0xba2 [e1000] > [] _spin_lock_bh+0x8/0x18 > [] ppp_async_push+0x1f7/0x424 [ppp_async] > [] cache_alloc_refill+0x6f/0x4ff > [] ppp_async_process+0x4b/0x5e [ppp_async] > [] memcpy_toiovec+0x37/0x4e > [] skb_copy_datagram_iovec+0x146/0x1fa > [] skb_recv_datagram+0x146/0x219 > [] skb_release_all+0x50/0x114 > [] local_bh_enable+0x4f/0x92 > [] packet_recvmsg+0x179/0x1a1 [af_packet] > [] sock_recvmsg+0xcf/0xf3 > [] sock_sendmsg+0xbc/0xde > [] autoremove_wake_function+0x0/0x37 > [] task_rq_lock+0x29/0x50 > [] core_sys_select+0x1b3/0x2bd > [] __wake_up+0x32/0x42 > [] tty_wakeup+0x2d/0x54 > [] pty_unthrottle+0x12/0x1d > [] ppp_asynctty_receive+0x26a/0x687 [ppp_async] > [] __wake_up+0x32/0x42 > [] __wake_up+0x32/0x42 > [] tty_ldisc_deref+0x46/0x69 > [] tty_write+0x1a7/0x1b3 > [] sys_select+0xe4/0x1ab > [] sysenter_past_esp+0x5f/0x85 > ======================= > > Code: 75 ac 83 86 40 01 00 00 01 8b 65 b0 bb ea ff ff ff e9 d2 fc ff ff > 89 c2 8b > 45 a8 e8 58 dd 74 e0 8b 4d a8 8b 51 50 e9 41 ff ff ff <0f> 0b eb fe 55 > 57 56 53 > 83 ec 10 89 c6 8b a8 e4 00 00 00 85 ed > > EIP: [] esp_input+0x3b2/0x3b6 [esp4] SS:ESP 0068:dd71d9a4 > > Kernel panic - not syncing: Fatal exception in interrupt > > ------------------------------------------------------------------------------ > 2.6.24.3: > > kernel BUG at include/linux/skbuff.h:948! > invalid opcode: 0000 [#1] SMP > Modules linked in: esp4 ah4 xfrm4_mode_tunnel ppp_synctty ppp_async > crc_ccitt pp > p_generic slhc deflate zlib_deflate geode_aes aes_i586 aes_generic > blowfish des_ > generic cbc ecb blkcipher sha256_generic sha1_generic crypto_null af_key > af_pack > et ipt_ULOG xt_state xt_tcpudp iptable_filter ipt_MASQUERADE iptable_nat > nf_nat > nf_conntrack_ipv4 nf_conntrack ip_tables x_tables binfmt_misc dm_mod > sr_mod cdro > m generic ide_core evdev e1000 pata_marvell intel_agp e1000e ehci_hcd > uhci_hcd a > gpgart sg usbcore unix > > > > Pid: 4, comm: ksoftirqd/0 Not tainted (2.6.24.3-1 #1) > EIP: 0060:[] EFLAGS: 00010283 CPU: 0 > EIP is at esp_input+0x3b2/0x3b6 [esp4] > EAX: 00000579 EBX: 00000000 ECX: 00000010 EDX: dcc6f540 > ESI: 00000005 EDI: 00000014 EBP: de845e74 ESP: de845e10 > DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 > > Process ksoftirqd/0 (pid: 4, ti=de844000 task=de829ab0 task.ti=de844000) > Stack: 00000000 000249f0 de845e00 dcc6f540 dcfa0a00 de845e10 de3b69c0 > dcfa5f40 > 0000000c 00000580 00000000 dccb8840 00000001 00000008 00000000 > dcfa5f40 > dcfa5f68 00000000 dcf3e580 00000000 de083540 04050002 dcfa0a00 > 00000032 > > Call Trace: > [] xfrm4_rcv_encap+0xba/0x426 > [] nf_nat_adjust+0x0/0x33 [iptable_nat] > [] nf_iterate+0x56/0x7a > [] nf_hook_slow+0x4d/0xbe > [] ip_local_deliver_finish+0x0/0x1f8 > [] xfrm4_rcv+0x1b/0x1f > [] ip_local_deliver_finish+0xf5/0x1f8 > [] ip_rcv_finish+0xe8/0x32a > [] ip_rcv+0x1e3/0x265 > [] ip_rcv_finish+0x0/0x32a > [] ip_rcv+0x0/0x265 > [] netif_receive_skb+0x298/0x3b7 > [] ppp_receive_nonmp_frame+0x2c7/0x709 [ppp_generic] > [] process_backlog+0x63/0xc4 > [] net_rx_action+0x78/0x139 > [] ppp_async_process+0x1b/0x5e [ppp_async] > [] __do_softirq+0x72/0xdf > [] ksoftirqd+0x0/0xcf > [] do_softirq+0x37/0x39 > [] ksoftirqd+0x56/0xcf > [] kthread+0x34/0x55 > [] kthread+0x0/0x55 > [] kernel_thread_helper+0x7/0x10 > ======================= > > Code: 75 ac 83 86 40 01 00 00 01 8b 65 b0 bb ea ff ff ff e9 d2 fc ff ff > 89 c2 8b > 45 a8 e8 68 6e 7d e0 8b 4d a8 8b 51 50 e9 41 ff ff ff <0f> 0b eb fe 55 > 57 56 53 > 83 ec 10 89 c6 8b a8 e4 00 00 00 85 ed > > EIP: [] esp_input+0x3b2/0x3b6 [esp4] SS:ESP 0068:de845e10 > Kernel panic - not syncing: Fatal exception in interrupt