Make sure the RCA cable is shielded. If it looks like two small wires side by side, similar to lamp cord, the cable is not shielded, and that’s probably the source of the noise. If the cable is indeed shielded, it’s possible that it’s bad (internally has an either an open or shorted conductor).
If that’s not the case, the sub is probably plugged into a different circuit than the rest of the equipment. That’s going to be tough to fix.
Regards,
Wayne A. Pflughaupt