Check the heat shield. It should be attached to the head pipe with a little clip where it comes close to the foot peg. If you can lift it away from the pipe with moderate pressure either the clip on the pipe, the shield, or both may have broken.
This happened to me and it was amazingly loud and annoying. And yes, it's a warranty issue. My dealer got me a new shield lickety split.
Scott