Affected versions
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
In the Linux kernel, the following vulnerability has been resolved: net/handshake: restore destructor on submit failure handshake_req_submit() replaces sk->sk_destruct but never restores it when submission fails before the request is hashed. handshake_sk_destruct() then returns early and the original destructor never runs, leaking the socket. Restore sk_destruct on the error path.
A socket leak vulnerability was found in the Linux kernel's TLS handshake subsystem. When handshake_req_submit() fails before the request is hashed, it does not restore the original sk->sk_destruct pointer. This causes handshake_sk_destruct() to return early without calling the original destructor, resulting in a socket resource leak that accumulates over time.

