I am having the same issue, after restart the rear camera works fine but once I flip it for selfie mode, it hangs and doesn't work. Then the camera app just goes black and no other application can access the camera too.
Some users update the firmware through FOTA, causing the update to be incorrect and cause frequent reboots. Try the following method to manually update the firmware to see if there is any improvement.