I’m lazy and just Googled “P0017 code Mazda CX-5” and here’s the result from its “AI Overview”:
”The P0017 code on a Mazda CX-5 means the crankshaft and exhaust camshaft (Bank 1 Sensor B) aren't synchronized, often due to low/dirty oil, a faulty oil control valve (OCV) solenoid, a stretched...