System crashed at strlen() which was called from 'ioctlMod()'

Solution Unverified - Updated -

Issue

  • System crashed with the below log
...
[1130401.366337] [RENAME] fail to construct a new linuxfile object.
[1130401.366340] failed to inquiry namespace root path
[1130401.366341] [RENAME] fail to construct a new linuxfile object.
[1133124.357735] BUG: unable to handle kernel NULL pointer dereference at           (null)
[1133124.357785] IP: [<ffffffffb238eec0>] strlen+0x0/0x30
[1133124.357852] PGD 800000023421f067 PUD 2334d2067 PMD 0 
[1133124.357877] Oops: 0000 [#1] SMP 
[1133124.357902] Modules linked in: binfmt_misc udp_diag tcp_diag inet_diag vmsecmod(OE) nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache vmw_vsock_vmci_transport vsock sunrpc iosf_mbi ppdev crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd sg vmw_balloon joydev pcspkr parport_pc parport vmw_vmci i2c_piix4 ip_tables ext4 mbcache jbd2 sr_mod cdrom ata_generic pata_acpi vmwgfx drm_kms_helper sd_mod crc_t10dif crct10dif_generic syscopyarea sysfillrect sysimgblt fb_sys_fops ttm crct10dif_pclmul crct10dif_common crc32c_intel ahci drm e1000e ata_piix libahci libata serio_raw ptp pps_core nfit vmxnet3 vmw_pvscsi libnvdimm drm_panel_orientation_quirks dm_mirror dm_region_hash dm_log dm_mod
[1133124.358263] CPU: 0 PID: 40530 Comm: icsfilesec Kdump: loaded Tainted: G           OE  ------------   3.10.0-1127.el7.x86_64 #1
[1133124.358302] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 12/12/2018
[1133124.358373] task: ffff99d33b809070 ti: ffff99d4b366c000 task.ti: ffff99d4b366c000
[1133124.358400] RIP: 0010:[<ffffffffb238eec0>]  [<ffffffffb238eec0>] strlen+0x0/0x30
[1133124.358429] RSP: 0018:ffff99d4b366fb90  EFLAGS: 00010246
[1133124.358449] RAX: ffff99d322ab2000 RBX: 00007f0d7c0008c0 RCX: 0000000000000000
[1133124.358474] RDX: 0000000000000006 RSI: ffff99d4b366fe47 RDI: 0000000000000000
[1133124.358499] RBP: ffff99d4b366fe78 R08: 7469726765746e69 R09: 0000000000000000
[1133124.358524] R10: ffff99d4b366fc48 R11: 000134e3591f166a R12: ffff99d4b366fe11
[1133124.358549] R13: 00007f0d8462ee10 R14: 0000000000000001 R15: 0000000000000000
[1133124.358574] FS:  00007f0d8462f700(0000) GS:ffff99d4b5600000(0000) knlGS:0000000000000000
[1133124.358603] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[1133124.358623] CR2: 0000000000000000 CR3: 00000002346ae000 CR4: 00000000007607f0
[1133124.358690] PKRU: 55555554
[1133124.358704] Call Trace:
[1133124.358737]  [<ffffffffc08325fd>] ? ioctlMod+0x12bd/0x1e70 [vmsecmod]
[1133124.358772]  [<ffffffffb20c7780>] ? wake_up_atomic_t+0x30/0x30
[1133124.358800]  [<ffffffffb2262810>] do_vfs_ioctl+0x3a0/0x5b0
[1133124.358823]  [<ffffffffb226d805>] ? fget_light+0x45/0xe0
[1133124.358842]  [<ffffffffb2262ac1>] SyS_ioctl+0xa1/0xc0
[1133124.358866]  [<ffffffffb2792ed2>] system_call_fastpath+0x25/0x2a
[1133124.358887] Code: 89 f8 48 89 e5 f6 82 e0 ab 85 b2 20 74 15 0f 1f 44 00 00 48 83 c0 01 0f b6 10 f6 82 e0 ab 85 b2 20 75 f0 5d c3 66 0f 1f 44 00 00 <80> 3f 00 55 48 89 e5 74 15 48 89 f8 0f 1f 40 00 48 83 c0 01 80 
[1133124.359058] RIP  [<ffffffffb238eec0>] strlen+0x0/0x30
[1133124.359080]  RSP <ffff99d4b366fb90>
[1133124.359093] CR2: 0000000000000000

Environment

  • Red Hat Enterprise Linux 7
  • 3rd party module: vmsecmod

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