Bastianini has done!. The factory Ducati rider wins ahead of Marquez, Bagnaia, Martin and Quartararo.
It's last lap time at Sepang. Bastianini still leads from Marquez and Bagnaia.
Bastianini begins the penultimate lap with a lead of nearly two seconds.
Quartararo is making very good progress as he gets through on Bezzecchi for fifth spot.
Takaaki Nakagami has also crashed - it's a turn nine fall for the Japanese rider.
Brad Binder is down at turn ten. Binder crashed out of ninth place.
Martin is really starting to lose ground. He's now 1.8 seconds behind Bagnaia in the battle for third.
A dreadful weekend for Aleix Espargaro comes to an early end after crashing at turn nine.
The gaps at the front are remaining steady as Bastianini continues to lead from Marquez, Bagnaia and Martin.
Miguel Oliveira has also gone down.
Joan Mir has crashed again.
Martin goes for it under braking but Bagnaia sweeps back across the Spaniard. Bastianini and Marquez have pulled clear.
Martin starts his recovery with a move on Bezzecchi for P4.
Bastianini leads after Martin and Bagnaia ran wide at turn one. Alex Marquez is second.
And it's lights out for the Malaysian MotoGP.
The formation lap is underway at Sepang.
Good morning and welcome to the Malaysian MotoGP. We're just over five minutes away from lights out.