[RHEL 7.9.z] panic in dm_request_based(0 due to memory corruption by 3rd party "mfe_fileaccess" module

Solution Unverified - Updated -

Issue

System crashes with console messages:

[532517.790225] BUG: unable to handle kernel NULL pointer dereference at 0000000000000440
[532517.792952] IP: [<ffffffffc026b62d>] dm_request_based+0xd/0x20 [dm_mod]
[532517.793793] PGD 800000068aa65067 PUD 899c92067 PMD 0 
[532517.794586] Oops: 0000 [#1] SMP 
[532517.795289] Modules linked in: tcp_diag inet_diag unix_diag seos_1410_0_1707(POE) nf_conntrack_netlink ip6table_mangle ip6table_raw iptable_raw iptable_nat nf_nat_ipv4 nf_nat iptable_mangle xt_NFLOG nfnetlink_log xt_hl xt_multiport xt_set xt_conntrack ip_set_hash_netport ip_set_hash_net ip_set nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables xt_LOG nf_conntrack_tftp nf_conntrack_ftp nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack iptable_filter vmw_vsock_vmci_transport vsock xfs libcrc32c iosf_mbi crc32_pclmul ghash_clmulni_intel ppdev vmw_balloon aesni_intel lrw gf128mul glue_helper ablk_helper cryptd joydev pcspkr sg vmw_vmci parport_pc parport auth_rpcgss sunrpc binfmt_misc fuse ip_tables ext4 mbcache jbd2 sr_mod cdrom ata_generic pata_acpi vmwgfx drm_kms_helper sd_mod crc_t10dif crct10dif_generic
[532517.799012]  syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ata_piix drm nfit libata crct10dif_pclmul crct10dif_common crc32c_intel libnvdimm serio_raw vmxnet3 vmw_pvscsi drm_panel_orientation_quirks dm_mirror dm_region_hash dm_log dm_mod [last unloaded: mfe_fileaccess_100709134]
[532517.800499] CPU: 8 PID: 92 Comm: kswapd1 Kdump: loaded Tainted: P           OE  ------------ T 3.10.0-1160.53.1.el7.x86_64 #1
[532517.801405] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 12/12/2018
[532517.802182] task: ffff93f4a5380000 ti: ffff93f4a5388000 task.ti: ffff93f4a5388000
[532517.802976] RIP: 0010:[<ffffffffc026b62d>]  [<ffffffffc026b62d>] dm_request_based+0xd/0x20 [dm_mod]
[532517.804050] RSP: 0018:ffff93f4a538b9c8  EFLAGS: 00010246
[532517.804851] RAX: 0000000000000000 RBX: ffff93efaff15000 RCX: 0000000000000000
[532517.805608] RDX: ffffffffc025c760 RSI: 0000000000000002 RDI: ffff93efaff15000
[532517.806436] RBP: ffff93f4a538b9c8 R08: ffff93f49e638dd8 R09: 0000000000000000
[532517.807199] R10: 0000000000000230 R11: ffff93f777ab5f08 R12: ffffda8decea37a0
[532517.808013] R13: ffff93f4a538bba8 R14: ffffda8decea3780 R15: 0000000000000001
[532517.808817] FS:  0000000000000000(0000) GS:ffff93fa7fc80000(0000) knlGS:0000000000000000
[532517.809673] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[532517.810446] CR2: 0000000000000440 CR3: 00000009d702e000 CR4: 00000000003607e0
[532517.811405] Call Trace:
[532517.812216]  [<ffffffffc025c790>] dm_any_congested+0x30/0x70 [dm_mod]
[532517.813327]  [<ffffffffb37d3071>] shrink_page_list+0x251/0xc30
[532517.814114]  [<ffffffffb37d4066>] shrink_inactive_list+0x1b6/0x5c0
[532517.814883]  [<ffffffffb37d4b45>] shrink_lruvec+0x375/0x730
[532517.815704]  [<ffffffffb37d4f76>] shrink_zone+0x76/0x1a0
[532517.816463]  [<ffffffffb37d6183>] balance_pgdat+0x383/0x5e0
[532517.817197]  [<ffffffffb37d6553>] kswapd+0x173/0x430
[532517.817959]  [<ffffffffb36c6f50>] ? wake_up_atomic_t+0x30/0x30
[532517.818704]  [<ffffffffb37d63e0>] ? balance_pgdat+0x5e0/0x5e0
[532517.819466]  [<ffffffffb36c5e61>] kthread+0xd1/0xe0
[532517.820626]  [<ffffffffb36c5d90>] ? insert_kthread_work+0x40/0x40
[532517.821794]  [<ffffffffb3d95ddd>] ret_from_fork_nospec_begin+0x7/0x21
[532517.822881]  [<ffffffffb36c5d90>] ? insert_kthread_work+0x40/0x40
[532517.823943] Code: 44 00 00 55 0f b6 05 73 6d 00 00 48 89 e5 5d c3 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 8b 47 70 48 89 e5 <48> 8b 80 40 04 00 00 5d 48 c1 e8 0b 83 e0 01 c3 0f 1f 00 0f 1f 
[532517.826283] RIP  [<ffffffffc026b62d>] dm_request_based+0xd/0x20 [dm_mod]
[532517.827335]  RSP <ffff93f4a538b9c8>
[532517.828420] CR2: 0000000000000440

Environment

  • Red Hat Enterprise Linux 7.9.z (kernel 3.10.0-1160.53.1.el7.x86_64)
  • 3rd party kernel tainting module "mfe fileaccess"

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