Happened to me yesterday, I was baffled but then I found that you can request the one time password just using the email associated with the LinkedIn account, so the password wasn't compromised
I have changed the password, main mail and in the privacy settings of LinkedIn removed the visibility of the email