# CVE-2025-68775: net/handshake: duplicate handshake cancellations leak socket

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 011ae80c49d9bfa5b4336f8bd387cd25c7593663, 15564bd67e2975002f2a8e9defee33e321d3183f, 3c330f1dee3cd92b57e19b9d21dc8ce5970b09be, e1641177e7fb48a0a5a06658d4aab51da6656659 (CNA); fix release not confirmed
- Status: published
- Published: 2026-01-13 · Modified: 2026-10-19
- Aliases: UBUNTU-CVE-2025-68775, DEBIAN-CVE-2025-68775
- Record: https://cvemate.com/vulnerability/CVE-2025-68775 · JSON: https://cvemate.com/vulnerability/CVE-2025-68775/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

net/handshake: duplicate handshake cancellations leak socket

When a handshake request is cancelled it is removed from the
handshake_net->hn_requests list, but it is still present in the
handshake_rhashtbl until it is destroyed.

If a second cancellation request arrives for the same handshake request,
then remove_pending() will return false... and assuming
HANDSHAKE_F_REQ_COMPLETED isn't set in req->hr_flags, we'll continue
processing through the out_true label, where we put another reference on
the sock and a refcount underflow occurs.

This can happen for example if a handshake times out - particularly if
the SUNRPC client sends the AUTH_TLS probe to the server but doesn't
follow it up with the ClientHello due to a problem with tlshd.  When the
timeout is hit on the server, the server will send a FIN, which triggers
a cancellation request via xs_reset_transport().  When the timeout is
hit on the client, another cancellation request happens via
xs_tls_handshake_sync().

Add a test_and_set_bit(HANDSHAKE_F_REQ_COMPLETED) in the pending cancel
path so duplicate cancels can be detected.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.548%, percentile 47.35%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 133)

- debian linux (Debian): \< 6.12.69-1 \| \< 6.18.3-1
- ubuntu linux (Ubuntu): \< 6.8.0-110.110 \| \< 6.17.0-22.22
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 6.8.0-1052.55 \| \< 6.17.0-1012.12
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1012.12~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1052.55~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 6.8.0-1052.55+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1054.60 \| \< 6.17.0-1013.13
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 29)

- <https://git.kernel.org/stable/c/011ae80c49d9bfa5b4336f8bd387cd25c7593663>
- <https://git.kernel.org/stable/c/e1641177e7fb48a0a5a06658d4aab51da6656659>
- <https://git.kernel.org/stable/c/3c330f1dee3cd92b57e19b9d21dc8ce5970b09be>
- <https://git.kernel.org/stable/c/15564bd67e2975002f2a8e9defee33e321d3183f>
- <https://ubuntu.com/security/CVE-2025-68775>
- <https://www.cve.org/CVERecord?id=CVE-2025-68775>
- <https://git.kernel.org/linus/15564bd67e2975002f2a8e9defee33e321d3183f>
- <https://ubuntu.com/security/notices/USN-8177-1>
- <https://ubuntu.com/security/notices/USN-8179-1>
- <https://ubuntu.com/security/notices/USN-8177-2>
- <https://ubuntu.com/security/notices/USN-8183-1>
- <https://ubuntu.com/security/notices/USN-8184-1>
- <https://ubuntu.com/security/notices/USN-8179-2>
- <https://ubuntu.com/security/notices/USN-8185-1>
- <https://ubuntu.com/security/notices/USN-8183-2>
- <https://ubuntu.com/security/notices/USN-8179-3>
- <https://ubuntu.com/security/notices/USN-8203-1>
- <https://ubuntu.com/security/notices/USN-8204-1>
- <https://ubuntu.com/security/notices/USN-8185-2>
- <https://ubuntu.com/security/notices/USN-8179-4>

---

Data as of 2026-12-05T04:23:10.361Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
