Are both correct?
Yes. But different meanings to my ear.
The torn pages in a book are the damaged pages as you open the book.
The spy had in his possession a few torn pages of /from a book. They contained the cipher code for the enigma machine. (Refers to the pages external to their book)