Surge protection for linear DC sources