RHEL8: Kernel panic at __list_add_valid() due to NULL pointer with xprt_complete_bc_request()

Solution Verified - Updated -

Issue

  • Kernel panics with the following messages:
[116142.224221] sfc 0000:5e:00.1 ens2f1np1: MC command 0xb inlen 20 mode 1 completed without an interrupt after 10179 ms
[116147.481227] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
[116147.481431] PGD 0 P4D 0 
[116147.481597] Oops: 0000 [#1] SMP NOPTI
[116147.481748] CPU: 1 PID: 3954782 Comm: kworker/u34:2 Kdump: loaded Tainted: P           OE    --------- -  - 4.18.0-477.27.1.el8_8.x86_64 #1
[116147.482041] Hardware name: Dell Inc. PowerEdge R740xd/0K5N0V, BIOS 2.16.1 08/17/2022
[116147.482191] Workqueue: xprtiod xs_stream_data_receive_workfn [sunrpc]
[116147.482379] RIP: 0010:__list_add_valid+0x0/0x50
[116147.482527] Code: 4d 89 fa 48 89 44 24 40 eb c8 e8 3b a0 c0 ff 4d 89 fa 49 c7 45 00 00 00 00 00 41 c7 45 08 00 00 00 00 4c 89 74 24 40 eb a9 90 <48> 8b 42 08 49 89 d0 48 39 f0 0f 85 90 00 00 00 48 8b 10 4c 39 c2
[--]
[116147.484234] PKRU: 55555554
[116147.484381] Call Trace:
[116147.484527]  xprt_complete_bc_request+0xdc/0x130 [sunrpc]
[116147.484705]  xs_stream_data_receive+0x3c2/0x4c0 [sunrpc]
[116147.484876]  xs_stream_data_receive_workfn+0x2c/0x40 [sunrpc]
[116147.485044]  process_one_work+0x1a7/0x360
[116147.485195]  worker_thread+0x30/0x390
[116147.485341]  ? create_worker+0x1a0/0x1a0
[116147.485488]  kthread+0x134/0x150
[116147.485631]  ? set_kthread_struct+0x50/0x50
[116147.485775]  ret_from_fork+0x1f/0x40
[116147.485923] Modules linked in: rpcsec_gss_krb5 nfsv4 dns_resolver nfsv3 nfs_acl nfs lockd grace fscache falcon_lsm_serviceable(PE) falcon_nf_netcontain(PE) falcon_kal(E) falcon_lsm_pinned_15705(E) [--]
[116147.487401] CR2: 0000000000000008

Environment

  • Red Hat Enterprise Linux 8
  • NFS

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