What risks does do the parties to a credit default swap give up and what risks do they take on?
The protection buyer gives up the risk of default by the reference entity, and takes on the risk of simultaneous default by both the protection seller and the reference credit. The protection seller takes on the default risk of the reference entity, similar to the risk of a direct loan to the reference entity.