Josh Brolin and Miles Teller are set to star in the firefighter action movie “No Exit,” sources tell Variety.

“Tron: Legacy” helmer Joseph Kosinski is directing the pic, which tells the true story of the Granite Mountain Hotshots, a group of firefighters that faced one of the deadliest wildfires in history in order to save an Arizona town, resulting in the tragic death of 19 crew members.

Ken Nolan developed the story on spec with the producers.

Lorenzo Di Bonaventura, Erik Howsam, Jeremy Steckler, Dawn Ostroff, Mike Menchel, Black Label Media’s Molly Smith, Trent Luckinbill and Thad Luckinbill are producing the film. Black Label is financing.

No production start date has been set for the film.

In the past year, Brolin has appeared in “Everest,” “Sicario” (which was also a Black Label media production) and, most recently, the Coen brothers’ black comedy “Hail, Caesar!” He’s also just finished shooting “The Legacy of a Whitetail Deer Hunter” opposite Danny McBride and is set to reteam with his “Hail Caesar!” co-star George Clooney on Clooney’s next directorial effort “Suburbicon.”

Teller has “The Divergent Series: Allegiant” bowing next month, and the Todd Phillips movie “War Dogs” premiering on Aug. 19. He is currently filming the PTSD drama “Thank You For Your Service” at DreamWorks.

CAA, which also reps the film, also reps both actors. Teller is also repped by Stone, Genow, Smelkinson, Binder & Christopher.