https://vcahospitals.com/know-your-pet/lick-granuloma-in-dogs
Had a Lab that developed a lick granuloma from what started as a wire cut on his lower left rear leg. Worked on it for years. Kinda controlled it but it never really healed completely.
Your pic looks like the start of one to me but...