So yeah, I've been having this issue for quite some time, swapping boards did not solve it however.
Ryzen 5 5600x
MSI B550M Pro-VDX Wifi
16 Gb DDR4 HyperX Predator Black 3000Mhz
Seasonic M12II-620 EVO Edition Bronze, 620W
SSD NVME 256GB
Performance wise works really well, the restarts happen even when I am not stressing the CPU, for example when I tried to load Rust.
Anyone got any advice please?