Hello Welcome tro HealthcareMagic. The lump you mentioned about could be a bone cyst or osteomyelitis( infection of bone). It could be a sebaceous cyst, but they are generally not hard. I would suggest you get an Xray done and consult an orthopedician. An MRI can be done if asked by the orthopedician.Take care.