Server crashed with error "kernel BUG at kernel/bpf/arraymap.c:377!"

Solution Unverified - Updated -

Issue

  • Kernel panics with the following messages:
[1468279.806601] kernel BUG at kernel/bpf/arraymap.c:377!
[1468279.806674] invalid opcode: 0000 [#1] SMP 
[1468279.806743] Modules linked in: ip6table_filter ip6_tables unix_diag af_packet_diag netlink_diag udp_diag tcp_diag inet_diag nf_conntrack_netlink nf_conntrack iptable_filter falcon_lsm_serviceable(PE) falcon_nf_netcontain(E) falcon_kal(E) falcon_lsm_pinned_17804(E) rpcsec_gss_krb5 nfsv4 dns_resolver nfsv3 nfs_acl nfs lockd grace fscache xfs libcrc32c nfit libnvdimm iosf_mbi crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd joydev sg virtio_balloon pcspkr i2c_piix4 binfmt_misc auth_rpcgss sunrpc ip_tables ext4 mbcache jbd2 sr_mod cdrom sd_mod crc_t10dif crct10dif_generic ata_generic pata_acpi virtio_net net_failover virtio_scsi failover bochs_drm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ata_piix drm libata crct10dif_pclmul crct10dif_common
[1468279.807336]  crc32c_intel virtio_pci virtio_ring serio_raw virtio drm_panel_orientation_quirks floppy dm_mirror dm_region_hash dm_log dm_mod
[1468279.807416] CPU: 5 PID: 211815 Comm: kworker/5:26 Kdump: loaded Tainted: P            E  ------------ T 3.10.0-1160.136.1.el7.x86_64 #1
[1468279.807530] Hardware name: Nutanix AHV, BIOS nutanix-ahv-4.20230302.1.2662.el8 04/01/2014
[1468279.807603] Workqueue: events bpf_map_free_deferred
[1468279.807659] task: ffff93f725a40000 ti: ffff93f6f6698000 task.ti: ffff93f6f6698000
[1468279.807720] RIP: 0010:[<ffffffffb71ac324>]  [<ffffffffb71ac324>] fd_array_map_free+0x54/0x60
[1468279.807789] RSP: 0018:ffff93f6f669bdf0  EFLAGS: 00010286
[1468279.807851] RAX: 0000000000000001 RBX: ffff93f711fae800 RCX: 0000000000000040
[1468279.807909] RDX: 0000000000000001 RSI: ffff93f725a40000 RDI: ffff93f6f669bd98
[1468279.807966] RBP: ffff93f6f669bdf8 R08: ffff93f6f669bd38 R09: 0000000000000001
[1468279.808023] R10: 0000000000000005 R11: ffff93f6f3af4a00 R12: ffff93f711fae800
[1468279.808079] R13: ffff93f83bb5a540 R14: ffff93f83bb5f400 R15: 0000000000000140
[1468279.808137] FS:  0000000000000000(0000) GS:ffff93f83bb40000(0000) knlGS:0000000000000000
[1468279.808197] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[1468279.808250] CR2: 00000000019f0a00 CR3: 00000000365e8000 CR4: 0000000000360ee0
[1468279.808310] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[1468279.808368] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[1468279.808424] Call Trace:
[1468279.808471]  [<ffffffffb719bd0c>] bpf_map_free_deferred+0x3c/0x50
[1468279.810000]  [<ffffffffb70c330f>] process_one_work+0x17f/0x440
[1468279.810933]  [<ffffffffb70c4456>] worker_thread+0x126/0x3c0
[1468279.812043]  [<ffffffffb70c4330>] ? manage_workers.isra.26+0x2b0/0x2b0
[1468279.812837]  [<ffffffffb70cb641>] kthread+0xd1/0xe0
[1468279.813612]  [<ffffffffb70cb570>] ? insert_kthread_work+0x40/0x40
[1468279.814384]  [<ffffffffb77c51dd>] ret_from_fork_nospec_begin+0x7/0x21
[1468279.815396]  [<ffffffffb70cb570>] ? insert_kthread_work+0x40/0x40
[1468279.816567] Code: 1f 84 00 00 00 00 00 48 63 d0 48 83 bc d3 90 00 00 00 00 75 16 83 c0 01 39 c8 75 eb 48 89 df e8 f3 03 ff ff 5b 5d c3 cc cc cc cc <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 89 d7 48 
[1468279.818299] RIP  [<ffffffffb71ac324>] fd_array_map_free+0x54/0x60
[1468279.819192]  RSP <ffff93f6f669bdf0>

Environment

  • Red Hat Enterprise Linux 7

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