2011-09-13 11:55:35

by Peng, Tao

[permalink] [raw]
Subject: NULL pointer dereference during mount

Hi, Benny,

After rebasing to your pnfs-all-latest branch, I always got bellow NULL pointer dereference for both nfsv4 and pnfs. Do you know of any recent change that can cause this?

[ 81.468606] BUG: unable to handle kernel NULL pointer dereference at 0000000000000030
[ 81.468919] IP: [<ffffffff8120ca85>] selinux_set_mnt_opts+0x4f/0x3fb
[ 81.469174] PGD 2ffc067 PUD 2e84067 PMD 0
[ 81.469455] Oops: 0000 [#1] SMP
[ 81.469455] CPU 0
[ 81.469455] Modules linked in: blocklayoutdriver nfs lockd fscache auth_rpcgss nfs_acl ebtable_nat ebtables ipt_MASQUERADE ipt
able_nat nf_nat xt_CHECKSUM iptable_mangle bridge stp llc sunrpc ip6t_REJECT be2iscsi nf_conntrack_ipv6 nf_defrag_ipv6 iscsi_boot
_sysfs bnx2i ip6table_filter cnic uio ip6_tables cxgb3i libcxgbi cxgb3 mdio iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi
pcspkr e1000 i2c_piix4 ppdev shpchp i2c_core parport_pc parport vmw_balloon microcode ipv6 mptspi mptscsih mptbase scsi_transport
_spi [last unloaded: nfs]
[ 81.469455]
[ 81.469455] Pid: 1919, comm: mount.nfs Not tainted 3.1.0-rc3+ #3 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference
Platform
[ 81.469455] RIP: 0010:[<ffffffff8120ca85>] [<ffffffff8120ca85>] selinux_set_mnt_opts+0x4f/0x3fb
[ 81.469455] RSP: 0018:ffff88000d22fb28 EFLAGS: 00010296
[ 81.469455] RAX: 0000000000000000 RBX: ffff880008460200 RCX: 0000000000000000
[ 81.469455] RDX: 0000000000000000 RSI: ffff880008460390 RDI: ffff8800003dc800
[ 81.469455] RBP: ffff88000d22fbb8 R08: 0000000000000001 R09: 0000000000000000
[ 81.469455] R10: 0000ffff00066c0a R11: 0000000000000000 R12: ffff880000019a00
[ 81.469455] R13: ffff8800003dc800 R14: ffff880008460390 R15: ffff8800003dc800
[ 81.469455] FS: 00007ffebe637720(0000) GS:ffff880017400000(0000) knlGS:0000000000000000
[ 81.469455] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 81.469455] CR2: 0000000000000030 CR3: 000000000ce79000 CR4: 00000000000006f0
[ 81.469455] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 81.469455] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 81.469455] Process mount.nfs (pid: 1919, threadinfo ffff88000d22e000, task ffff88000cb08000)
[ 81.469455] Stack:
[ 81.469455] ffffea0000031880 ffff880000000008 0000000000000000 ffff88000d22fb48
[ 81.469455] ffff88000d22fb78 ffffffffa02fe5ee 0000000180150011 ffff88000a308cc0
[ 81.469455] 0000000000000001 0000000000000001 ffff88000d22fbc8 ffffffffa02caac5
[ 81.469455] Call Trace:
[ 81.469455] [<ffffffffa02caac5>] ? nfs4_get_root+0x20f/0x242 [nfs]
[ 81.469455] [<ffffffff8120504e>] security_sb_set_mnt_opts+0x16/0x18
[ 81.469455] [<ffffffffa02ce6bd>] nfs4_remote_mount+0x17c/0x1ff [nfs]
[ 81.469455] [<ffffffff8112fde6>] mount_fs+0x69/0x157
[ 81.469455] [<ffffffff810fb000>] ? __alloc_percpu+0x10/0x12
[ 81.469455] [<ffffffff811444ca>] vfs_kern_mount+0x63/0xa0
[ 81.469455] [<ffffffffa02ce9b8>] nfs_do_root_mount+0x7b/0x9a [nfs]
[ 81.469455] [<ffffffffa02cec8f>] nfs4_try_mount+0x58/0xba [nfs]
[ 81.469455] [<ffffffffa02cfff1>] nfs_fs_mount+0x48b/0x6e9 [nfs]
[ 81.469455] [<ffffffff8112fde6>] mount_fs+0x69/0x157
[ 81.469455] [<ffffffff810fb000>] ? __alloc_percpu+0x10/0x12
[ 81.469455] [<ffffffff811444ca>] vfs_kern_mount+0x63/0xa0
[ 81.469455] [<ffffffff811451be>] do_kern_mount+0x4d/0xdf
[ 81.469455] [<ffffffff8114685d>] do_mount+0x63c/0x69f
[ 81.469455] [<ffffffff81146185>] ? copy_mount_options+0xcb/0x12e
[ 81.469455] [<ffffffff81146b6e>] sys_mount+0x88/0xc2
[ 81.469455] [<ffffffff8147e502>] system_call_fastpath+0x16/0x1b
[ 81.469455] Code: 00 00 4c 8b a7 a8 01 00 00 49 89 fd 48 8b 56 08 48 89 45 a8 48 8b 47 28 48 89 55 80 48 8b 00 48 89 45 98 49 8b 04 24 48 8b 40 60
[ 81.469455] 8b 40 30 48 8b 40 38 48 89 45 a0 48 8b 06 8b 76 10 48 89 45
[ 81.469455] RIP [<ffffffff8120ca85>] selinux_set_mnt_opts+0x4f/0x3fb
[ 81.469455] RSP <ffff88000d22fb28>
[ 81.469455] CR2: 0000000000000030
[ 81.513181] ---[ end trace dccee53f6c438566 ]---



