The kernel crashes due to NULL pointer dereference happens in pipe_write()

Solution Unverified - Updated -

Issue

  • The kernel crashes due to NULL pointer dereference happens in pipe_write()
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<ffffffff811ae070>] pipe_write+0x2e0/0x5f0
Kernel PGD 8000000012acc067 PUD 9a953067 PMD 0 
User   PGD 12acc067 PUD 9a953067 PMD 0 
Oops: 0000 [#1] SMP 
last sysfs file: /sys/module/ipmi_msghandler/initstate
CPU 0 
Modules linked in: [...]
Pid: 1627, comm: appthread Not tainted 2.6.32-754.48.1.el6.x86_64 #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
RIP: 0010:[<ffffffff811ae070>]  [<ffffffff811ae070>] pipe_write+0x2e0/0x5f0
RSP: 0018:ffff880095d23ce8  EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88002432dc00 RCX: 0000000000000258
RDX: ffff88002432de58 RSI: ffff880095d23e88 RDI: ffff8800359eab80
RBP: ffff880095d23d88 R08: ffffffff811a2a30 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 0000000000000009
R13: 0000000000000000 R14: 000000000000000f R15: 0000000000000009
FS:  00007ff75d494700(0000) GS:ffff880028200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000b790c000 CR4: 00000000000407f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process TempUnix_140155 (pid: 1627, threadinfo ffff880095d20000, task ffff88013b596040)
Stack:
 0000000195d23d18 ffff8800359eab80 ffff880095d23d08 ffff8800359eaac8
<d> 8000000033e69067 ffffffff810f0c43 ffff88003793ebc0 0000000000000001
<d> 0000000000000001 ffff880095d23e88 ffff880095d23d48 ffffffff81165f40
Call Trace:
 [<ffffffff810f0c43>] ? audit_copy_inode+0x83/0xc0
 [<ffffffff81165f40>] ? __vma_link_rb+0x30/0x40
 [<ffffffff811a2b30>] do_sync_write+0x100/0x140
 [<ffffffff81161d66>] ? handle_mm_fault+0x306/0x450
 [<ffffffff810ac200>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff811685c5>] ? do_mmap_pgoff+0x335/0x380
 [<ffffffff8124519c>] ? security_file_permission+0x1c/0x20
 [<ffffffff811a2e2a>] vfs_write+0xba/0x1a0
 [<ffffffff811a4336>] ? fget_light_pos+0x16/0x50
 [<ffffffff811a3961>] sys_write+0x51/0xb0
 [<ffffffff815663a7>] system_call_fastpath+0x35/0x3a
Code: fd ff ff 44 8b 73 1c 41 01 d6 41 83 ee 01 41 83 e6 0f 4b 8d 0c b6 48 c1 e1 03 48 8d 14 0b 8b 42 64 03 42 60 4c 8b 6a 68 89 45 cc <45> 8b 55 00 45 85 d2 0f 84 13 01 00 00 48 98 49 8d 04 07 48 3d 
RIP  [<ffffffff811ae070>] pipe_write+0x2e0/0x5f0
 RSP <ffff880095d23ce8>
CR2: 0000000000000000

Environment

  • Red Hat Enterprise Linux 6.10.z

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content