The kernel crashes in cpuacct_charge(). A possible stack overflow caused by the 3rd party module installed and loaded.

Solution Verified - Updated -

Issue

  • The kernel crashes in cpuacct_charge().
[1726357.881152] BUG: unable to handle kernel paging request at fffffffb8b151930
[1726357.881187] IP: [<ffffffff896f78cd>] cpuacct_charge+0x2d/0x50
[1726357.881213] PGD 36c7c14067 PUD 0 
[1726357.881228] Thread overran stack, or stack corrupted
[1726357.881248] Oops: 0000 [#1] SMP 
[1726357.881263] Modules linked in: unix_diag af_packet_diag netlink_diag udp_diag tcp_diag inet_diag ib_core mpt2sas raid_class scsi_transport_sas mptctl mptbase event_collector_2_4_933667(OE) bonding ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_conntrack ebtable_nat ebtable_broute bridge stp llc iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat iptable_mangle iptable_security iptable_raw nf_conntrack ip_set ebtable_filter ebtables ip6_tables iptable_filter dell_rbu sb_edac intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel iTCO_wdt lrw gf128mul iTCO_vendor_support glue_helper mxm_wmi dcdbas ablk_helper cryptd pcspkr ipmi_ssif dm_round_robin sg mei_me mei lpc_ich ipmi_si ipmi_devintf ipmi_msghandler wmi tpm_crb
[1726357.881562]  acpi_power_meter dm_multipath binfmt_misc auth_rpcgss sunrpc ip_tables xfs sd_mod crc_t10dif crct10dif_generic mgag200 i2c_algo_bit qla2xxx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ahci bnx2x drm libahci libata nvme_fc nvme_fabrics crct10dif_pclmul megaraid_sas nvme_core crct10dif_common crc32c_intel scsi_transport_fc scsi_tgt mdio drm_panel_orientation_quirks ptp pps_core libcrc32c dm_mirror dm_region_hash dm_log dm_mod
[1726357.881735] CPU: 15 PID: 10676 Comm: DriverThread Kdump: loaded Tainted: G           OE  ------------   3.10.0-1160.62.1.el7.x86_64 #1
[1726357.881774] Hardware name: Dell Inc. PowerEdge R630/0CNCJW, BIOS 2.13.0 05/14/2021
[1726357.881800] task: ffff96279a15e300 ti: ffff96279a5fc000 task.ti: ffff96279a5fc000
[1726357.881825] RIP: 0010:[<ffffffff896f78cd>]  [<ffffffff896f78cd>] cpuacct_charge+0x2d/0x50
[1726357.881854] RSP: 0018:ffff9647bf1c3dd0  EFLAGS: 00010046
[1726357.881874] RAX: 00003c14c081bcb0 RBX: ffff96279a15e368 RCX: ffffffff801c001a
[1726357.881898] RDX: ffff9647bd633540 RSI: 00000000000f405a RDI: ffff96279a15e300
[1726357.881922] RBP: ffff9647bf1c3dd0 R08: 000000000000001c R09: 00000000000000ec
[1726357.881945] R10: 0000000000000004 R11: 0000000000000005 R12: 00000000000f405a
[1726357.881969] R13: ffff9647bb2d9c00 R14: ffff96279a15e300 R15: 0000000000000000
[1726357.881993] FS:  00007fa8ccb38700(0000) GS:ffff9647bf1c0000(0000) knlGS:0000000000000000
[1726357.882020] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[1726357.882040] CR2: fffffffb8b151930 CR3: 0000003ffbb22000 CR4: 00000000001607e0
[1726357.882063] Call Trace:
[1726357.882075]  <IRQ> 
[1726357.882088]  [<ffffffff896e497c>] update_curr+0x14c/0x1e0
[1726357.882109]  [<ffffffff896e5e55>] task_tick_fair+0x2c5/0x670
[1726357.882131]  [<ffffffff89635c19>] ? sched_clock+0x9/0x10
[1726357.882152]  [<ffffffff896de455>] ? sched_clock_cpu+0x85/0xc0
[1726357.882173]  [<ffffffff896d9344>] scheduler_tick+0xd4/0x160
[1726357.882196]  [<ffffffff89710850>] ? tick_sched_do_timer+0x50/0x50
[1726357.882219]  [<ffffffff896af325>] update_process_times+0x65/0x80
[1726357.882241]  [<ffffffff897105c0>] tick_sched_handle+0x30/0x70
[1726357.882262]  [<ffffffff89710889>] tick_sched_timer+0x39/0x80
[1726357.882283]  [<ffffffff896ca3ae>] __hrtimer_run_queues+0x10e/0x270
[1726357.882305]  [<ffffffff896ca90f>] hrtimer_interrupt+0xaf/0x1d0
[1726357.882327]  [<ffffffff8965ce2b>] local_apic_timer_interrupt+0x3b/0x60
[1726357.883163]  [<ffffffff89d9ea23>] smp_apic_timer_interrupt+0x43/0x60
[1726357.884005]  [<ffffffff89d9afba>] apic_timer_interrupt+0x16a/0x170
[1726357.884836]  <EOI> 
[1726357.884845]  [<ffffffff89d9a2a0>] ? int_very_careful+0x8/0x29
[1726357.886485] Code: 44 00 00 55 48 8b 47 08 48 89 e5 48 63 48 18 48 8b 87 40 09 00 00 48 8b 50 48 eb 0b 66 90 48 8b 50 68 48 85 d2 74 1b 48 8b 42 40 <48> 03 04 cd 60 18 35 8a 48 01 30 48 8b 02 48 8b 40 40 48 85 c0 
[1726357.888251] RIP  [<ffffffff896f78cd>] cpuacct_charge+0x2d/0x50
[1726357.889095]  RSP <ffff9647bf1c3dd0>
[1726357.889933] CR2: fffffffb8b151930

Environment

  • Red Hat Enterprise Linux 7.9.z - kernel-3.10.0-1160.62.1.el7
  • Carbon Black event collector module
crash> mod -t
NAME                        TAINTS
event_collector_2_4_933667  OE

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