Ubuntu 24.04 1.0.172 hard reboots every ~5–10 minutes

What is powering the USB-C hub? A wall outlet or another computer?

Also it’s worth trying with the latest release just to be sure: