Who are you going to hold legally responsible for Linux?
Good question. I suppose when Linux becomes as widespread a vector for botnets as Windows, we'll have to address that with the developers. :-)
In the meantime, Linux is not a significant contributor to those problems, pretty much just a little background noise in the overall landscape.