Ciao Asso,
I ll write my comment in english as its my stronger language.
I think your play wasnt bad at all and i think i would have dont the same thing probably 80% of the time and maybe folded 20% of time.
Probably the most problematic thing in this situation was that you were short stack at the button. As button is the place where you usually try to steal the blinds if no one has called before you. This fact lowers probably the "calling line" of the blinds as SB and BB are thinking more easily that you are just trying to steal the blinds with a semi good or mediocre hand.
So my thoughts in this hands is that you didnt do actually anything wrong but the fact that you were in a "steal position" made the SB call your all in bet ... in other words generally you get probably more easily an all in bet called while you are on the button than if you where on cut off or place before that.
And as what comes for the SB´s play I think in that position with ducks i would have made a Reraise to Get BB away from the pot and isolate you maybe 40% of time and 60% fold. As you were in button i would have put you possibly in that kind of a hand. but yet it is pretty much gambling with the ducks even you would have the right read
now translate lol