kernel crash seen on AMD Raven device
When running mesa-ci pipeline the below kernel crash was seen and there are other kernel crashes in the complete log
https://gitlab.freedesktop.org/vigneshraman/mesa/-/jobs/45870855
2023-07-20 15:02:52.308745: [ 58.503958] BUG: kernel NULL pointer dereference, address: 0000000000000010
2023-07-20 15:02:52.308780: [ 58.510925] #PF: supervisor read access in kernel mode
2023-07-20 15:02:52.308796: [ 58.516059] #PF: error_code(0x0000) - not-present page
2023-07-20 15:02:52.308811: [ 58.521192] PGD 0 P4D 0
2023-07-20 15:02:52.308827: [ 58.523727] Oops: 0000 [#1] PREEMPT SMP NOPTI
2023-07-20 15:02:52.308842: [ 58.528085] CPU: 1 PID: 162 Comm: find Not tainted 6.3.13-gbbe75e512c76 #1
2023-07-20 15:02:52.308871: [ 58.534955] Hardware name: LENOVO Morphius/Morphius, BIOS Google_Morphius.13434.60.0 10/08/2020
2023-07-20 15:02:52.308897: [ 58.543645] RIP: 0010:rb_next+0x26/0x50
2023-07-20 15:02:52.308919: [ 58.547486] Code: 90 90 90 90 f3 0f 1e fa 48 8b 0f 48 39 cf 74 38 48 8b 57 08 48 85 d2 74 1d 48 89 d0 48 8b 52 10 48 85 d2 75 f4 e9 0a 25 02 00 <48> 3b 78 08 75 13 48 8b 08 48 89 c7 48 89 c8 48 83 e0 fc 48 83 f9
2023-07-20 15:02:52.308942: [ 58.566226] RSP: 0018:ffffa4ecc04f3e48 EFLAGS: 00010202
2023-07-20 15:02:52.308962: [ 58.571449] RAX: 0000000000000008 RBX: ffffa4ecc04f3ee0 RCX: 000000000000000a
2023-07-20 15:02:52.308987: [ 58.578578] RDX: 0000000000000000 RSI: ffff8f4ac16db080 RDI: ffff8f4ac16db318
2023-07-20 15:02:52.309020: [ 58.585708] RBP: 0000000000000000 R08: 00005645f2d3d1d8 R09: 0000000000000008
2023-07-20 15:02:52.309045: [ 58.592837] R10: ffffffff8730ade0 R11: 0000000000000000 R12: 0000000000000008
2023-07-20 15:02:52.309073: [ 58.599963] R13: ffff8f4ac16dbd00 R14: ffffffff886f80b2 R15: ffff8f4ac01051e0
2023-07-20 15:02:52.309098: [ 58.607093] FS: 00007f7e1f72a1c0(0000) GS:ffff8f4aeae80000(0000) knlGS:0000000000000000
2023-07-20 15:02:52.309122: [ 58.615174] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2023-07-20 15:02:52.309149: [ 58.620917] CR2: 0000000000000010 CR3: 0000000115c56000 CR4: 00000000003506e0
2023-07-20 15:02:52.309164: [ 58.628047] Call Trace:
2023-07-20 15:02:52.309180: [ 58.630501] <TASK>
2023-07-20 15:02:52.309270: [ 58.658768] kernfs_fop_readdir+0x14c/0x270
2023-07-20 15:02:52.309294: [ 58.662952] iterate_dir+0x176/0x1c0
2023-07-20 15:02:52.309310: [ 58.666528] __x64_sys_getdents64+0x83/0x120
2023-07-20 15:02:52.309344: [ 58.674718] do_syscall_64+0x3e/0x90
2023-07-20 15:02:52.309367: [ 58.678294] entry_SYSCALL_64_after_hwframe+0x72/0xdc
2023-07-20 15:02:52.309386: [ 58.683342] RIP: 0033:0x7f7e1f894e43
2023-07-20 15:02:52.309402: [ 58.686918] Code: df 66 0f 1f 44 00 00 48 89 ef e8 58 61 fb ff 4c 89 e0 5b 5d 41 5c c3 b8 ff ff ff 7f 48 39 c2 48 0f 47 d0 b8 d9 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 8b 15 89 1f 10 00 f7 d8
2023-07-20 15:02:52.309417: [ 58.705658] RSP: 002b:00007ffd06e81ac8 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9
2023-07-20 15:03:02.440946: [ 58.713220] RAX: ffffffffffffffda RBX: 00005645f2d3cfa0 RCX: 00007f7e1f894e43
2023-07-20 15:03:02.441058: [ 58.720353] RDX: 0000000000008000 RSI: 00005645f2d3cfa0 RDI: 0000000000000006
2023-07-20 15:03:02.441077: [ 58.727482] RBP: 00005645f2d3cf74 R08: 0000000000000008 R09: 00005645f2d34060
2023-07-20 15:03:02.441093: [ 58.734617] R10: 0000000000000100 R11: 0000000000000293 R12: fffffffffffffe98
2023-07-20 15:03:02.441109: [ 58.741750] R13: 0000000000000000 R14: 00005645f2d3cf70 R15: 0000000000000000
2023-07-20 15:03:02.441126: [ 58.748884] </TASK>
2023-07-20 15:03:02.441138: [ 58.751072] Modules linked in: amdgpu drm_ttm_helper gpu_sched
2023-07-20 15:03:02.441148: [ 58.756903] CR2: 0000000000000010
2023-07-20 15:03:02.441159: [ 58.760219] ---[ end trace 0000000000000000 ]---
2023-07-20 15:03:02.441197: [ 58.764835] RIP: 0010:rb_next+0x26/0x50
2023-07-20 15:03:02.441208: [ 58.768671] Code: 90 90 90 90 f3 0f 1e fa 48 8b 0f 48 39 cf 74 38 48 8b 57 08 48 85 d2 74 1d 48 89 d0 48 8b 52 10 48 85 d2 75 f4 e9 0a 25 02 00 <48> 3b 78 08 75 13 48 8b 08 48 89 c7 48 89 c8 48 83 e0 fc 48 83 f9
2023-07-20 15:03:02.441229: [ 58.787414] RSP: 0018:ffffa4ecc04f3e48 EFLAGS: 00010202
2023-07-20 15:03:02.441239: [ 58.792636] RAX: 0000000000000008 RBX: ffffa4ecc04f3ee0 RCX: 000000000000000a
2023-07-20 15:03:02.441254: [ 58.799771] RDX: 0000000000000000 RSI: ffff8f4ac16db080 RDI: ffff8f4ac16db318
2023-07-20 15:03:02.441264: [ 58.806904] RBP: 0000000000000000 R08: 00005645f2d3d1d8 R09: 0000000000000008
2023-07-20 15:03:02.441274: [ 58.814040] R10: ffffffff8730ade0 R11: 0000000000000000 R12: 0000000000000008
2023-07-20 15:03:02.441287: [ 58.821169] R13: ffff8f4ac16dbd00 R14: ffffffff886f80b2 R15: ffff8f4ac01051e0
2023-07-20 15:03:02.441298: [ 58.828304] FS: 00007f7e1f72a1c0(0000) GS:ffff8f4aeae80000(0000) knlGS:0000000000000000
2023-07-20 15:03:02.441312: [ 58.836386] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2023-07-20 15:03:02.441322: [ 58.842128] CR2: 0000000000000010 CR3: 0000000115c56000 CR4: 00000000003506e0
2023-07-20 15:03:02.441339: [ 58.849263] note: find[162] exited with irqs disabled
2023-07-20 15:03:02.441359: [ 58.854384] ------------[ cut here ]------------
2023-07-20 15:03:02.441375: [ 58.859005] kernfs_put: 1-1.1:1.0/modalias: released with incorrect active_ref 0
2023-07-20 15:03:02.441390: [ 58.866399] WARNING: CPU: 1 PID: 162 at fs/kernfs/dir.c:549 kernfs_put.part.0+0xfa/0x150
2023-07-20 15:03:02.441405: [ 58.874485] Modules linked in: amdgpu drm_ttm_helper gpu_sched
2023-07-20 15:03:02.441420: [ 58.880317] CPU: 1 PID: 162 Comm: find Tainted: G D 6.3.13-gbbe75e512c76 #1
2023-07-20 15:03:02.441435: [ 58.888668] Hardware name: LENOVO Morphius/Morphius, BIOS Google_Morphius.13434.60.0 10/08/2020
2023-07-20 15:03:02.441469: [ 58.897357] RIP: 0010:kernfs_put.part.0+0xfa/0x150
2023-07-20 15:03:02.441480: [ 58.902148] Code: 8b 4b 04 c6 05 f3 2c 8e 01 01 48 c7 c6 91 14 6e 88 48 8b 53 10 48 85 ed 74 04 48 8b 75 10 48 c7 c7 e0 76 75 88 e8 26 52 d6 ff <0f> 0b 0f b7 43 70 83 e0 0f 66 83 f8 04 0f 85 31 ff ff ff 48 8b 7b
2023-07-20 15:03:02.441495: [ 58.920896] RSP: 0018:ffffa4ecc04f3e58 EFLAGS: 00010286
2023-07-20 15:03:02.441510: [ 58.926118] RAX: 0000000000000000 RBX: ffff8f4ac16dbd00 RCX: 00000000ffffdfff
2023-07-20 15:03:02.441521: [ 58.933247] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
2023-07-20 15:03:02.441535: [ 58.940378] RBP: ffff8f4ac16db080 R08: 00000000ffffdfff R09: 00000000ffffdfff
2023-07-20 15:03:02.441551: [ 58.947508] R10: ffffffff88a6ada0 R11: ffffffff88a6ada0 R12: ffff8f4ac0105190
2023-07-20 15:03:02.441565: [ 58.954644] R13: ffff8f4ac0105180 R14: ffff8f4ac1e383c0 R15: ffff8f4ac173f4b0
2023-07-20 15:03:02.441586: [ 58.961774] FS: 00007f7e1f72a1c0(0000) GS:ffff8f4aeae80000(0000) knlGS:0000000000000000
2023-07-20 15:03:02.441606: [ 58.969860] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2023-07-20 15:03:02.441621: [ 58.975604] CR2: 0000000000000010 CR3: 000000006b840000 CR4: 00000000003506e0
2023-07-20 15:03:02.441636: [ 58.982735] Call Trace:
2023-07-20 15:03:02.441651: [ 58.985190] <TASK>
2023-07-20 15:03:02.441703: [ 59.022445] kernfs_dir_fop_release+0x1a/0x30
2023-07-20 15:03:02.441719: [ 59.026804] __fput+0x84/0x240
2023-07-20 15:03:02.441729: [ 59.029862] task_work_run+0x58/0x90
2023-07-20 15:03:02.441744: [ 59.033442] do_exit+0x327/0xab0
2023-07-20 15:03:02.441760: [ 59.036673] make_task_dead+0x78/0x160
2023-07-20 15:03:02.441776: [ 59.040425] rewind_stack_and_make_dead+0x17/0x20
2023-07-20 15:03:02.441791: [ 59.045131] RIP: 0033:0x7f7e1f894e43
2023-07-20 15:03:02.441806: [ 59.048714] Code: Unable to access opcode bytes at 0x7f7e1f894e19.
2023-07-20 15:03:02.441826: [ 59.054891] RSP: 002b:00007ffd06e81ac8 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9
2023-07-20 15:03:02.441842: [ 59.062455] RAX: ffffffffffffffda RBX: 00005645f2d3cfa0 RCX: 00007f7e1f894e43
2023-07-20 15:03:12.518904: [ 59.069585] RDX: 0000000000008000 RSI: 00005645f2d3cfa0 RDI: 0000000000000006
2023-07-20 15:03:12.519045: [ 59.076714] RBP: 00005645f2d3cf74 R08: 0000000000000008 R09: 00005645f2d34060
2023-07-20 15:03:12.519075: [ 59.083851] R10: 0000000000000100 R11: 0000000000000293 R12: fffffffffffffe98
2023-07-20 15:03:12.519097: [ 59.090981] R13: 0000000000000000 R14: 00005645f2d3cf70 R15: 0000000000000000
2023-07-20 15:03:12.519118: [ 59.098112] </TASK>
2023-07-20 15:03:12.519162: [ 59.100299] ---[ end trace 0000000000000000 ]---
2023-07-20 15:03:12.519190: [ 59.120523] ------------[ cut here ]------------