Kernel panic in kmem_cache_free() while freeing slab cache.
Issue
- Kernel panic with following call traces:
kernel BUG at mm/slab.c:535!
invalid opcode: 0000 [#1] SMP
last sysfs file: /sys/devices/pci0000:20/0000:20:03.0/0000:21:00.0/host5/rport-5:0-1/target5:0:1/5:0:1:47/block/sdeo/dev
CPU 16
Modules linked in: stap_aa15c1a20c745e5dc1a77445b97eb6d_47005(U) mptctl mptbase xfs exportfs nfs lockd fscache auth_rpcgss nfs_acl sunrpc acpi_cpufreq freq_table mperf bonding ipv6 8021q garp stp llc emcpvlumd(P)(U) emcpxcrypt(P)(U) emcpdm(P)(U) emcpgpx(P)(U) emcpmpx(P)(U) emcp(P)(U) hpilo hpwdt microcode serio_raw iTCO_wdt iTCO_vendor_support ioatdma dca sg tg3(U) mlx4_en(U) ptp pps_core mlx4_ib(U) mlx4_core(U) compat(U) power_meter shpchp ext4 jbd2 mbcache sd_mod crc_t10dif sr_mod cdrom qla2xxx(U) scsi_transport_fc scsi_tgt hpsa(U) pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod [last unloaded: emcpioc]
Pid: 56441, comm: autocomplete_ge Tainted: P --------------- 2.6.32-358.41.1.el6.x86_64 #1 HP ProLiant DL380p Gen8
RIP: 0010:[<ffffffff81169032>] [<ffffffff81169032>] kmem_cache_free+0x222/0x2b0
RSP: 0000:ffff880099903d70 EFLAGS: 00010046
RAX: ffffea000006d590 RBX: ffff88201304a000 RCX: ffffffffffffff83
RDX: 0020000000000400 RSI: ffffffff81f3e100 RDI: ffffffff81f3e100
RBP: ffff880099903dd0 R08: 000000000000007d R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000282
R13: ffffffff81f3e100 R14: ffff88401f890180 R15: ffff880099911990
FS: 00007f85c8b51700(0000) GS:ffff880099900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001f3dfb0 CR3: 00000034166ef000 CR4: 00000000000407e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process autocomplete_ge (pid: 56441, threadinfo ffff883c0653c000, task ffff883dee7c2040)
Stack:
ffff8840123fcda8 ffffffff8125acc0 ffff880099903dc0 0000000000000086
<d> ffff881ff2a52c80 ffffffff81f3e100 ffffffff81aa9100 ffff88000001cfc0
<d> ffffffff81aa9100 ffff88200e6e2c80 ffff883da96e4670 ffff880099911990
Call Trace:
<IRQ>
[<ffffffff8125acc0>] ? blk_unplug_timeout+0x0/0x70
[<ffffffff81014489>] free_thread_xstate+0x29/0x40
[<ffffffff810144b9>] free_thread_info+0x19/0x30
[<ffffffff8106bef4>] free_task+0x34/0x70
[<ffffffff8106d865>] __put_task_struct+0x75/0xc0
[<ffffffff81071c54>] delayed_put_task_struct+0x44/0x80
[<ffffffff810e7175>] __rcu_process_callbacks+0x135/0x350
[<ffffffff810e73bb>] rcu_process_callbacks+0x2b/0x50
[<ffffffff810770e1>] __do_softirq+0xc1/0x1e0
[<ffffffff8109b8cb>] ? hrtimer_interrupt+0x14b/0x260
[<ffffffff8100c1cc>] call_softirq+0x1c/0x30
[<ffffffff8100de05>] do_softirq+0x65/0xa0
[<ffffffff81076ec5>] irq_exit+0x85/0x90
[<ffffffff81518120>] smp_apic_timer_interrupt+0x70/0x9b
[<ffffffff8100bb93>] apic_timer_interrupt+0x13/0x20
<EOI>
Code: 83 3a 00 41 8b 07 41 3b 47 04 8b 55 b0 74 4f 48 8b 4d c8 89 c2 83 c0 01 49 89 4c d7 18 41 89 07 66 ff 03 66 66 90 e9 98 fe ff ff <0f> 0b eb fe 48 8b 40 10 48 8b 10 e9 55 fe ff ff 4c 8d 7b 18 89
RIP [<ffffffff81169032>] kmem_cache_free+0x222/0x2b0
RSP <ffff880099903d70>
Environment
- Red Hat Enterprise Linux 6
- kernel-2.6.32-358.41.1.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.