BlackBerry software flaw could impact cars, medical devices – U.S. agencies