The kernel crashed due to the GPF happened in cgroup_task_count(). kmalloc-64 slab corruption was the possible cause

Solution Unverified - Updated -

Issue

  • The kernel crashed due to the GPF happened in cgroup_task_count(). kmalloc-64 slab corruption was the possible cause.
[146101.327862] general protection fault: 0000 [#1] SMP 
[146101.327894] Modules linked in: cts rpcsec_gss_krb5 nfsv3 nfs_acl nfs lockd grace fscache tcp_diag udp_diag inet_diag onload(OE) sfc_char(OE) sfc_resource(OE) bonding 8021q garp mrp stp llc ext4 mbcache jbd2 vfat fat iTCO_wdt iTCO_vendor_support sb_edac intel_powerclamp coretemp intel_rapl iosf_mbi kvm irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd pcspkr be2iscsi iscsi_boot_sysfs libiscsi lpc_ich hpilo hpwdt i2c_i801 sg ioatdma scsi_transport_iscsi dca wmi ipmi_si ipmi_devintf ipmi_msghandler acpi_power_meter binfmt_misc auth_rpcgss sunrpc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic sfc_affinity(OE) mgag200 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm sfc(OE) drm crct10dif_pclmul crct10dif_common
[146101.328224]  crc32c_intel tg3 mdio hpsa mtd be2net ptp drm_panel_orientation_quirks pps_core scsi_transport_sas dm_mirror dm_region_hash dm_log dm_mod
[146101.328285] CPU: 30 PID: 1 Comm: systemd Kdump: loaded Tainted: G           OE  ------------   3.10.0-1160.76.1.el7.x86_64 #1
[146101.328322] Hardware name: HP ProLiant DL360 Gen9/ProLiant DL360 Gen9, BIOS P89 10/16/2020
[146101.328350] task: ffff8eedf3948000 ti: ffff8ece7365c000 task.ti: ffff8ece7365c000
[146101.328374] RIP: 0010:[<ffffffff8a92ce87>]  [<ffffffff8a92ce87>] cgroup_task_count+0x37/0x50
[146101.328408] RSP: 0018:ffff8ece7365fb88  EFLAGS: 00010283
[146101.328427] RAX: 0000000000000000 RBX: ffff8f0cf57c7000 RCX: 3366356163643539
[146101.328450] RDX: 722d746165726874 RSI: 0000000000000000 RDI: ffff8f0cf57c70c0
[146101.328474] RBP: ffff8ece7365fb90 R08: 0000000000000000 R09: 0000000000000000
[146101.328497] R10: ffff8f0a957aef00 R11: 0000000000000000 R12: ffff8f0cf57c7000
[146101.328520] R13: ffffffff8b4626a8 R14: 0000000000000000 R15: ffff8f0ba52b5210
[146101.328543] FS:  00007ff7e2898940(0000) GS:ffff8f0d3f580000(0000) knlGS:0000000000000000
[146101.328568] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[146101.328588] CR2: 00007feb49260160 CR3: 0000001ffa4a0000 CR4: 00000000003607e0
[146101.328611] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[146101.328634] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[146101.328657] Call Trace:
[146101.328671]  [<ffffffff8a92d15a>] cgroup_pidlist_open+0x6a/0x3c0
[146101.328694]  [<ffffffff8a92d4c3>] cgroup_procs_open+0x13/0x20
[146101.328716]  [<ffffffff8a929a0e>] cgroup_file_open+0xae/0xd0
[146101.328737]  [<ffffffff8aa4bce2>] do_dentry_open+0x1e2/0x2d0
[146101.329555]  [<ffffffff8ab08e62>] ? security_inode_permission+0x22/0x30
[146101.330343]  [<ffffffff8a929960>] ? cgroup_rename+0xc0/0xc0
[146101.331123]  [<ffffffff8aa4be6a>] vfs_open+0x5a/0xb0
[146101.331897]  [<ffffffff8aa5a14a>] ? may_open+0x5a/0x120
[146101.332662]  [<ffffffff8aa5e066>] do_last+0x1f6/0x1340
[146101.333423]  [<ffffffff8aa293a6>] ? kmem_cache_alloc_trace+0x1d6/0x200
[146101.334184]  [<ffffffff8aa5f27d>] path_openat+0xcd/0x5a0
[146101.334951]  [<ffffffff8a9f0177>] ? arch_tlb_finish_mmu+0x47/0x80
[146101.335715]  [<ffffffff8aa67ac9>] ? dput+0x29/0x1a0
[146101.336478]  [<ffffffff8aa614cd>] do_filp_open+0x4d/0xb0
[146101.337228]  [<ffffffff8aa6f617>] ? __alloc_fd+0x47/0x170
[146101.337975]  [<ffffffff8aa4d3a4>] do_sys_open+0x124/0x220
[146101.338716]  [<ffffffff8aa4d4be>] SyS_open+0x1e/0x20
[146101.339449]  [<ffffffff8af99f92>] system_call_fastpath+0x25/0x2a
[146101.340178] Code: fb 48 c7 c7 48 2f 46 8b e8 e7 1b 66 00 48 8b 93 c0 00 00 00 48 8d bb c0 00 00 00 31 c0 48 39 fa 74 12 66 90 48 8b 4a 28 48 8b 12 <8b> 09 01 c8 48 39 fa 75 f0 f0 48 ff 05 b0 60 b3 00 5b 5d c3 0f 
[146101.341793] RIP  [<ffffffff8a92ce87>] cgroup_task_count+0x37/0x50
[146101.342556]  RSP <ffff8ece7365fb88>

Environment

  • Red Hat Enterprise Linux 7.9.z
    • kernel-3.10.0-1160.76.1.el7
  • 3rd party modules installed and loaded
sfc_char
sfc
sfc_resource
sfc_affinity
onload

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