Stock owns shares in other companies


A stock I am interested in owns shares in other companies. I don’t know whether those other companies are compliant. The value of those other companies is 12% of the total assets and 15% of the mkt cap.

How do I assess the sharia compliance of the stock? Do I need to check all investments are compliant?