Kernel panic in the mlx5e_page_release() due to NULL pointer dereference
Issue
- Kernel panics with the following messages:
[ 2010.706092] BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
[ 2010.711201] IP: [<ffffffffc0b922ed>] mlx5e_page_release+0x3d/0x170 [mlx5_core]
[ 2010.712862] PGD 80000000596f8067 PUD 5a2ca067 PMD 0
[ 2010.714183] Oops: 0000 [#1] SMP
[ 2010.715252] Modules linked in: bonding nf_tables ipip tunnel4 geneve ip6_udp_tunnel udp_tunnel ip6_gre ip6_tunnel tunnel6 ip_gre ip_tunnel gre mlx5_ib mlx5_core [--] [last unloaded: mst_pci]
[ 2010.738953] CPU: 6 PID: 26224 Comm: python3 Kdump: loaded Tainted: G OE ------------ T 3.10.0-1145.el7.x86_64 #1
[ 2010.741018] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.1-0-ga5cab58e9a3f-prebuilt.qemu.org 04/01/2014
[ 2010.743092] task: ffff897235aed230 ti: ffff897554cf8000 task.ti: ffff897554cf8000
[ 2010.744733] RIP: 0010:[<ffffffffc0b922ed>] [<ffffffffc0b922ed>] mlx5e_page_release+0x3d/0x170 [mlx5_core]
[ 2010.746650] RSP: 0018:ffff897554cfb9d0 EFLAGS: 00010202
[ 2010.748090] RAX: ffff89762695ed00 RBX: ffff897523b68000 RCX: 00000000000000c1
[ 2010.749699] RDX: 0000000000000000 RSI: 00000000000000c0 RDI: ffff897523b68000
[ 2010.751295] RBP: ffff897554cfb9e0 R08: 0000000000000000 R09: 0000000000007f1d
[ 2010.752916] R10: 0000000000007f1f R11: 0000000000007f1f R12: ffff8975ec82a9e0
[ 2010.754505] R13: ffff8975ec82ade8 R14: ffff8975ec82a9e0 R15: ffff897523b68000
[ 2010.756108] FS: 00007ff3167fc700(0000) GS:ffff89762f300000(0000) knlGS:0000000000000000
[ 2010.757835] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2010.759265] CR2: 0000000000000010 CR3: 000000045c53e000 CR4: 0000000000760fe0
[ 2010.760868] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 2010.763145] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 2010.766197] PKRU: 55555554
[ 2010.768159] Call Trace:
[ 2010.769694] [<ffffffffc0b92476>] mlx5e_free_rx_mpwqe+0x56/0x80 [mlx5_core]
[ 2010.771980] [<ffffffffc0b9447b>] mlx5e_handle_rx_cqe_mpwrq+0x7eb/0x8c0 [mlx5_core]
[ 2010.774371] [<ffffffffc0b94bdc>] mlx5e_poll_rx_cq+0x68c/0xa10 [mlx5_core]
[ 2010.776642] [<ffffffffc0b9542e>] mlx5e_napi_poll+0xbe/0xd10 [mlx5_core]
[ 2010.778964] [<ffffffff91452e2b>] sk_busy_loop+0x16b/0x2f0
[ 2010.780764] [<ffffffffc0b95370>] ? mlx5e_tx_dim_work+0x50/0x50 [mlx5_core]
[ 2010.782312] [<ffffffff914ae9a4>] tcp_recvmsg+0x7c4/0xb30
[ 2010.783677] [<ffffffff914dd710>] inet_recvmsg+0x80/0xb0
[ 2010.785019] [<ffffffff914344f5>] sock_recvmsg+0xc5/0x100
[ 2010.786347] [<ffffffff90fbde1b>] ? unlock_page+0x2b/0x30
[ 2010.787693] [<ffffffff90ff1356>] ? do_wp_page+0x1a6/0x720
[ 2010.789025] [<ffffffff90eda9eb>] ? wake_up_q+0x5b/0x80
[ 2010.790311] [<ffffffff91434668>] SYSC_recvfrom+0xe8/0x160
[ 2010.791629] [<ffffffff9158e678>] ? __do_page_fault+0x238/0x500
[ 2010.792994] [<ffffffff9158ea26>] ? trace_do_page_fault+0x56/0x150
[ 2010.794378] [<ffffffff9143661e>] SyS_recvfrom+0xe/0x10
[ 2010.795632] [<ffffffff91593f92>] system_call_fastpath+0x25/0x2a
[ 2010.796982] Code: 89 fb 0f 84 f3 00 00 00 8b b7 04 03 00 00 48 8b 87 e8 00 00 00 8d 4e 01 0f b6 c9 3b 8f 00 03 00 00 0f 84 c7 00 00 00 49 8b 14 24 <48> 83 7a 10 ff 74 12 48 8b 12 65 8b 3d 2a 58 48 3f 48 c1 ea 36
[ 2010.801716] RIP [<ffffffffc0b922ed>] mlx5e_page_release+0x3d/0x170 [mlx5_core]
[ 2010.803259] RSP <ffff897554cfb9d0>
[ 2010.804323] CR2: 0000000000000010
Environment
- Red Hat Enterprise Linux 7
mlx5_core
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.