United Kingdom, June 8 -- Hannah Waddingham and Tom Cruise hit it off because they are "similar-minded geeks".

The 50-year-old actress appears in Mission: Impossible - The Final Reckoning, the eighth and final film in the franchise, and she got on well with her co-star because they both behave like "ridiculous 12 year olds".

She told The Sunday Times magazine: "We're like ridiculous 12 year olds. Me, him and [the film's director] Chris McQuarrie are very similar-minded geeks. On the aircraft carrier, I was spending hours a day filming F-18s landing and taking off."

Hannah plays a naval admiral and she and Tom, who reprises his role as Ethan Hunt, filmed on the George HW Bush aircraft carrier off the coast of Italy, sleeping alongside 4...