Cheers,
-Bergwolf




2011-09-14 07:53:50

by Peng, Tao

[permalink] [raw]
Subject: RE: NULL pointer dereference during mount

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Benny Halevy
> Sent: Wednesday, September 14, 2011 2:29 PM
> To: Peng, Tao
> Cc: [email protected]; [email protected]
> Subject: Re: NULL pointer dereference during mount
>
> I couldn't reproduce this with selinux neither disabled nor enforcing.
> What's your selinux configuration?
I didn't changed selinux config so it is the default on Fedora15
/etc/selinux/config:
SELINUX=enforcing
SELINUXTYPE=targeted

/etc/selinux/semanage.conf:
module-store = direct
expand-check=0
usepasswd=False

Cheers,
Tao
>
> Benny
>
> On 2011-09-13 18:43, [email protected] wrote:
> >
> > ________________________________________
> > From: Jim Rees [[email protected]]
> > Sent: Tuesday, September 13, 2011 8:42 PM
> > To: Peng, Tao
> > Cc: [email protected]; [email protected]
> > Subject: Re: NULL pointer dereference during mount
> >
> > [email protected] wrote:
> >
> > After rebasing to your pnfs-all-latest branch, I always got bellow NULL
> > pointer dereference for both nfsv4 and pnfs. Do you know of any recent
> > change that can cause this?
> >
> > "git diff" shows no change in the nfs client between my for-benny branch and
> > benny's pnfs-all-latest branch. And the mount works for me. But the first
> > thing I always do on a fresh Fedora install is disable selinux. Maybe
> > something changed in selinux?
> > [PT] Just tested 3.1-rc6 and it is working properly. So I think it should be caused by
> nfs changes.--
> > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> > the body of a message to [email protected]
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html


2011-09-14 15:59:16

by Peng, Tao

[permalink] [raw]
Subject: RE: NULL pointer dereference during mount

Hi, Benny,

OK, I found the problem. It is because I was building nfs module, instead of rebuilding the whole kernel. commit bea6cd74 in pnfs-all-latest branch changes struct super_block by adding s_pnfs_op pointer. Then sb->s_security of the new module is translated into accessing sb->s_xattr, which is NULL, and causes the oops.

After rebuilding the kernel, I don't get it any more. Sorry for the noise...

