that photo isn't the best but let me give it a go: looks like a good abrasion with some contusion. have you noticed any pushing behavior? has the snake escaped recently?
when you say "scales flaking off," are they actual little brown scales, or maybe some old skin? this could be a result of the injury.
either way: based on the image this looks to be a rubbing/escape injury. try to resolve how it happened and keep an eye on it. it should clear up by next shed.