Right to repair prevents these sorts of law suits
But that's only for companies selling the hacking as a paid service. There is zero standing to sue a guy hacking his own car and providing the info for free on the Internet (or, eg, at defcon).
Only thing they can do is void your warranty