CVE-2025-71148
JSON

3.3low

net/handshake: restore destructor on submit failure

Severity
3.3low CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 3b3009ea8abb713b022d94fba95ec270cf6e7eae before cd8cf2be3717137554744233fda051ffc09d1d44, from 3b3009ea8abb713b022d94fba95ec270cf6e7eae before 7b82a1d6ae869533d8bdb0282a3a78faed8e63dd, from 3b3009ea8abb713b022d94fba95ec270cf6e7eae before b225325be7b247c7268e65eea6090db1fc786d1f, from 3b3009ea8abb713b022d94fba95ec270cf6e7eae before 6af2a01d65f89e73c1cbb9267f8880d83a88cee4, 6.4
Not affected: before 6.4, from 6.6.120 up to 6.6.*, from 6.12.64 up to 6.12.*, from 6.18.3 up to 6.18.*, from 6.19 up to *
CVE List
linux linux_kernelfrom 6.4 before 6.6.120, from 6.7 before 6.12.64, from 6.13 before 6.18.3, 6.19NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net/handshake: restaurar destructor en fallo de envío handshake_req_submit() reemplaza sk->sk_destruct pero nunca lo restaura cuando el envío falla antes de que la solicitud sea hasheada. handshake_sk_destruct() entonces retorna prematuramente y el destructor original nunca se ejecuta, fugando el socket. Restaurar sk_destruct en la ruta de error.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-71148 changed 2026-11-05CVE Terms of Use
NVDCVE-2025-71148 changed 2026-11-05Public domain