Sometimes when driving vehicles after 1.17 came out I get a black screen and I get tped to a random location. If I relog at this moment I spawn back in with no gear on and the car is gone. The speedometer goes crazy as well when this happens.
This has happened to me a few times and other players on our server as well. As an admin I've found a way to ensure I don't lose the car or my character, but players cannot do that.
As an admin I can basically "tp" while still in the car and then "get out" of the vehicle. After I relog the character is still okay with all the gear and the car as well, but whenever this happens to a player they lose everything.
I do not know when this is happening so I cannot reproduce it. It seems random but probably isn't.