Some bikes are suffering from a faulty brake sensor, usually the rear one. If the stop light is permanently turned on, this is likely the culprit. The fix is to replace the sensor under warranty, they are just defective from the factory. This requires removing the fuel tank.
The sensor seem to be self-calibrating, as such some stop and go action sometimes recalibrate the sensor and the problem fixes itself.