I'm sorry to say this is an issue everywhere. I've had a mac BSOD from unplugging a dock (doing it while the computer's suspended is/was a surefire way to trigger this particular bug), and linux is even more picky since it depends entirely on the hardware underpinning the dock.