Cheers,
Tao
________________________________________
From: [email protected] [[email protected]] On Behalf Of [email protected] [[email protected]]
Sent: Wednesday, September 14, 2011 3:53 PM
To: [email protected]
Cc: [email protected]; [email protected]
Subject: RE: NULL pointer dereference during mount

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Benny Halevy
> Sent: Wednesday, September 14, 2011 2:29 PM
> To: Peng, Tao
> Cc: [email protected]; [email protected]
> Subject: Re: NULL pointer dereference during mount
>
> I couldn't reproduce this with selinux neither disabled nor enforcing.
> What's your selinux configuration?
I didn't changed selinux config so it is the default on Fedora15
/etc/selinux/config:
SELINUX=enforcing
SELINUXTYPE=targeted

/etc/selinux/semanage.conf:
module-store = direct
expand-check=0
usepasswd=False

Cheers,
Tao
>
> Benny
>
> On 2011-09-13 18:43, [email protected] wrote:
> >
> > ________________________________________
> > From: Jim Rees [[email protected]]
> > Sent: Tuesday, September 13, 2011 8:42 PM
> > To: Peng, Tao
> > Cc: [email protected]; [email protected]
> > Subject: Re: NULL pointer dereference during mount
> >
> > [email protected] wrote:
> >
> > After rebasing to your pnfs-all-latest branch, I always got bellow NULL
> > pointer dereference for both nfsv4 and pnfs. Do you know of any recent
> > change that can cause this?
> >
> > "git diff" shows no change in the nfs client between my for-benny branch and
> > benny's pnfs-all-latest branch. And the mount works for me. But the first
> > thing I always do on a fresh Fedora install is disable selinux. Maybe
> > something changed in selinux?
> > [PT] Just tested 3.1-rc6 and it is working properly. So I think it should be caused by
> nfs changes.--
> > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> > the body of a message to [email protected]
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2011-09-14 06:28:44

by Benny Halevy

[permalink] [raw]
Subject: Re: NULL pointer dereference during mount

I couldn't reproduce this with selinux neither disabled nor enforcing.
What's your selinux configuration?

Benny

On 2011-09-13 18:43, [email protected] wrote:
>
> ________________________________________
> From: Jim Rees [[email protected]]
> Sent: Tuesday, September 13, 2011 8:42 PM
> To: Peng, Tao
> Cc: [email protected]; [email protected]
> Subject: Re: NULL pointer dereference during mount
>
> [email protected] wrote:
>
> After rebasing to your pnfs-all-latest branch, I always got bellow NULL
> pointer dereference for both nfsv4 and pnfs. Do you know of any recent
> change that can cause this?
>
> "git diff" shows no change in the nfs client between my for-benny branch and
> benny's pnfs-all-latest branch. And the mount works for me. But the first
> thing I always do on a fresh Fedora install is disable selinux. Maybe
> something changed in selinux?
> [PT] Just tested 3.1-rc6 and it is working properly. So I think it should be caused by nfs changes.--
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2011-09-13 12:03:07

by Peng, Tao

[permalink] [raw]
Subject: RE: NULL pointer dereference during mount

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of [email protected]
> Sent: Tuesday, September 13, 2011 7:55 PM
> To: [email protected]
> Cc: [email protected]
> Subject: NULL pointer dereference during mount
>
> Hi, Benny,
>
> After rebasing to your pnfs-all-latest branch, I always got bellow NULL pointer
> dereference for both nfsv4 and pnfs. Do you know of any recent change that can
> cause this?
Just verified that Trond's nfs-for-next branch is working. So should be something only in your tree.

