Kernel panic on boot after upgrading to 25.10.4 - Ryzen 7 5800X / X570S AORUS MASTER

Have you disabled the automatic overclocking in the BIOS? TrueNAS is known to be unhappy with any overclocking.

Also, your BIOS is very old. Current for that board is F9a.

Finally, you should implement these BIOS settings known for increasing stability for Ryzen processors.

https://forums.truenas.com/t/nas-random-hangs/38470/3