2016-03-04 08:34:22

by kernel test robot

[permalink] [raw]
Subject: [lkp] [nfs] 148558a301: BUG: unable to handle kernel NULL pointer dereference at 0000000000000028

FYI, we noticed the below changes on

https://github.com/0day-ci/linux Goldwyn-Rodrigues/ovl-Add-d_select_inode-to-reval-dentry-operations/20160302-021629
commit 148558a301d260972086b6c321d6341d3740cccf ("nfs: Store and use inode in nfs_open_context")


+------------------------------------------+------------+------------+
| | dc366564ea | 148558a301 |
+------------------------------------------+------------+------------+
| boot_successes | 16 | 20 |
| boot_failures | 1 | 11 |
| invoked_oom-killer:gfp_mask=0x | 1 | |
| Mem-Info | 1 | |
| Out_of_memory:Kill_process | 1 | |
| backtrace:_do_fork | 1 | |
| backtrace:SyS_clone | 1 | |
| backtrace:do_execveat_common | 1 | |
| backtrace:compat_SyS_execve | 1 | |
| BUG:unable_to_handle_kernel | 0 | 11 |
| Oops | 0 | 11 |
| RIP:alloc_nfs_open_context | 0 | 11 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 11 |
| backtrace:do_sys_open | 0 | 11 |
| backtrace:SyS_open | 0 | 11 |
+------------------------------------------+------------+------------+



[ 13.554531] NFS: Registering the id_resolver key type
[ 13.555827] Key type id_resolver registered
[ 13.556857] Key type id_legacy registered
[ 13.835351] BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
[ 13.836041] IP: [<ffffffff812e3f31>] alloc_nfs_open_context+0x51/0x100
[ 13.836041] PGD 0
[ 13.836041] Oops: 0000 [#1] SMP
[ 13.836041] Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver sg sr_mod cdrom ata_generic pata_acpi ppdev snd_pcm snd_timer snd soundcore serio_raw pcspkr parport_pc parport floppy ata_piix acpi_cpufreq libata i2c_piix4
[ 13.844812] CPU: 0 PID: 343 Comm: wrapper Not tainted 4.5.0-rc6-00003-g148558a #1
[ 13.854820] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 13.854820] task: ffff88003f870000 ti: ffff88003f420000 task.ti: ffff88003f420000
[ 13.854820] RIP: 0010:[<ffffffff812e3f31>] [<ffffffff812e3f31>] alloc_nfs_open_context+0x51/0x100
[ 13.865228] RSP: 0018:ffff88003f423c38 EFLAGS: 00010282
[ 13.867037] RAX: ffff88003f4f4840 RBX: ffff88003f4f4840 RCX: 0000000000001c3c
[ 13.867037] RDX: 0000000000001c3b RSI: 0000000000000509 RDI: ffffffff81bea1b4
[ 13.867037] RBP: ffff88003f423c60 R08: 000000000001a660 R09: ffff880035801800
[ 13.867037] R10: ffff88003f4f4840 R11: 0000000000008241 R12: ffff88003f1926c0
[ 13.867037] R13: ffff88003f4f4780 R14: 0000000000000000 R15: 0000000000000002
[ 13.867037] FS: 00007f2e1fcba700(0000) GS:ffff880037200000(0000) knlGS:0000000000000000
[ 13.867037] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 13.867037] CR2: 0000000000000028 CR3: 000000003f636000 CR4: 00000000000006f0
[ 13.867037] Stack:
[ 13.867037] 0000000000008241 ffff88003f1926c0 ffff88003f189d48 ffff88003f423c88
[ 13.867037] 00000000000081b4 ffff88003f423d00 ffffffff812dee74 ffff88003f423d88
[ 13.867037] ffff88003e813000 ffff88003f1926c0 000081b400008009 0000000000000000
[ 13.867037] Call Trace:
[ 13.867037] [<ffffffff812dee74>] nfs_atomic_open+0x124/0x3f0
[ 13.867037] [<ffffffff81202c38>] path_openat+0x8f8/0x1360
[ 13.867037] [<ffffffff8120471e>] do_filp_open+0x7e/0xe0
[ 13.867037] [<ffffffff81203876>] ? getname_flags+0x56/0x1f0
[ 13.867037] [<ffffffff811d0d65>] ? kmem_cache_alloc+0x1a5/0x200
[ 13.867037] [<ffffffff81212366>] ? __alloc_fd+0x46/0x180
[ 13.867037] [<ffffffff811f2de6>] do_sys_open+0x116/0x1f0
[ 13.867037] [<ffffffff811f2ede>] SyS_open+0x1e/0x20
[ 13.867037] [<ffffffff818e4eee>] entry_SYSCALL_64_fastpath+0x12/0x6d
[ 13.867037] Code: 49 89 c5 0f 87 b5 00 00 00 48 8b 3d 3a 2a f3 00 ba 88 00 00 00 be c0 00 40 02 e8 9b ce ee ff 48 85 c0 48 89 c3 0f 84 9e 00 00 00 <49> 8b 7e 28 e8 06 4e 00 00 4d 85 e4 74 0a 49 8d 7c 24 58 e8 87
[ 13.867037] RIP [<ffffffff812e3f31>] alloc_nfs_open_context+0x51/0x100
[ 13.867037] RSP <ffff88003f423c38>
[ 13.867037] CR2: 0000000000000028
[ 13.936306] ---[ end trace 497d6290b4a58a55 ]---
[ 13.938047] Kernel panic - not syncing: Fatal exception





Thanks,
Kernel Test Robot


Attachments:
(No filename) (4.56 kB)
config-4.5.0-rc6-00003-g148558a (142.04 kB)
dmesg.xz (12.38 kB)
Download all attachments