>
> [ 81.468606] BUG: unable to handle kernel NULL pointer dereference at
> 0000000000000030
> [ 81.468919] IP: [<ffffffff8120ca85>] selinux_set_mnt_opts+0x4f/0x3fb
> [ 81.469174] PGD 2ffc067 PUD 2e84067 PMD 0
> [ 81.469455] Oops: 0000 [#1] SMP
> [ 81.469455] CPU 0
> [ 81.469455] Modules linked in: blocklayoutdriver nfs lockd fscache auth_rpcgss
> nfs_acl ebtable_nat ebtables ipt_MASQUERADE ipt
> able_nat nf_nat xt_CHECKSUM iptable_mangle bridge stp llc sunrpc ip6t_REJECT
> be2iscsi nf_conntrack_ipv6 nf_defrag_ipv6 iscsi_boot
> _sysfs bnx2i ip6table_filter cnic uio ip6_tables cxgb3i libcxgbi cxgb3 mdio iscsi_tcp
> libiscsi_tcp libiscsi scsi_transport_iscsi
> pcspkr e1000 i2c_piix4 ppdev shpchp i2c_core parport_pc parport vmw_balloon
> microcode ipv6 mptspi mptscsih mptbase scsi_transport
> _spi [last unloaded: nfs]
> [ 81.469455]
> [ 81.469455] Pid: 1919, comm: mount.nfs Not tainted 3.1.0-rc3+ #3 VMware, Inc.
> VMware Virtual Platform/440BX Desktop Reference
> Platform
> [ 81.469455] RIP: 0010:[<ffffffff8120ca85>] [<ffffffff8120ca85>]
> selinux_set_mnt_opts+0x4f/0x3fb
> [ 81.469455] RSP: 0018:ffff88000d22fb28 EFLAGS: 00010296
> [ 81.469455] RAX: 0000000000000000 RBX: ffff880008460200 RCX:
> 0000000000000000
> [ 81.469455] RDX: 0000000000000000 RSI: ffff880008460390 RDI:
> ffff8800003dc800
> [ 81.469455] RBP: ffff88000d22fbb8 R08: 0000000000000001 R09:
> 0000000000000000
> [ 81.469455] R10: 0000ffff00066c0a R11: 0000000000000000 R12:
> ffff880000019a00
> [ 81.469455] R13: ffff8800003dc800 R14: ffff880008460390 R15:
> ffff8800003dc800
> [ 81.469455] FS: 00007ffebe637720(0000) GS:ffff880017400000(0000)
> knlGS:0000000000000000
> [ 81.469455] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> [ 81.469455] CR2: 0000000000000030 CR3: 000000000ce79000 CR4:
> 00000000000006f0
> [ 81.469455] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
> 0000000000000000
> [ 81.469455] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
> 0000000000000400
> [ 81.469455] Process mount.nfs (pid: 1919, threadinfo ffff88000d22e000, task
> ffff88000cb08000)
> [ 81.469455] Stack:
> [ 81.469455] ffffea0000031880 ffff880000000008 0000000000000000
> ffff88000d22fb48
> [ 81.469455] ffff88000d22fb78 ffffffffa02fe5ee 0000000180150011
> ffff88000a308cc0
> [ 81.469455] 0000000000000001 0000000000000001 ffff88000d22fbc8
> ffffffffa02caac5
> [ 81.469455] Call Trace:
> [ 81.469455] [<ffffffffa02caac5>] ? nfs4_get_root+0x20f/0x242 [nfs]
> [ 81.469455] [<ffffffff8120504e>] security_sb_set_mnt_opts+0x16/0x18
> [ 81.469455] [<ffffffffa02ce6bd>] nfs4_remote_mount+0x17c/0x1ff [nfs]
> [ 81.469455] [<ffffffff8112fde6>] mount_fs+0x69/0x157
> [ 81.469455] [<ffffffff810fb000>] ? __alloc_percpu+0x10/0x12
> [ 81.469455] [<ffffffff811444ca>] vfs_kern_mount+0x63/0xa0
> [ 81.469455] [<ffffffffa02ce9b8>] nfs_do_root_mount+0x7b/0x9a [nfs]
> [ 81.469455] [<ffffffffa02cec8f>] nfs4_try_mount+0x58/0xba [nfs]
> [ 81.469455] [<ffffffffa02cfff1>] nfs_fs_mount+0x48b/0x6e9 [nfs]
> [ 81.469455] [<ffffffff8112fde6>] mount_fs+0x69/0x157
> [ 81.469455] [<ffffffff810fb000>] ? __alloc_percpu+0x10/0x12
> [ 81.469455] [<ffffffff811444ca>] vfs_kern_mount+0x63/0xa0
> [ 81.469455] [<ffffffff811451be>] do_kern_mount+0x4d/0xdf
> [ 81.469455] [<ffffffff8114685d>] do_mount+0x63c/0x69f
> [ 81.469455] [<ffffffff81146185>] ? copy_mount_options+0xcb/0x12e
> [ 81.469455] [<ffffffff81146b6e>] sys_mount+0x88/0xc2
> [ 81.469455] [<ffffffff8147e502>] system_call_fastpath+0x16/0x1b
> [ 81.469455] Code: 00 00 4c 8b a7 a8 01 00 00 49 89 fd 48 8b 56 08 48 89 45 a8
> 48 8b 47 28 48 89 55 80 48 8b 00 48 89 45 98 49 8b 04 24 48 8b 40 60
> [ 81.469455] 8b 40 30 48 8b 40 38 48 89 45 a0 48 8b 06 8b 76 10 48 89 45
> [ 81.469455] RIP [<ffffffff8120ca85>] selinux_set_mnt_opts+0x4f/0x3fb
> [ 81.469455] RSP <ffff88000d22fb28>
> [ 81.469455] CR2: 0000000000000030
> [ 81.513181] ---[ end trace dccee53f6c438566 ]---
>
>
>
> Cheers,
> -Bergwolf
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html


2011-09-13 12:42:08

by Jim Rees

[permalink] [raw]
Subject: Re: NULL pointer dereference during mount

[email protected] wrote:

After rebasing to your pnfs-all-latest branch, I always got bellow NULL
pointer dereference for both nfsv4 and pnfs. Do you know of any recent
change that can cause this?

"git diff" shows no change in the nfs client between my for-benny branch and
benny's pnfs-all-latest branch. And the mount works for me. But the first
thing I always do on a fresh Fedora install is disable selinux. Maybe
something changed in selinux?

2011-09-13 16:43:41

by Peng, Tao

[permalink] [raw]
Subject: RE: NULL pointer dereference during mount


________________________________________
From: Jim Rees [[email protected]]
Sent: Tuesday, September 13, 2011 8:42 PM
To: Peng, Tao
Cc: [email protected]; [email protected]
Subject: Re: NULL pointer dereference during mount

[email protected] wrote:

After rebasing to your pnfs-all-latest branch, I always got bellow NULL
pointer dereference for both nfsv4 and pnfs. Do you know of any recent
change that can cause this?

"git diff" shows no change in the nfs client between my for-benny branch and
benny's pnfs-all-latest branch. And the mount works for me. But the first
thing I always do on a fresh Fedora install is disable selinux. Maybe
something changed in selinux?
[PT] Just tested 3.1-rc6 and it is working properly. So I think it should be caused by nfs changes.

2011-09-14 06:31:29

by Benny Halevy

[permalink] [raw]
Subject: Re: NULL pointer dereference during mount

I couldn't reproduce this with selinux neither disabled nor enforcing.
What's your selinux configuration?

Benny

On 2011-09-13 18:43, [email protected] wrote:
>
> ________________________________________
> From: Jim Rees [[email protected]]
> Sent: Tuesday, September 13, 2011 8:42 PM
> To: Peng, Tao
> Cc: [email protected]; [email protected]
> Subject: Re: NULL pointer dereference during mount
>
> [email protected] wrote:
>
> After rebasing to your pnfs-all-latest branch, I always got bellow NULL
> pointer dereference for both nfsv4 and pnfs. Do you know of any recent
> change that can cause this?
>
> "git diff" shows no change in the nfs client between my for-benny branch and
> benny's pnfs-all-latest branch. And the mount works for me. But the first
> thing I always do on a fresh Fedora install is disable selinux. Maybe
> something changed in selinux?
> [PT] Just tested 3.1-rc6 and it is working properly. So I think it should be caused by nfs changes.--
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2011-09-14 16:47:30

by Benny Halevy

[permalink] [raw]
Subject: Re: NULL pointer dereference during mount

UGhldy4gVGhhdCBtYWtlcyBzZW5zZS4gOikNCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0N
CkZyb206IDx0YW8ucGVuZ0BlbWMuY29tPg0KRGF0ZTogV2VkLCAxNCBTZXAgMjAxMSAxMTo1Njoy
NyANClRvOiA8YmhhbGV2eUB0b25pYW4uY29tPg0KQ2M6IDxyZWVzQHVtaWNoLmVkdT47IDxsaW51
eC1uZnNAdmdlci5rZXJuZWwub3JnPg0KU3ViamVjdDogUkU6IE5VTEwgcG9pbnRlciBkZXJlZmVy
ZW5jZSB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