apt install intel-microcodeand reboot. After 4 weeks of running the system 23/7 I had no further crashes.
Without that intel-microcode package /sys/devices/system/cpu/cpu*/microcode/version is 0x26 (38 decimal). And with intel-microcode-3.20230512.1 the version is 0x3e (decimal 62).I'm not sure why intel-microcode was not installed by default. All my other Debian computers have that package installed automatically. I had some very rare crashes with Debian-11. So Debian-12 maybe just worsened the issue and it already existed before updating to Debian-12.
In theory a BIOS update might also do the job. I run BIOS 1.40 and there is a 1.60 version from 2021. But 1.60 does not list a microcode update.
https://www.asrock.com/mb/Intel/J4105-ITX/#BIOS (haven't updated to BIOS 1.60 yet) Kind regards, kolAflash
OpenPGP_0xEA831012D83C3408.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature