Warren Buffett, chairman and chief executive officer of Berkshire Hathaway Inc. Daniel Acker | Bloomberg | Getty Images

Warren Buffett's Berkshire Hathaway will receive Goldman Sachs stock worth nearly $2.15 billion on Tuesday through warrants acquired as part of a deal originally signed during the depths of the 2008 financial crisis. Buffett received the warrants five years ago when his investment in Goldman was seen as a vote of confidence in the bank, which was reeling from turmoil in the credit market.

Under that deal, Berkshire had the right to buy about 43.5 million Goldman shares—or a roughly 9 percent stake then—at an exercise price of $115 per share, for $5 billion in total.

(Read more: Goldman Sachs is throwing its own employees out of private bank) Goldman announced an amended deal in March that would give Berkshire a much smaller stake but would not require it to commit any capital to exercise the warrants.