I already made a thread about this before but not on Narutobase… Sasuke possesses the eyes that can cast the infinite tsukyomi but he will need the chakra in Naruto to do so.
My theory or hypothesis is that; both Sasuke and Naruto will be free from the genjutsu because they will both combine each other's powers and Sasuke will override the tsukyomi just like he and Itachi did against Kabuto… and Sasuke has had another experience of breaking tsukyomi when he broke Itachi's. So therefore, I believe Naruto and Sasuke will come out of it. NOTE: KISHI doesn't mention or show stuffs for no reason
However Madara doesn't know the flaws of infinite tsukyomi just like Obito tested in the 6th Naruto movie (Road to Ninja). There will be irregularities in the genjutsu world, depending on Madara's imagination.