Samsung Gear 360 is a dual-spherical 180+180 fishey lens setup for full vertical+horizontal 360* panarama or virtual reality photography.
On windows, one can use Cyberlink power director to import & dewarp the photos.
What is the workflow on linux/ubuntu?
EDIT: the generalized fisheye solutions do not work, so this is not a duplicate, because 360 fisheyes aren't mere lens distortions but require a complex equirectangular stitch that is not a simple process.