The host Pride, who defeated the Tar Heels for the second consecutive year, improved to 5-0 this season while Carolina fell to 4-2.
Hofstra goalie Jack Concannon made 13 saves.
The Pride went on a 4-0 run late in the second half to break the seventh tie and take the lead for good.
Cornell scored the tying goal with four seconds left in regulation. The Big Red led 9-5 at the half before giving up the lead with 51 seconds left in the third quarter.
Michigan 13, No. 10 Penn 12: Brent Noseworthy and Ian King each had a hat trick and the host Wolverines (7-1) held off a rally by the Quakers (3-2) to win.
The victory was the first over a ranked opponent in school history. Kevin McGeary had a game-high five goals for Penn.
No. 20 Yale 11, Fairfield 10, 2OT: 2016 Tewaaraton Award finalist Ben Reeves scored the game-winner with 1:14 remaining in the second overtime to lift the host Bulldogs (2-3) over the Stags (2-4).
Fairfield overcame deficits of 5-0 and 8-2 to send the game into overtime.
The 7-0 start is the best in 25 years for the program, tying that of the 1992 team. Penn State has a chance to break the record at Friday's home game against Fairfield.
Mac O'Keefe and Matt Florence had three goals each for the Nittany Lions.
Syracuse was outscored 7-4 by the Red Storm (1-5) the rest of the way.
The win was the fourth straight for Army. AJ Barretto (St. Paul's) tied a career-high with 12 saves for the Black Knights.
No. 15 Boston U. at Colgate, ppd: The game between the Terriers (6-0) and Raiders (2-3) was postponed because of frigid temperatures.
The game has been rescheduled for Monday at Colgate at 2 p.m.
Princeton is off to its best start since the 2008 season, when the Tigers began the year 10-0.
No. 2 North Carolina 21, Virginia 11: The host Tar Heels (6-1, 1-0 Atlantic Coast Conference) opened the second half with an 8-0 run and overpowered the Cavaliers (2-4, 0-2).
Molly Hendrick finished with a game-high six goals for North Carolina.
No. 3 Florida 22, No. 7 Stony Brook 14: The host Gators (5-1) used a 9-0 run to build a 15-5 halftime lead that the Seawolves (5-1) couldn't overcome in the second half.
No. 13 Penn 14, Georgetown 6: Alex Condon had four goals for the host Quakers (4-1) to help beat the Hoyas (2-5).
No. 14 Virginia Tech 15, Delaware 7: Kristine Loscalzo, Emma Harden and Tristan McGinley each had a hat trick to lead the Hokies (9-2) past the host Blue Hens (3-3).
No. 17 Northwestern 18, Marquette 10: Christina Esposito had six goals to lead the host Wildcats (3-4) past the Golden Eagles (2-5).