One problem related to brake light on has been reported for the 2009 Mazda CX9. The most recently reported issues are listed below.
I have a problem with the brake light switch. It works for awhile and then stops working. When I press the brake pedal the brake light may or my not come on and that is while sitting still or while the car is moving. I have replaced the switch several times.