Common causes for a P0300 code are: faulty spark plugs or wires, faulty coil pack, faulty oxygen sensor(s), faulty fuel injector(s), burned exhaust valve, faulty catalytic converter(s), stuck/blocked EGR valve / passages, faulty camshaft position sensor and/or a defective computer.
I hope this information is helpful. I encourage you to have the vehicle inspected by a certified technician for additional assistance.
Louis (temporarily in for Vanessa)
GM Customer Service