WWE officials and Cody Rhodes have had talks over the last few days.
It's possible that WWE had merchandise planned for Stardust, perhaps through a third-party like Mattel, and are offering Cody a deal so they can legally move forward with the plans.
There has been no talk of Cody returning to work for WWE as a wrestler.
The former WWE Intercontinental Champion just left the company on May 22nd and has several high-profile indie matches booked. He's also teased that he's interested in getting into acting.