A leading NASCAR official has explained what it will take for Daniel Dye to end his suspension and return to racing.

Dye was given an indefinite suspension by NASCAR and his Kaulig Racing team this week after mocking IndyCar driver David Malukas' voice as 'gay' on a recent livestream and doing an impression of it.

The 22-year-old must undergo sensitivity training before being allowed back in his Ram truck.

NASCAR Cup Series managing director Brad Moran appeared on SiriusXM NASCAR Radio this week and talked about the former Xfinity Series driver's suspension.

NASCAR TODAY: Suspended star replacement confirmed as silence finally broken over Vegas beef

NASCAR chief: No time limit on Dye suspension

Moran noted that there is no set timetable for Dye's return to racing, saying: "Programs are put together with the different companies we work with. They are all one-on-one and customized depending on the situation. There's no time limit on how long they will take."

He added: "Once he gets through the program, and the folks that hold and manage the program are comfortable that there were some good lessons taught, and he understands the severity of what these things can do to folks, he gets put back in for reinstatement."

Dye's team boss Chris Rice also appeared on the radio this week, saying of the situation: "First and foremost, Randy, Daniel, those guys are family to us. You know, very unfortunate situation that arose this week that we got aware of, and there are protocols and different things that has to happen in NASCAR.

“We're in a sport today that we have a lot of people that watch us, and we have a lot of partners that are involved. When that happens, it's a lot of people you have to talk to and figure out what we need to move forward.”

"So, you know, the one thing about this is that we always learn from our mistakes, including me. I've made many, many mistakes over my life, and I'm probably not done making mistakes. And we're just stronger when we get to the other side of it.

"That is the main thing that we have to look at, and with this, you know, you look at the NASCAR community and everybody else, there's a lot of eyes and ears on us now. Lot of TV cameras, lot of cameras all around us, and we have to really pay attention to what's going on."

READ MORE: NASCAR star Alex Bowman's Hendrick Motorsports replacement confirmed