A sub has limited ability to track and target aircraft. To do that the sub would have to be near the surface and that would eliminate stealth which is there primary weapon. Aircraft have nothing to fear from a sub. Subs are not anti air platforms. None are.