The Trojans lead for a mere 5-1/2 minutes.
On Stanford's next possession, Mobley blocked a reverse layup attempt by Oscar da Silva with 57 seconds left. After USC called a timeout, Eaddy drove, spun, and buried a 12-foot fadeaway with 29 seconds left to seal the win.
Eaddy finished with 14 points on 7-for-13 shooting despite missing all four of his 3-point attempts. The Trojans struggled from behind the arc missing 13 of 17 attempts.
Jaiden Delaire scored career-high 22 points and O'Connell added a career-best 20 points for Stanford.
With the win, USC (14-3, 8-2 Pac-12 Conference) moved within a game of first-place and No. 21-ranked UCLA (13-3, 9-1). The two square off on the Trojans home court on Saturday.
Stanford (10-7, 6-5) played in Maples Pavilion for the first time this season after playing all its previous home contests in Santa Cruz, California due to COVID-19 restrictions in Santa Clara County.
Stanford heads to Berkeley, California to face Cal on Thursday.
For more AP college basketball coverage: https://apnews.com/Collegebasketball and http://twitter.com/AP--Top25
Former College of Charleston guard Zep Jasper transfers to Auburn
Former College of Charleston guard Zep Jasper has transferred to Auburn, where he will have two years of eligibility remaining.
Florida Gators' Keyontae Johnson waiting for medical clearance, won't enter NBA draft
Florida's Keyontae Johnson, who was rushed to a hospital after collapsing Dec. 12, said he's "progressing & steadily making progress daily." He had been projected as a first-round NBA selection at the time but said Wednesday he will not enter the draft.
Sources: Danny Manning to be Maryland Terrapins assistant
Former Wake Forest coach Danny Manning is expected to join the Maryland staff as an assistant, sources told ESPN.