Torres had the operation Thursday and general manager Doug Wilson says he is expected back later this season.
Torres was injured in a collision with Anaheim forward Emerson Etem last Friday.
The Sharks were counting on Torres to provide energy and physical play this year. His acquisition late last season provided a needed spark to the team before he was suspended for the final six playoff games for an illegal hit on Los Angeles forward Jarret Stoll.
The Sharks signed Torres to a three-year, $6 million contract in June.
I was going nuts and I saw [Subban], he was going crazy, and the ref had no idea where to go. [Subban] was skating to me, and I was skating to him and the ref was right in between us and I don't know, I kind of hit him pretty hard, I thought, but those were some emotions and I'm pretty sure he understands that.
— Montreal forward Alex Galchenyuk on the celebration following his OT goal against Ottawa in Game 2