[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] nyanpasu64:
Currently on kernel stable#2.66 installed on top of magisk IIRC (magisk is slightly outdated, at cacf8736), with Android 12 with June 5, 2022 security update.

I'm repeatedly getting system crashes or reboots. After my most recent reboot, at the end of /sys/fs/pstore/console-ramoops, I found:

[19905.531735] c6 1082 healthd: battery l=55 v=3961 t=31.3 h=2 st=2 c=455017 fc=2721000 cc=380 chg=u
[19905.540485] c6 1082 healthd: battery l=55 v=3961 t=31.4 h=2 st=2 c=455017 fc=2721000 cc=380 chg=u
[19918.039060] c6 1082 healthd: battery l=55 v=3956 t=31.4 h=2 st=2 c=480957 fc=2721000 cc=380 chg=u
[19918.044664] c6 1082 healthd: battery l=55 v=3956 t=31.4 h=2 st=2 c=480957 fc=2721000 cc=380 chg=u
[19930.557073] c6 1082 healthd: battery l=55 v=3943 t=31.4 h=2 st=2 c=245666 fc=2721000 cc=380 chg=u
[19930.563554] c6 1082 healthd: battery l=55 v=3943 t=31.4 h=2 st=2 c=245666 fc=2721000 cc=380 chg=u
[19943.083478] c6 1082 healthd: battery l=55 v=3964 t=31.4 h=2 st=2 c=520630 fc=2721000 cc=380 chg=u
[19943.091379] c6 1082 healthd: battery l=55 v=3964 t=31.5 h=2 st=2 c=520630 fc=2721000 cc=380 chg=u
[19943.222380] c6 1082 healthd: battery l=55 v=3969 t=31.5 h=2 st=2 c=498047 fc=2721000 cc=380 chg=u
[19950.387224] c0 25149 binder: 25149:25149 ioctl 40046210 ffd44d90 returned -22
[19951.049780] c7 1842 Unable to handle kernel paging request at virtual address ffffff87b89cf200
[19951.049788] c7 1842 Mem abort info:
[19951.049791] c7 1842 Exception class = DABT (current EL), IL = 32 bits
[19951.049794] c7 1842 SET = 0, FnV = 0
[19951.049796] c7 1842 EA = 0, S1PTW = 0
[19951.049798] c7 1842 FSC = 7
[19951.049800] c7 1842 Data abort info:
[19951.049802] c7 1842 ISV = 0, ISS = 0x00000007
[19951.049804] c7 1842 CM = 0, WnR = 0
[19951.049808] c7 1842 swapper pgtable: 4k pages, 39-bit VAs, pgd = 0000000012842ec8
[19951.049811] c7 1842 [ffffff87b89cf200] *pgd=00000001fcbfe003, *pud=00000001fcbfe003, *pmd=00000001fcbfb003, *pte=0000000000000000
[19951.049818] c7 1842 Internal error: Oops: 96000007 [#1] PREEMPT SMP
[19951.049822] c7 1842 Modules linked in:
[19951.049825] c7 1842 Process Binder:1773_1 (pid: 1842, stack limit = 0x00000000a6434bfc)
[19951.049830] c7 1842 CPU: 7 PID: 1842 Comm: Binder:1773_1 Tainted: G S 4.14.265-fsociety tribute stable#2.66 #1
[19951.049832] c7 1842 Hardware name: Qualcomm Technologies, Inc. SDMMAGPIE PM6150 Google Inc. MSM sm7150 Sunfish MP1.0 (DT)
[19951.049835] c7 1842 task: 00000000d22db178 task.stack: 00000000a6434bfc
[19951.049846] c7 1842 pc : _raw_spin_lock_irqsave+0x1c/0x50
[19951.049853] c7 1842 lr : try_to_wake_up+0x2e8/0x560
[19951.049855] c7 1842 sp : ffffff8018f4bc80 pstate : 204001c5
[19951.049858] c7 1842 x29: ffffff8018f4bca0 x28: ffffffedd1641a00
[19951.049861] c7 1842 x27: ffffff87b8121000 x26: 0000000000000081
[19951.049864] c7 1842 x25: ffffffedd1641a00 x24: 0000000000000001
[19951.049867] c7 1842 x23: 0000000000000101 x22: ffffff87b89cf200
[19951.049869] c7 1842 x21: ffffff87b89fe6d0 x20: 0000000000000808
[19951.049872] c7 1842 x19: 0000000000000001 x18: 000000793bcbc000
[19951.049875] c7 1842 x17: 0000000000000001 x16: 0000000000000001
[19951.049878] c7 1842 x15: ffffffedd6ebe918 x14: 0000000000000001
[19951.049880] c7 1842 x13: 000000000000c0f6 x12: 0000000000000000
[19951.049883] c7 1842 x11: 0000000000010000 x10: 0000000000000002
[19951.049886] c7 1842 x9 : ffffffedd1641a00 x8 : 00000000000001c0
[19951.049889] c7 1842 x7 : 65656e20746f6e20 x6 : 0000000000000008
[19951.049891] c7 1842 x5 : 0000000000000000 x4 : 0000000000000000
[19951.049894] c7 1842 x3 : ffffff8018f4bc28 x2 : ffffffed5fefb500
[19951.049897] c7 1842 x1 : 00000000000001c0 x0 : ffffff87b89cf200
[19951.049902] c7 1842
[19951.049902] c7 1842 PC: _raw_spin_lock+0x2c/0x50:
[19951.049904] c7 1842 790c d50320bf d503205f 485ffc0a 4a484149 35ffffa9 d65f03c0 d503201f d503201f
[19951.049911] c7 1842 792c d503201f d53b4228 d50342df d5384109 b940492a 1100054a b900492a 52a0002b
[19951.049916] c7 1842 794c b8ab0009 d503201f d503201f d503201f 4ac9412a 340000ca d50320bf d503205f
[19951.049922] c7 1842 796c 485ffc0b 4a49416a 35ffffaa aa0803e0 d65f03c0 d50342df d5384108 b9404909
[19951.049928] c7 1842
[19951.049928] c7 1842 LR: try_to_wake_up+0x2a8/0x560:
[19951.049931] c7 1842 d028 f9400328 37080408 9000f888 397f1108 7100011f 1a9f17e8 2a080288 370001a8
[19951.049936] c7 1842 d048 937d7ef4 b000f895 911b42b5 d000f716 910802d6 f8746aa8 8b160100 9458aa33
[19951.049942] c7 1842 d068 f8746aa8 aa0003e1 8b160100 9458aa7f f000e868 f9430d08 f85f83a9 eb09011f
[19951.049947] c7 1842 d088 540001e1 2a1303e0 a9464ff4 a94557f6 a9445ff8 a94367fa a9427bfd 9101c3ff
[19951.049953] c7 1842
[19951.049953] c7 1842 SP: 0xffffff8018f4bc40:
[19951.049956] c7 1842 bc40 b811794c ffffff87 204001c5 00000000 00000001 00000000 00000101 00000000
[19951.049962] c7 1842 bc60 ffffffff 0000007f d6eb941c ffffffed 18f4bca0 ffffff80 b811794c ffffff87
[19951.049967] c7 1842 bc80 b89fdf38 ffffff87 b812abc8 ffffff87 ffffffff 00000001 ace04200 aecfa61f
[19951.049973] c7 1842 bca0 18f4bcf0 ffffff80 b6aeefc4 ffffff87 00000081 00000000 00000008 00000000
[19951.049978] c7 1842
[19951.049980] c7 1842 Call trace:
[19951.049983] c7 1842 _raw_spin_lock_irqsave+0x1c/0x50
[19951.049987] c7 1842 wake_up_state+0x14/0x20
[19951.049991] c7 1842 complete_signal+0x258/0x290
[19951.049994] c7 1842 __send_signal+0x268/0x340
[19951.049996] c7 1842 group_send_sig_info+0xf0/0x1b0
[19951.049999] c7 1842 SyS_kill+0xa8/0x280
[19951.050003] c7 1842 __sys_trace_return+0x0/0x4
[19951.050007] c7 1842 Code: b940492a 1100054a b900492a 52a0002b (b8ab0009)
[19951.050010] c7 1842 ---[ end trace 248c3e060553355f ]---
[19951.073234] c7 1842 Kernel panic - not syncing: Fatal exception
[19951.073240] c7 1842 SMP: stopping secondary CPUs
[19951.073249] c6 22431 CPU6: stopping
[19951.073258] c6 22431 CPU: 6 PID: 22431 Comm: kworker/u16:1 Tainted: G S D 4.14.265-fsociety tribute stable#2.66 #1
[19951.073262] c6 22431 Hardware name: Qualcomm Technologies, Inc. SDMMAGPIE PM6150 Google Inc. MSM sm7150 Sunfish MP1.0 (DT)
[19951.073276] c6 22431 Workqueue: devfreq_wq devfreq_monitor
[19951.073280] c6 22431 task: 000000007dc759d6 task.stack: 00000000113380c7
[19951.073289] c6 22431 pc : smp_call_function_single+0xd8/0x1c0
[19951.073292] c6 22431 lr : smp_call_function_single+0xac/0x1c0
[19951.073295] c6 22431 sp : ffffff801bb03ae0 pstate : 60c00145
[19951.073298] c6 22431 x29: ffffff801bb03b20 x28: ffffffee2a1efc80
[19951.073301] c6 22431 x27: 0000000000000001 x26: ffffffee2a269d80
[19951.073304] c6 22431 x25: 0000000000000064 x24: 0000000000000001
[19951.073307] c6 22431 x23: ffffffecedff4100 x22: 0000000000000000
[19951.073310] c6 22431 x21: ffffff801bb03bf0 x20: ffffffecedff4100
[19951.073313] c6 22431 x19: 0000000000000000 x18: 0000007b84e10000
[19951.073316] c6 22431 x17: 0000000000000006 x16: ffffff87b89cc650
[19951.073319] c6 22431 x15: 0000000000000000 x14: ffffff87b89fe6d0
[19951.073321] c6 22431 x13: ffffff87b89cc130 x12: 0000000000000000
[19951.073324] c6 22431 x11: ffffff87b89fdf38 x10: 0000000000000000
[19951.073328] c6 22431 x9 : 0000000000000003 x8 : ffffff801bb03af8
[19951.073331] c6 22431 x7 : 0000000000000000 x6 : ffffffbebffce008
[19951.073334] c6 22431 x5 : ffffffee3c8c3138 x4 : 0000000000000001
[19951.073337] c6 22431 x3 : ffffff801bb03b48 x2 : 0000000000000008
[19951.073340] c6 22431 x1 : 0000000000000008 x0 : 0000000000000000
[19951.073344] c6 22431
[19951.073344] c6 22431 PC: smp_call_function_single+0x98/0x1c0:
[19951.073347] c6 22431 3748 34000323 910003e1 aa0803e3 910003f3 94000046 b27d0668 88dffd09 2a0003f3
[19951.073354] c6 22431 3768 36000149 2a0903e9 d50320bf d503205f 885f7d0a 4a09014a 3500004a d503205f
[19951.073360] c6 22431 3788 88dffd09 3707ff09 b9404a88 71000508 b9004a88 54000441 1400001f d4210000
[19951.073367] c6 22431 37a8 35fffd23 b000f36a d538d089 911a014a 8b0a0121 91006029 88dffd29 36000169
[19951.073374] c6 22431
[19951.073374] c6 22431 LR: smp_call_function_single+0x6c/0x1c0:
[19951.073377] c6 22431 371c 7100013f 1a89b14a 13067d4a f86ad96a 9ac92549 360000c9 d53b4229 36380089
[19951.073383] c6 22431 373c f0010b69 b940a129 34000309 34000323 910003e1 aa0803e3 910003f3 94000046
[19951.073390] c6 22431 375c b27d0668 88dffd09 2a0003f3 36000149 2a0903e9 d50320bf d503205f 885f7d0a
[19951.073396] c6 22431 377c 4a09014a 3500004a d503205f 88dffd09 3707ff09 b9404a88 71000508 b9004a88
[19951.073404] c6 22431
[19951.073404] c6 22431 SP: 0xffffff801bb03aa0:
[19951.073406] c6 22431 3aa0 b6b63788 ffffff87 60c00145 00000000 1bb03ac0 ffffff80 b6b63934 ffffff87
[19951.073413] c6 22431 3ac0 ffffffff ffffffff b6b6375c ffffff87 1bb03b20 ffffff80 b6b63788 ffffff87
[19951.073419] c6 22431 3ae0 00000000 00000000 b6be3e00 ffffff87 1bb03b48 ffffff80 00000003 00000000
[19951.073425] c6 22431 3b00 00000001 00000000 000006c9 00000000 1c5a2700 ffffffed ace04200 aecfa61f
[19951.073431] c6 22431
[19951.073434] c6 22431 CPU: 6 PID: 22431 Comm: kworker/u16:1 Tainted: G S D 4.14.265-fsociety tribute stable#2.66 #1
[19951.073437] c6 22431 Hardware name: Qualcomm Technologies, Inc. SDMMAGPIE PM6150 Google Inc. MSM sm7150 Sunfish MP1.0 (DT)
[19951.073440] c6 22431 Workqueue: devfreq_wq devfreq_monitor
[19951.073443] c6 22431 Call trace:
[19951.073448] c6 22431 dump_backtrace+0x0/0x230
[19951.073451] c6 22431 show_stack+0x14/0x20
[19951.073456] c6 22431 dump_stack+0xb8/0x100
[19951.073460] c6 22431 handle_IPI+0x144/0x330
[19951.073463] c6 22431 gic_handle_irq+0x148/0x184
[19951.073465] c6 22431 el1_irq+0xb0/0x124
[19951.073468] c6 22431 smp_call_function_single+0xd8/0x1c0
[19951.073472] c6 22431 perf_event_read+0x360/0x390
[19951.073475] c6 22431 perf_event_read_value+0x40/0x110
[19951.073479] c6 22431 get_cnt+0x170/0x240
[19951.073483] c6 22431 devfreq_memlat_get_freq+0x3c/0x360
[19951.073486] c6 22431 update_devfreq+0x74/0x2b0
[19951.073489] c6 22431 devfreq_monitor+0x28/0x80
[19951.073493] c6 22431 process_one_work+0x17c/0x530
[19951.073496] c6 22431 worker_thread+0x250/0x5d0
[19951.073498] c6 22431 kthread+0x170/0x180
[19951.073501] c6 22431 ret_from_fork+0x10/0x20
[19952.100561] c7 1842 SMP: failed to stop secondary CPUs 0-7
[19952.700658] c7 1842 set_restart_msg: set restart msg = `KP: Binder:1773_1 PC:_raw_spin_lock_irqsave+0x1c/0x50 LR:try_to_wake_up+0x2e8/0x560'
[19952.700665] c7 1842 ipa ipa3_active_clients_panic_notifier:293
[19952.700665] c7 1842 ---- Active Clients Table ----
[19952.700665] c7 1842
[19952.700665] c7 1842 Total active clients count: 0
[19952.700665] c7 1842
[19952.700671] c7 1842 Kernel Offset: 0x7aea00000 from 0xffffff8008000000
[19952.700675] c7 1842 CPU features: 0x03002238
[19952.700677] c7 1842 Memory Limit: none
[19952.722965] c7 1842 Rebooting in 5 seconds..
[19957.723425] c7 1842 SMP: stopping secondary CPUs
[19958.750744] c7 1842 SMP: failed to stop secondary CPUs 0-7
[19958.750746] c7 1842 Going down for restart now
[19958.751523] c7 1842 Causing a watchdog bite!

Is this caused by magisk, hardware water damage, or a bad kernel? I've never had reboots on stock kernel with Magisk.