Conditions for Setting the DTC: P0572
WARNING: This page is about a different car, the 2008 Buick LaCrosse and 2008 Buick Allure. However, it is still accessible from the selected car via links, so may be relevant.
The ECM/PCM detects a short to ground or an open/high resistance on the stop lamp switch signal circuit while the brakes are applied