General protection fault due to invalid value passed in reap_alien()

Solution Verified - Updated -

Issue

  • Server crash with RIP in cache_reap() function.
  • System crash with following logs in kernel ring buffer :
crash> log
[..]
general protection fault: 0000 [#1] SMP 
last sysfs file: /sys/devices/pci0000:00/0000:00:03.0/0000:07:00.0/host3/rport-3:0-0/target3:0:0/3:0:0:12/state
CPU 9 
Modules linked in: hangcheck_timer mptctl mptbase autofs4 bonding ipv6 dm_round_robin dm_multipath sg ses enclosure power_meter acpi_ipm
i ipmi_si ipmi_msghandler serio_raw iTCO_wdt iTCO_vendor_support hpilo hpwdt tg3 ptp pps_core lpc_ich mfd_core ioatdma dca shpchp ext4 j
bd2 mbcache sd_mod crc_t10dif sr_mod cdrom qla2xxx scsi_transport_fc scsi_tgt hpsa pata_acpi ata_generic ata_piix dm_mirror dm_region_ha
sh dm_log dm_mod [last unloaded: scsi_wait_scan]

Pid: 108, comm: events/9 Not tainted 2.6.32-573.3.1.el6.x86_64 #1 HP ProLiant DL360p Gen8
RIP: 0010:[<ffffffff8117a521>]  [<ffffffff8117a521>] cache_reap+0x121/0x250
RSP: 0018:ffff881029113de0  EFLAGS: 00010282
RAX: ffff88203f802460 RBX: ffff88203f800dc0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: f7ff88203f802480 RDI: ffff88103fde0780
RBP: ffff881029113e30 R08: 0000000000000001 R09: ffff881ef8ad1ec0
R10: 0000000000000000 R11: ffff881ef8ad1b78 R12: ffff88103fdd0740
R13: 0000000000000001 R14: 0000000000012670 R15: 000000000000100d
FS:  0000000000000000(0000) GS:ffff881078860000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
CR2: 00007f6071649113 CR3: 0000000001a8d000 CR4: 00000000000407e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process events/9 (pid: 108, threadinfo ffff881029110000, task ffff88102910d520)
Stack:
 0000000000000000 ffff881078878700 ffff881078872600 ffffffff81149e80
<d> ffff881029113e10 ffff881078878700 ffff881078878700 ffffffff8117a400
<d> ffff881029113fd8 ffff881078878708 ffff881029113ee0 ffffffff8109a7d0
Call Trace:
 [<ffffffff81149e80>] ? vmstat_update+0x0/0x40
 [<ffffffff8117a400>] ? cache_reap+0x0/0x250
 [<ffffffff8109a7d0>] worker_thread+0x170/0x2a0
 [<ffffffff810a14b0>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff8109a660>] ? worker_thread+0x0/0x2a0
 [<ffffffff810a101e>] kthread+0x9e/0xc0
 [<ffffffff8100c28a>] child_rip+0xa/0x20
 [<ffffffff810a0f80>] ? kthread+0x0/0xc0
 [<ffffffff8100c280>] ? child_rip+0x0/0x20
Code: 08 65 48 8b 04 25 50 d1 00 00 4a 8b 14 30 48 8b 43 50 48 85 c0 0f 84 5f ff ff ff 48 63 ca 48 8b 34 c8 48 85 f6 0f 84 4f ff ff ff <8b> 0e 85 c9 0f 84 45 ff ff ff fa 66 0f 1f 44 00 00 48 8d 46 10 
RIP  [<ffffffff8117a521>] cache_reap+0x121/0x250
 RSP <ffff881029113de0>
(END)

Environment

  • Red Hat Enterprise Linux [All]

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