All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Rankin <rankincj@yahoo.com>
To: linux-nfs@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [OOPS] NFS dereferenced NULL pointer with 3.2.6 kernel.
Date: Mon, 20 Feb 2012 00:33:08 +0000	[thread overview]
Message-ID: <4F4194C4.40104@yahoo.com> (raw)

Hi,

My 3.2.6 (x86, 32 bit) kernel oopsed last night while pulling a file across an 
NFS mount:

BUG: unable to handle kernel NULL pointer dereference at   (null)
IP: [<c107a333>] page_address+0x7/0xa4
*pde = 00000000
Oops: 0000 [#1] PREEMPT SMP
Modules linked in: nfs fuse cpufreq_ondemand p4_clockmod speedstep_lib bnep 
bluetooth rfkill crc16 ip6t_LOG ipt_LOG nf_conntrack_ipv6 xt_tcpudp 
nf_defrag_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack max6650 
ip6table_filter iptable_filter ip6_tables ip_tables x_tables dm_mirror 
dm_region_hash dm_log dm_mod snd_emu10k1_synth snd_emux_synth snd_seq_virmidi 
snd_seq_midi_event snd_seq_midi_emul snd_emu10k1 snd_ac97_codec snd_usb_audio 
ac97_bus snd_seq snd_pcm snd_timer snd_page_alloc snd_util_mem uvcvideo 
snd_hwdep snd_usbmidi_lib snd_rawmidi snd_seq_device joydev snd usbhid psmouse 
ppdev videodev parport_pc floppy parport sg firewire_ohci firewire_core pcspkr 
dcdbas crc_itu_t soundcore serio_raw processor i2c_i801 binfmt_misc nfsd lockd 
nfs_acl auth_rpcgss sunrpc exportfs uinput ipv6 ext3 jbd mbcache sr_mod sd_mod 
cdrom sata_sil pata_acpi uhci_hcd ata_piix libata ehci_hcd e1000 scsi_mod 
usbcore usb_common button radeon intel_agp intel_gtt ttm drm_kms_helper drm 
agpgart backlight i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect [last unloaded: 
scsi_wait_scan]

Pid: 3403, comm: mv Not tainted 3.2.6 #1 Dell Computer Corporation Precision 
WorkStation 650    /0F1262
EIP: 0060:[<c107a333>] EFLAGS: 00210206 CPU: 1
EIP is at page_address+0x7/0xa4
EAX: 00000000 EBX: f247fde8 ECX: f43df1e4 EDX: 00000038
ESI: f247fccc EDI: 0000000e EBP: 00000000 ESP: f247fc74
  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process mv (pid: 3403, ti=f247e000 task=f55c3b00 task.ti=f247e000)
Stack:
  f43df1e4 f247fde8 f247fccc 0000000e f2b79c00 f91d006f 00000000 00001000
  f247fc98 00000000 00000002 f43df074 00000000 00000000 0000006e 00000000
  f54d8400 f2b79c00 00000000 f91d0008 f84d25ff f43df020 f43df0ac f2b79c04
Call Trace:
  [<f91d006f>] ? nfs4_xdr_enc_getacl+0x67/0x86 [nfs]
  [<f91d0008>] ? nfs4_xdr_enc_fs_locations+0x87/0x87 [nfs]
  [<f84d25ff>] ? rpcauth_wrap_req+0x72/0x7c [sunrpc]
  [<f84cc3ef>] ? call_transmit+0x172/0x1dd [sunrpc]
  [<f84d182e>] ? __rpc_execute+0x59/0x216 [sunrpc]
  [<c1021a61>] ? add_preempt_count+0x88/0x8a
  [<c1039936>] ? wake_up_bit+0xb/0x16
  [<f84cc71b>] ? rpc_run_task+0x57/0x5c [sunrpc]
  [<f84cc7fb>] ? rpc_call_sync+0x3a/0x54 [sunrpc]
  [<f91c9164>] ? __nfs4_get_acl_uncached+0x15d/0x1ed [nfs]
  [<f91cb43a>] ? nfs4_xattr_get_nfs4_acl+0xdf/0x10c [nfs]
  [<c10abaee>] ? generic_getxattr+0x3b/0x43
  [<c10abab3>] ? xattr_resolve_name+0x4b/0x4b
  [<c10abeb1>] ? vfs_getxattr+0x74/0x7b
  [<c10abf2c>] ? getxattr+0x74/0xc5
  [<c109fd8c>] ? path_openat+0x2bb/0x2d0
  [<c107d0b7>] ? handle_pte_fault+0x23b/0x5fc
  [<c109fe4a>] ? do_filp_open+0x23/0x5c
  [<c109d1dc>] ? getname_flags+0x20/0xf1
  [<c1021948>] ? get_parent_ip+0x8/0x19
  [<c1021948>] ? get_parent_ip+0x8/0x19
  [<c10219cd>] ? sub_preempt_count+0x74/0x80
  [<c1021948>] ? get_parent_ip+0x8/0x19
  [<c1021a61>] ? add_preempt_count+0x88/0x8a
  [<c1094ede>] ? do_sys_open+0x161/0x16b
  [<c1094ede>] ? do_sys_open+0x161/0x16b
  [<c10ac041>] ? listxattr+0x80/0x88
  [<c10ac5a8>] ? sys_fgetxattr+0x42/0x5a
  [<c1219b8c>] ? sysenter_do_call+0x12/0x22
Code: eb 05 bb ea ff ff ff 89 d8 83 c4 20 5b 5e 5f 5d c3 8b 6c 24 18 f7 44 24 44 
00 00 01 00 74 86 31 db eb c5 90 55 57 56 53 51 89 c5 <8b> 00 c1 e8 1e c1 e0 0a 
05 80 33 2f c1 2b 80 8c 03 00 00 3d 00
EIP: [<c107a333>] page_address+0x7/0xa4 SS:ESP 0068:f247fc74
CR2: 0000000000000000

The remote host was also running 3.2.6, but was x86_64. (I've not had any 
trouble copying NFS files between two 32 bit 3.2.6 kernels, which is why I'm 
thinking that the remote host being x86_64 might be significant.)

For the record, the file was actually copied successfully. After I'd rebooted, I 
confirmed that the SHA1 sums matched. The "mv" operation obviously failed before 
the remote copy could be deleted.

Cheers,
Chris



             reply	other threads:[~2012-02-20  0:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-20  0:33 Chris Rankin [this message]
2012-02-20  2:01 ` [OOPS] NFS dereferenced NULL pointer with 3.2.6 kernel Jim Rees
2012-02-20 18:00 ` Myklebust, Trond
2012-02-20 18:00   ` Myklebust, Trond
2012-02-20 18:27   ` Jim Rees
2012-02-20 18:35     ` Myklebust, Trond
2012-02-20 18:43       ` Ben Greear
2012-02-20 19:09         ` Myklebust, Trond
2012-02-20 19:16           ` Ben Greear
2012-02-20 19:33             ` Andy Adamson
2012-02-20 20:53       ` Jim Rees

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F4194C4.40104@yahoo.com \
    --to=rankincj@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.