The Hawks won their second straight, taking advantage of eight Houston turnovers in the fourth quarter.
Houston's final turnover came with 19 seconds to play when Aaron Brooks threw the ball away and the Rockets trailing by one.
That led to two free throws from Korver, leaving Houston needing a 3-pointer to tie it.
Lin tossed up what he thought was a 3-point attempt as the clock ticked under 10 seconds and it went through the net. But after a video review, the officials determined Lin had a foot on the 3-point arc and it counted only for two points.
Korver was again fouled and he made two more free throws to account for the final score. Houston did not have another time out and could not get off a shot following Korver's free throws.