Kernel panic in selinux_socket_sock_rcv_skb+0x3e

Solution In Progress - Updated -

Issue

  • Kernel panic with log as follows:
IPv4: Attempt to release TCP socket in state 10 000000005911e463
BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
PGD 0 P4D 0
Oops: 0000 [#1] SMP PTI
CPU: 0 PID: 9 Comm: ksoftirqd/0 Kdump: loaded Tainted: G        W        --------- -  - 4.18.0-147.32.1.el8_1.x86_64 #1
Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 090008  12/07/2018
RIP: 0010:selinux_socket_sock_rcv_skb+0x3e/0x210
RSP: 0018:ffffba3dc18e79b0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000007
RDX: 0000000000000028 RSI: ffff9ddcca39ae00 RDI: ffffba3dc18e79e8
RBP: ffffba3dc18e79e8 R08: 0000000000000000 R09: 000000001108b90a
R10: 0000000000000000 R11: 0000000000000002 R12: ffff9dde3de5b900
R13: 0000000000000028 R14: ffff9ddcb5d58262 R15: ffff9ddcb5d5824e
FS:  0000000000000000(0000) GS:ffff9dde6fa00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000010 CR3: 00000001c5e0a001 CR4: 00000000003606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ? fib_validate_source+0x9b/0xf0
 ? ip_route_input_slow+0x9cf/0xb10
 security_sock_rcv_skb+0x2a/0x40
 sk_filter_trim_cap+0x47/0x1d0
 tcp_v4_rcv+0xa2e/0xc00
 ip_local_deliver_finish+0x69/0x210
 ip_local_deliver+0x6b/0xe0
 ? ip_rcv_finish+0x410/0x410
 ip_rcv+0x273/0x362
 ? inet_add_protocol.cold.1+0x1e/0x1e
 __netif_receive_skb_core+0xada/0xbd0
 ? inet_gro_receive+0x22a/0x2d0
 netif_receive_skb_internal+0x42/0xf0
 napi_gro_receive+0xba/0xe0
 netvsc_recv_callback+0x182/0x220 [hv_netvsc]
 rndis_filter_receive+0x2ec/0x5c0 [hv_netvsc]
 netvsc_poll+0x375/0x830 [hv_netvsc]
 ? __next_timer_interrupt+0x97/0xc0
 net_rx_action+0x149/0x3b0
 __do_softirq+0xe3/0x30a
 ? sort_range+0x20/0x20
 run_ksoftirqd+0x26/0x40
 smpboot_thread_fn+0xc5/0x160
 kthread+0x112/0x130
 ? kthread_flush_work_fn+0x10/0x10
 ret_from_fork+0x35/0x40

Environment

  • Red Hat Enterprise Linux 8.1 (kernel-4.18.0-147.32.1.el8_1.x86_64)
  • Microsoft Hyper-V or Azure VM
  • SELinux enabled

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