If your mower engine is "hunting" (engine RPM going up and down) the most likely problem is bad fuel or an obstruction in the low or high speed jet.
The suggestion about warranty repair might work, but the dealer probably won't cover a bad fuel or "crap in the carb" repair under warranty. The problem is that neither you or the dealer will know if it's covered by warranty until the work is mostly done.
Questions: Did you refuel your mower just prior to the problem occurring? Do you store your fuel in a clean, sealed, container away from moisture? Are you using old fuel? Are you the only person who uses the mower?
Mowers that sit over the winter with fuel in the carb and tank can build up junk that will obstruct the small opening in the jets, but during normal summer operation this is unusual if the mower is run regularly. Most of the junk that gets into the carb in the summer gets there through the fuel supply.