Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760054AbYBKSvV (ORCPT ); Mon, 11 Feb 2008 13:51:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753006AbYBKSvM (ORCPT ); Mon, 11 Feb 2008 13:51:12 -0500 Received: from web36609.mail.mud.yahoo.com ([209.191.85.26]:32087 "HELO web36609.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752074AbYBKSvL (ORCPT ); Mon, 11 Feb 2008 13:51:11 -0500 X-YMail-OSG: acyUPe0VM1nn7bSNYnBtIF1_G9JderCqKP5R7ldyblfkVhtFAxOIOGCcLtNN6z8viQAJBoZGyg-- X-RocketYMMF: rancidfat Date: Mon, 11 Feb 2008 10:51:10 -0800 (PST) From: Casey Schaufler Reply-To: casey@schaufler-ca.com Subject: Re: BUG with 2.6.25-rc1 and smack To: jplatte@naasa.net, linux-kernel@vger.kernel.org In-Reply-To: <200802111926.03067.jplatte@naasa.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Message-ID: <277984.20947.qm@web36609.mail.mud.yahoo.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4668 Lines: 101 --- Joerg Platte wrote: > Hi, > > when booting linux 2.6.25-rc1 I get the following error: > > BUG: unable to handle kernel NULL pointer dereference at 00000138 > IP: [] smack_netlabel+0x13/0xc8 > *pde = 00000000 > Oops: 0000 [#1] PREEMPT > Modules linked in: nfsd auth_rpcgss exportfs af_packet autofs4 ipt_MASQUERADE > > iptable_nat nf_nat nf_conntrack_ipv4 xt_state ipt_REJECT ipt_LOG xt_limit > xt_mark xt_tcpudp xt_mac iptable_filter xt_ > MARK xt_multiport iptable_mangle ip_tables x_tables nf_conntrack_ftp > nf_conntrack cpufreq_userspace cpufreq_stats cpufreq_powersave nfs lockd > nfs_acl sunrpc deflate zlib_deflate zlib_inflate ctr > twofish twofish_common camellia serpent blowfish des_generic cbc aes_i586 > aes_generic xcbc sha256_generic sha1_generic md5 crypto_null hmac crypto_hash > > af_key nls_utf8 ntfs nls_base ext2 fuse ebt > able_broute bridge llc ebtable_nat ebtable_filter ebtables deadline_iosched > as_iosched ircomm_tty ircomm tun acpi_cpufreq video output sbs sbshc joydev > arc4 ecb crypto_blkcipher cryptomgr crypto_ > algapi snd_intel8x0m irtty_sir sir_dev snd_intel8x0 snd_ac97_codec ac97_bus > snd_pcm_oss snd_pcm snd_mixer_oss nsc_ircc irda crc_ccitt parport_pc > snd_seq_oss parport 8250_pnp snd_seq_midi snd_rawm > idi snd_seq_midi_event snd_seq serio_raw snd_timer snd_seq_device psmouse > ath5k snd mac80211 pcspkr 8250_pci yenta_socket rsrc_nonstatic cinergyT2 8250 > > cfg80211 pcmcia firmware_class dvb_core ser > ial_core soundcore snd_page_alloc pcmcia_core i2c_i801 rng_core iTCO_wdt > iTCO_vendor_support battery ac button intel_agp agpgart thinkpad_acpi hwmon > evdev nvram ext3 jbd mbcache sg usbhid hid ff_ > memless sr_mod cdrom sd_mod ata_generic pata_acpi floppy ata_piix e1000 > libata > scsi_mod ehci_hcd uhci_hcd usbcore thermal processor fan unix > cpufreq_conservative cpufreq_ondemand freq_table bay d > ock fbcon tileblit font bitblit softcursor radeonfb fb fb_ddc backlight > i2c_algo_bit cfbcopyarea i2c_core cfbimgblt cfbfillrect > > Pid: 5307, comm: nfsd Not tainted (2.6.25-rc1 #1) > EIP: 0060:[] EFLAGS: 00010286 CPU: 0 > EIP is at smack_netlabel+0x13/0xc8 > EAX: 00000000 EBX: f682edf4 ECX: 00000006 EDX: 00000002 > ESI: 00000000 EDI: 00000001 EBP: f682ee18 ESP: f682edd8 > DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 > Process nfsd (pid: 5307, ti=f682e000 task=f7f54e50 task.ti=f682e000) > Stack: 00000040 f732e1a4 c0331998 f732e290 f682edf8 c01aacf8 f732e1a4 > f7468400 > f682ee04 c01aad52 f732e1a4 f682ee0c c01a7510 c0331668 f732e180 > 00000001 > f682ee20 c01aa665 f682ee34 c01a7a06 00000006 00000001 fffffff4 > f682ee58 > Call Trace: > [] ? new_inode_smack+0x39/0x3f > [] ? smack_inode_alloc_security+0x16/0x27 > [] ? security_inode_alloc+0x19/0x1b > [] ? smack_socket_post_create+0x12/0x18 > [] ? security_socket_post_create+0x16/0x1b > [] ? sock_create_lite+0x44/0x64 > [] ? kernel_accept+0x24/0x5f > [] ? svc_tcp_accept+0x51/0x526 [sunrpc] > [] ? getnstimeofday+0x2f/0xb4 > [] ? ktime_get_ts+0x3b/0x3f > [] ? hrtick_start_fair+0xcb/0x107 > [] ? lock_sock_nested+0xab/0xb3 > [] ? kernel_recvmsg+0x2b/0x3d > [] ? svc_xprt_received+0x1e/0x20 [sunrpc] > [] ? svc_udp_recvfrom+0xd3/0x2ed [sunrpc] > [] ? enqueue_task_fair+0x41/0x4c > [] ? svc_xprt_put+0x10/0x12 [sunrpc] > [] ? svc_xprt_release+0x92/0x9a [sunrpc] > [] ? svc_recv+0x335/0x665 [sunrpc] > [] ? default_wake_function+0x0/0xd > [] ? nfsd+0xd5/0x28e [nfsd] > [] ? nfsd+0x0/0x28e [nfsd] > [] ? kernel_thread_helper+0x7/0x10 > ======================= > Code: 5d f0 74 0d 46 8b 5d f0 c6 45 ef 80 83 eb 08 eb c6 59 5b 5b 5e 5f 5d c3 > > 55 b9 06 00 00 00 89 e5 57 56 89 c6 53 83 ec 34 8d 5d dc <8b> 90 38 01 00 00 > 31 c0 89 df f3 ab 83 3d f4 19 33 c0 03 8 > b 3a > EIP: [] smack_netlabel+0x13/0xc8 SS:ESP 0068:f682edd8 > ---[ end trace 499ec328c921ccf2 ]--- First analysis is that I've got an issue with kernel sockets. If you can turn off NFS for the time being (I know that may not be a helpful suggestion) you should be able to move forward. Thank you for the trace, I hope to have the fix in short order. Casey Schaufler casey@schaufler-ca.com -- 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/