CVE-2024-35870 is a use-after-free (UAF) vulnerability in the Linux kernel's SMB client implementation, specifically in the smb2_reconnect_server() function. The flaw occurs when the function accesses a session that is concurrently being torn down by another thread, leading to potential memory corruption and a general protection fault. This issue has been fixed by ensuring the session status is set to SES_EXITING unconditionally to prevent concurrent modifications during teardown.