The shadow line trim on the E39 was known for this, first time I see it on an E92.
It is not rust, but as the previous poster said, aluminium reaction. Not a given it is covered under warranty, as some dealers will clss this under trim, and therefore exclude it.