BUG: unable to handle kernel NULL pointer dereference at 0000000000000030 IP: [] release_resource+0x21/0x90 PGD 123efa067 PUD 120639067 PMD 0 Oops: 0000 [#1] PREEMPT SMP last sysfs file: /sys/kernel/kexec_crash_size CPU 2 Pid: 1826, comm: sh Not tainted 2.6.33.9-1.el6.preempt_rt.x86_64 #1 2A9Ch/HP Elite 7100 Microtower PC RIP: 0010:[] [] release_resource+0x21/0x90 RSP: 0018:ffff880124fffde8 EFLAGS: 00010296 RAX: 0000000000000000 RBX: ffffffff81ac6e40 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000284 RDI: ffffffff8176a620 RBP: ffff880124fffdf8 R08: 0000000000000000 R09: 0000000000000008 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff81aee8a0 R15: 0000000000000000 FS: 00007f877dd96700(0000) GS:ffff880028280000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000030 CR3: 000000011f4da000 CR4: 00000000000006e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Process sh (pid: 1826, threadinfo ffff880124ffe000, task ffff88011f426240) Stack: ffff880124fffdf8 0000000000000000 ffff880124fffe48 ffffffff810a366b <0> ffff880124fffe48 0000000000000000 0000000000000000 0000000000000001 <0> ffff880124ffff48 ffff8801271cf870 ffffffff81aee8a0 ffff880121c348c0 Call Trace: [] crash_shrink_memory+0x14b/0x170 [] kexec_crash_size_store+0x41/0x60 [] kobj_attr_store+0x17/0x20 [] sysfs_write_file+0xfc/0x180 [] vfs_write+0xb8/0x1a0 [] ? audit_syscall_entry+0x29a/0x2c0 [] sys_write+0x51/0x90 [] system_call_fastpath+0x16/0x1b Code: 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 53 48 83 ec 08 0f 1f 44 00 00 48 89 fb 48 c7 c7 c0 34 a8 81 e8 23 1b 43 00 48 8b 53 20 <48\ > 8b 42 30 48 85 c0 74 20 48 39 c3 75 0e eb 33 0f 1f 80 00 00 RIP [] release_resource+0x21/0x90 RSP CR2: 0000000000000030