Just so I understand, you're alleging that a U.S. agency was, among other things, submitting patches for a mainland Chinese home-grown CPU architecture (Loongson)?
And if someone wanted to attack a target running on Loongson, they would certainly have to make sure the code can actually run there in the first place.