A little background: this has happened to me twice in the past week. Driving on the highway, I will press the accelerator to the floor in order to pass someone. All of a sudden, the engine will lose power, and I start to slow down, but then quickly regains some power, loses power, gains power, etc.
After this happens, the check engine light comes on, as well as a message telling me to service traction control and stabilitrack. The car seems to run fine as long as I don't depress the gas pedal to the floor. When I turn the car off, the engine light goes away, as well as the traction control and stabilitrack warnings, and don't reappear until the problem happens again.
Any ideas before I bring it to the dealer?