BMW reportedly has fixed a serious security flaw that could have allowed hackers to seize control of some of its cars' systems.