If you have the EOS-M with the 18-55 lens take a look at the lens EXIF information in a JPG shot. Do you see the following?
Lens ID: 4,143
Lens Info: 18, 55, 0, 0
Lens Model: Canon EF-M 22mm f/2 STM
What the hell? The Lens Info seems to tell the focal range, but did they program these with the wrong Lens Model information!?