Majorana zero modes in a magnetic and superconducting hybrid vortex