The discovery of high-energy astrophysical neutrinos has recently prompted interest in the role of gravity in neutrino flavor conversion. In this work, we investigate the gravity-modulated CP violation (CPV) in neutrino oscillations in the Reissner--Nordstr\"om and Hayward spacetimes. Employing analytical and numerical methods, we reveal the interplay among the CPV, the properties of neutrinos, and the space-time. The shapes of the flavor-oscillation curves show that CPV signals encode both space-time geometry and mass ordering, and that the imprints of ml are intrinsically correlated with the singular versus nonsingular structure of the background metric. In particular, our finding demonstrate that the CPV observables exceed the limitation that, in asymptotically flat space-time, gravity neither damps nor amplifies neutrino-oscillation amplitudes.