There currently is one option to travel by night train from Sargans (Switzerland) to Linz (Austria), taking between approximately 5 and 8 hours: Namely the EN 40467 operated by MÁV-Start.
MÁV-Start is Hungary's national passenger railway operator, running domestic and international trains connecting Hungary with neighboring countries.