This is very dangerous. The defender should be ejected from the game and suspended for several games
I had this exact same thing happen to me on a meaningless pickup game in college. I stole the ball and went up for a slam dunk when my legs were cut out from under me. I landed on my side...