Running sosreport invokes a kernel crash upon looking up /proc/[pid_of_sosreport]/fd/[fd_num]

Solution Unverified - Updated -

Issue

  • Running sosreport invokes a kernel crash in __d_lookup() upon looking up /proc/[pid_of_sosreport]/fd/[fd_num]
[355888.652057] BUG: unable to handle kernel paging request at ffffffffffffff18
[355888.685411] PGD 11980c13067 P4D 11980c13067 PUD 11980c15067 PMD 0 
[355888.714850] Oops: 0000 [#1] SMP PTI
[355888.731621] CPU: 4 PID: 1034681 Comm: sosreport Kdump: loaded Tainted: P        W  OE    --------- -  - 4.18.0-513.24.1.el8_9.x86_64 #1
[355888.788839] Hardware name: HP ProLiant DL580 Gen9/ProLiant DL580 Gen9, BIOS U17 08/29/2024
[355888.828594] RIP: 0010:__d_lookup+0x41/0xb0
[355888.848382] Code: 01 48 8b 05 39 25 c4 01 44 89 e2 d3 ea 48 8d 04 d0 48 8b 18 49 89 fd 49 89 f6 48 83 e3 fe 75 0a eb 32 48 8b 1b 48 85 db 74 2a <44> 39 63 18 75 f2 48 8d 6b 50 48 89 ef e8 dd e5 68 00 4c 39 6b 10
[355888.937923] RSP: 0018:ffffb2ecf097fd58 EFLAGS: 00010286
[355888.963221] RAX: ffffb2ecc5782028 RBX: ffffffffffffff00 RCX: 0000000000000007
[355888.997425] RDX: 0000000000ae3c05 RSI: ffffb2ecf097fdc0 RDI: ffff8ac0af556840
[355889.031769] RBP: ffffffff97a09600 R08: dcbb465224decbbc R09: 0000000000000001
[355889.066594] R10: ffffffff96380770 R11: ffffb2ecf097fe46 R12: 00000000571e028f
[355889.100586] R13: ffff8ac0af556840 R14: ffffb2ecf097fdc0 R15: ffffb2ecf097fe3c
[355889.135188] FS:  00007f6d56ffd700(0000) GS:ffff8b3aff700000(0000) knlGS:0000000000000000
[355889.174405] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[355889.202512] CR2: ffffffffffffff18 CR3: 0000000140a36002 CR4: 00000000001706e0
[355889.237068] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[355889.271217] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[355889.305368] Call Trace:
[355889.317809]  ? __die_body+0x1a/0x60
[355889.334693]  ? no_context+0x1ba/0x3f0
[355889.352407]  ? __bad_area_nosemaphore+0x16c/0x1c0
[355889.375047]  ? do_page_fault+0x37/0x12d
[355889.393603]  ? page_fault+0x1e/0x30
[355889.410608]  ? iterate_dir+0x1a0/0x1a0
[355889.428819]  ? __d_lookup+0x41/0xb0
[355889.446194]  d_lookup+0x2f/0x50
[355889.461338]  ? tid_fd_update_inode+0x70/0x70
[355889.482234]  proc_fill_cache+0x5a/0x190
[355889.500625]  ? tid_fd_update_inode+0x70/0x70
[355889.521293]  proc_readfd_common+0x179/0x210
[355889.541542]  ? iterate_dir+0x1a0/0x1a0
[355889.560097]  iterate_dir+0x144/0x1a0
[355889.577506]  ksys_getdents64+0x9c/0x130
[355889.596001]  ? iterate_dir+0x1a0/0x1a0
[355889.613991]  __x64_sys_getdents64+0x16/0x20
[355889.634119]  do_syscall_64+0x5b/0x1b0
[355889.651537]  entry_SYSCALL_64_after_hwframe+0x61/0xc6
[355889.675914] RIP: 0033:0x7f6d78ac69bd
[355889.693840] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 9b 54 38 00 f7 d8 64 89 01 48
[355889.783523] RSP: 002b:00007f6d56ffa848 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
[355889.819797] RAX: ffffffffffffffda RBX: 00007f6d5d7e14e0 RCX: 00007f6d78ac69bd
[355889.853864] RDX: 0000000000000118 RSI: 00007f6d56ffa930 RDI: 0000000000000007
[355889.888005] RBP: 00007f6d64314b70 R08: 00007f6d79d05b70 R09: 00007f6d0000000b
[355889.922119] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6d5442f030
[355889.956417] R13: 00007f6d64314b70 R14: 0000000000000007 R15: 00007f6d5442f030
[355889.990540] Modules linked in: [...]
[355890.398743] CR2: ffffffffffffff18

Environment

  • Red Hat Enterprise Linux 8.9.z - kernel-4.18.0-513.24.1.el8_9
  • HPE ProLiant Servers

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