Need help for question regarding independence

Company A's investment in Company B accounts almost half of Company A's annual income. Auditor C owns an immaterial amount of stock in Company B and he will do auditing for company A. Auditor D owns an immaterial amount of stock in Company A and he will do auditing for company B. So for auditor C and auditor D, whose independence will be impaired? Auditor C or auditor D or both? Why I am so confused by this problem, can anyone help me to figure out? Thanks