System panic while executing kmemfree function in fidelis module codepath
Issue
- System panic while executing
kmemfreefunction infidelismodule codepath
crash> log | less
[5624585.750191] BUG: unable to handle kernel paging request at ffffebe01ff53480
[5624585.750642] IP: [<ffffffff811dee15>] kfree+0x55/0x140
[5624585.751004] PGD 0
[5624585.751202] Oops: 0000 [#1] SMP
[5624585.751390] Modules linked in: iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_filter fidelis(OE) nfnetlink nfsv3 rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache binfmt_misc vmw_vsock_vmci_transport vsock edac_core iosf_mbi crc32_pclmul ppdev ghash_clmulni_intel aesni_intel v
mw_balloon lrw gf128mul glue_helper ablk_helper cryptd sg joydev pcspkr vmw_vmci i2c_piix4 shpchp parport_pc parport nfsd auth_rpcgss nfs_acl lockd grace sunrpc ip_tables xfs libcrc32c sd_mod sr_mod cdrom crc_t10dif crct10dif_generic ata_generic pata_acpi vmwgfx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sy
s_fops ttm drm crct10dif_pclmul crct10dif_common crc32c_intel ahci libahci serio_raw vmxnet3 vmw_pvscsi ata_piix libata i2c_core floppy dm_mirror dm_region_hash dm_log dm_mod [last unloaded: fidelis]
[5624585.752938]
[5624585.753317] CPU: 1 PID: 40402 Comm: cat Tainted: P OE ------------ 3.10.0-693.2.2.el7.x86_64 #1
[5624585.753704] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 09/21/2015
[5624585.754145] task: ffff8801f0f6bf40 ti: ffff88003a824000 task.ti: ffff88003a824000
[5624585.754568] RIP: 0010:[<ffffffff811dee15>] [<ffffffff811dee15>] kfree+0x55/0x140
[5624585.755002] RSP: 0018:ffff88003a827b78 EFLAGS: 00010082
[5624585.755435] RAX: ffffebe01ff53480 RBX: 00000007fd4d23f0 RCX: 0000000000000001
[5624585.755883] RDX: 000077ff80000000 RSI: ffffea000bb2c580 RDI: 00000007fd4d23f0
[5624585.756410] RBP: ffff88003a827b90 R08: ffff8802ecb16b40 R09: 000000018040003f
[5624585.756928] R10: 0000000000000001 R11: ffffea000bb2c580 R12: 0000000000009dd2
[5624585.757404] R13: ffffffffc07e406a R14: 0000000000000728 R15: ffffffffc09f21e0
[5624585.757887] FS: 00007f148b46d740(0000) GS:ffff880626640000(0000) knlGS:0000000000000000
[5624585.758383] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[5624585.758893] CR2: ffffebe01ff53480 CR3: 00000000594c4000 CR4: 00000000001407e0
[5624585.759441] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[5624585.759995] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[5624585.760527] Stack:
[5624585.761059] ffff88027ae5c678 0000000000009dd2 0000000000000001 ffff88003a827ba0
[5624585.761612] ffffffffc07e406a ffff88003a827bd8 ffffffffc07e2ac6 0000000000000296
[5624585.762174] ffff8801f0f6bf40 ffffffff8108d731 ffff88062664f2a0 ffff88003a827e90
[5624585.762747] Call Trace:
[5624585.763324] [<ffffffffc07e406a>] kmemfree+0x1a/0x1c [fidelis]
[5624585.763918] [<ffffffffc07e2ac6>] remove_nodes_matching+0x76/0xd0 [fidelis]
[5624585.764527] [<ffffffff8108d731>] ? do_exit+0x1/0xa40
[5624585.765130] [<ffffffffc07de15a>] sys_exit_handler_pre+0x3ca/0x450 [fidelis]
[5624585.765746] [<ffffffffc07e406a>] ? kmemfree+0x1a/0x1c [fidelis]
[5624585.766367] [<ffffffffc07e26a2>] ? remove_node+0x22/0x40 [fidelis]
[5624585.767014] [<ffffffff811ffd93>] ? SyS_close+0x23/0x50
[5624585.767649] [<ffffffffc07df977>] ? close_handler+0x1d7/0x260 [fidelis]
[5624585.768307] [<ffffffff81328fb2>] ? radix_tree_lookup_slot+0x22/0x50
[5624585.768969] [<ffffffff8118220e>] ? __find_get_page+0x1e/0xa0
[5624585.769632] [<ffffffff81184f55>] ? filemap_fault+0x215/0x410
[5624585.770342] [<ffffffffc026c55c>] ? xfs_iunlock+0x11c/0x130 [xfs]
[5624585.771045] [<ffffffffc025e93e>] ? xfs_filemap_fault+0x6e/0xf0 [xfs]
[5624585.771708] [<ffffffff8118295b>] ? unlock_page+0x2b/0x30
[5624585.772374] [<ffffffff811ad6a6>] ? do_read_fault.isra.44+0xe6/0x130
[5624585.773057] [<ffffffff816af9c7>] kprobe_ftrace_handler+0xb7/0x120
[5624585.773731] [<ffffffff8108d735>] ? do_exit+0x5/0xa40
[5624585.774405] [<ffffffff8108d730>] ? mm_update_next_owner+0x230/0x230
[5624585.775075] [<ffffffff8108e1ef>] ? do_group_exit+0x3f/0xa0
[5624585.775956] [<ffffffff8114150e>] ftrace_ops_list_func+0xee/0x110
[5624585.776626] [<ffffffff816b6e34>] ftrace_regs_call+0x5/0x81
[5624585.777292] [<ffffffff8108d731>] ? do_exit+0x1/0xa40
[5624585.777933] [<ffffffff8108d735>] ? do_exit+0x5/0xa40
[5624585.778545] [<ffffffff8108e1ef>] ? do_group_exit+0x3f/0xa0
[5624585.779140] [<ffffffff8108e264>] SyS_exit_group+0x14/0x20
[5624585.779706] [<ffffffff816b5009>] system_call_fastpath+0x16/0x1b
[5624585.780249] Code: 8b 15 20 a2 81 00 48 01 d8 72 0e 48 c7 c2 00 00 00 80 48 2b 15 f5 4d 84 00 48 01 d0 48 c1 e8 0c 48 c1 e0 06 48 03 05 d3 4d 84 00 <48> 8b 10 80 e6 80 0f 85 c5 00 00 00 49 89 c3 49 8b 03 a8 80 0f
[5624585.781487] RIP [<ffffffff811dee15>] kfree+0x55/0x140
[5624585.782028] RSP <ffff88003a827b78>
[5624585.782547] CR2: ffffebe01ff53480
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.