White Sox second baseman Nick Madrigal will miss the rest of the 2021 season after undergoing surgery to repair tendon tears in his right hamstring.