This is an obscure movie starring Ed Harris, William Fichtner and David Duchovny. It was released in 2013 and never did well at the box office. I found while I was browsing on Netflix. Ed Harris plays an over the hill Russian submarine captain who is given one last command. His boat is carrying a secret device and a couple of KGB men to operate it. It turns out that the device is a cloaking device that can make his submarine sound like any other vessel on the water and the KGB men have plans that are outside of the captains orders.
The movie was filmed in a real submarine so you get a true feel for the cramped nature of the boat. It must have made filming a real pain in the butt. To their credit, the actors do not try to put on fake Russian accents and the dialog is in US military vernacular which makes things understandable and more realistic.
If you like submarine adventures, it's worth a quick hunt to find this.