Kernel panic due to hitting a bug in the following modules zm_assert(), az_vmem_exit_mm(), az_free_l4_ptes().
Issue
- Kernel panic after updating the kernel to latest version.
kernel BUG at /xx/ZST/5.7.x-zst/xxx/rhel6/linux-zmd/rpmbuild/BUILD/zing-md-2.6.32/zm_adapter.c:610!
invalid opcode: 0000 [#1] SMP
last sysfs file: /sys/devices/system/cpu/online
CPU 3
Modules linked in: zing_mm(U) ipv6 vsock(U) dm_multipath ppdev parport_pc parport microcode vmware_balloon vmci(U) sg i2c_piix4 shpchp ext4 jbd2 mbcache sd_mod crc_t10dif sr_mod cdrom vmxnet3 vmw_pvscsi pata_acpi ata_generic ata_piix vmwgfx ttm drm_kms_helper drm i2c_core dm_mirror dm_region_hash dm_log dm_mod [last unloaded: speedstep_lib]
Pid: 3084, comm: java Not tainted 2.6.32-696.18.7.el6.x86_64 #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
RIP: 0010:[<ffffffffa038adfd>] [<ffffffffa038adfd>] zm_assert+0x1d/0x30 [zing_mm]
RSP: 0018:ffff880065677b38 EFLAGS: 00010296
RAX: 00000000000000a2 RBX: ffff880234857280 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000046 RDI: 0000000000000246
RBP: ffff880065677b38 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff81649fa0 R11: ffff8802354769bf R12: 000000000001f682
R13: 0000000000000002 R14: 0000000000000080 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff88002f6c0000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 000000304123d990 CR3: 0000000001a8e000 CR4: 00000000000607e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process java (pid: 3084, threadinfo ffff880065674000, task ffff88006566cab0)
Stack:
ffff880065677b88 ffffffffa0395a73 ffff880065677b48 0000000000000000
<d> ffff8800655819c0 ffff880234857280 ffff880234857280 ffff880234abaa38
<d> ffff880238edb300 ffff880236c271c0 ffff880065677ba8 ffffffffa038da96
Call Trace:
[<ffffffffa0395a73>] az_vmem_exit_mm+0xd3/0x190 [zing_mm]
[<ffffffffa038da96>] az_exit_mms+0x16/0x30 [zing_mm]
[<ffffffffa0389d56>] zm_exit_mm_struct+0x26/0x80 [zing_mm]
[<ffffffff8119c125>] __fput+0xf5/0x210
[<ffffffff8119c265>] fput+0x25/0x30
[<ffffffff8119736d>] filp_close+0x5d/0x90
[<ffffffff8107fe1f>] put_files_struct+0x7f/0xf0
[<ffffffff8107fee3>] exit_files+0x53/0x70
[<ffffffff8108201d>] do_exit+0x18d/0x850
[<ffffffff810a71a0>] ? autoremove_wake_function+0x0/0x40
[<ffffffff81082738>] do_group_exit+0x58/0xd0
[<ffffffff81098726>] get_signal_to_deliver+0x1f6/0x460
[<ffffffff8100a265>] do_signal+0x75/0x870
[<ffffffff81070000>] ? init_sched_build_groups+0x90/0x1a0
[<ffffffff8154b0cd>] ? printk+0x4f/0x52
[<ffffffff8154f760>] ? error_swapgs+0x181/0x18d
[<ffffffff8154f759>] ? error_swapgs+0x17a/0x18d
[<ffffffff8154f752>] ? error_swapgs+0x173/0x18d
[<ffffffff8100aaf0>] do_notify_resume+0x90/0xc0
[<ffffffff815573cc>] retint_signal+0x48/0x8c
Code: 83 c4 08 5b c9 c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 0f 1f 44 00 00 85 ff 74 02 c9 c3 48 c7 c7 00 f0 39 a0 31 c0 e8 81 02 1c e1 <0f> 0b eb fe 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48
RIP [<ffffffffa038adfd>] zm_assert+0x1d/0x30 [zing_mm]
RSP <ffff880065677b38>
Environment
- Red Hat Enterprise Linux
- Observed on the following kernel versions :
- 2.6.32-696.18.7.el6.x86_64
- 2.6.32-754.11.1.el6.x86_64
- 2.6.32-754.18.2.el6.x86_64
- zing_mm 3rd party module build zst-5.7.1.0-4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.