Bagnaia wins Malaysian MotoGP to stand on brink of world title
Bagnaia would have clinched the title had Quartararo finished outside the podium places at Sepang, but the Ducati rider instead extended his lead to 23 points ahead of the season's final race at Spain's Valencia in two weeks.
Bagnaia took the chequered flag in 40min 14:332sec, 0.270sec ahead of fellow Ducati rider Enea Bastianini (24). Quartararo completed the podium 2.7sec adrift.
Bagnaia started 12th on the grid, but a blistering start saw him up to second on the first lap behind pole sitter Jorge Martin (24).
The dynamics of the race changed on the seventh lap when Martin crashed out, allowing the Ducati rider to charge into first with Bastianini hot on his tail.
Bastianini managed to overtake his countryman on turn four of the 10th lap, but his lead was short-lived as Bagnaia regained the ascendancy.
Quartararo was meanwhile being drawn in a battle against Marco Bezzecchi (23) for third, but held his ground to stave off the Gresini Racing rider.
At the front, Bastianini continued to pressure Bagnaia, but the Italian kept his cool to cross the finish line for his seventh win of the season.
"Today we did a really, really good job in terms of the championship. It's also my seventh win, so we can be very happy," said Bagnaia.
With a maximum 25 points available in Valencia, Quartararo must win the final grand prix of 2022 and hope Bagnaia finishes 15th or lower to have any hope of retaining this world championship.
"It's been a long time since I made the podium," said Quartararo, who crashed in the previous race at Phillip Island.
"I gave my maximum today, couldn't do any better, but I'm proud of myself because I felt this is one of my best rides of the season," added the Frenchman who was riding with a fractured finger, sustained when he fell in FP4 on Saturday.
"I'm happy at least we're bringing it to Valencia. Even if the chance is super small, we did everything to bring it to Valencia."