# CVE-2025-39955: tcp: Clear tcp\_sk(sk)-\>fastopen\_rsk in tcp\_disconnect().

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **Published:** 2025-10-09T09:47:33.556Z
- **Modified:** 2026-11-10T13:17:52.887Z

## Who should check

- Anyone running Linux \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< 7ec092a91ff351dcde89c23e795b73a328274db6; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< a4378dedd6e07e62f2fccb17d78c9665718763d0; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< 33a4fdf0b4a25f8ce65380c3b0136b407ca57609; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< 17d699727577814198d744d6afe54735c6b54c99; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< dfd06131107e7b699ef1e2a24ed2f7d17c917753; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< fa4749c065644af4db496b338452a69a3e5147d9; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< ae313d14b45eca7a6bb29cb9bf396d977e7d28fb; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< 45c8a6cc2bcd780e634a6ba8e46bffbdf1fc5c01
- Anyone running Linux 3.7

## Description

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

tcp: Clear tcp\_sk(sk)-\>fastopen\_rsk in tcp\_disconnect().

syzbot reported the splat below where a socket had tcp\_sk(sk)-\>fastopen\_rsk
in the TCP\_ESTABLISHED state. \[0\]

syzbot reused the server-side TCP Fast Open socket as a new client before
the TFO socket completes 3WHS:

  1. accept()
  2. connect(AF\_UNSPEC)
  3. connect() to another destination

As of accept(), sk-\>sk\_state is TCP\_SYN\_RECV, and tcp\_disconnect() changes
it to TCP\_CLOSE and makes connect() possible, which restarts timers.

Since tcp\_disconnect() forgot to clear tcp\_sk(sk)-\>fastopen\_rsk, the
retransmit timer triggered the warning and the intended packet was not
retransmitted.

Let's call reqsk\_fastopen\_remove() in tcp\_disconnect().

\[0\]:
WARNING: CPU: 2 PID: 0 at net/ipv4/tcp\_timer.c:542 tcp\_retransmit\_timer (net/ipv4/tcp\_timer.c:542 (discriminator 7))
Modules linked in:
CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.17.0-rc5-g201825fb4278 \#62 PREEMPT(voluntary)
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:tcp\_retransmit\_timer (net/ipv4/tcp\_timer.c:542 (discriminator 7))
Code: 41 55 41 54 55 53 48 8b af b8 08 00 00 48 89 fb 48 85 ed 0f 84 55 01 00 00 0f b6 47 12 3c 03 74 0c 0f b6 47 12 3c 04 74 04 90 \<0f\> 0b 90 48 8b 85 c0 00 00 00 48 89 ef 48 8b 40 30 e8 6a 4f 06 3e
RSP: 0018:ffffc900002f8d40 EFLAGS: 00010293
RAX: 0000000000000002 RBX: ffff888106911400 RCX: 0000000000000017
RDX: 0000000002517619 RSI: ffffffff83764080 RDI: ffff888106911400
RBP: ffff888106d5c000 R08: 0000000000000001 R09: ffffc900002f8de8
R10: 00000000000000c2 R11: ffffc900002f8ff8 R12: ffff888106911540
R13: ffff888106911480 R14: ffff888106911840 R15: ffffc900002f8de0
FS:  0000000000000000(0000) GS:ffff88907b768000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8044d69d90 CR3: 0000000002c30003 CR4: 0000000000370ef0
Call Trace:
 \<IRQ\>
 tcp\_write\_timer (net/ipv4/tcp\_timer.c:738)
 call\_timer\_fn (kernel/time/timer.c:1747)
 \_\_run\_timers (kernel/time/timer.c:1799 kernel/time/timer.c:2372)
 timer\_expire\_remote (kernel/time/timer.c:2385 kernel/time/timer.c:2376 kernel/time/timer.c:2135)
 tmigr\_handle\_remote\_up (kernel/time/timer\_migration.c:944 kernel/time/timer\_migration.c:1035)
 \_\_walk\_groups.isra.0 (kernel/time/timer\_migration.c:533 (discriminator 1))
 tmigr\_handle\_remote (kernel/time/timer\_migration.c:1096)
 handle\_softirqs (./arch/x86/include/asm/jump\_label.h:36 ./include/trace/events/irq.h:142 kernel/softirq.c:580)
 irq\_exit\_rcu (kernel/softirq.c:614 kernel/softirq.c:453 kernel/softirq.c:680 kernel/softirq.c:696)
 sysvec\_apic\_timer\_interrupt (arch/x86/kernel/apic/apic.c:1050 (discriminator 35) arch/x86/kernel/apic/apic.c:1050 (discriminator 35))
 \</IRQ\>

## Affected and fixed versions

- Linux: \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< 7ec092a91ff351dcde89c23e795b73a328274db6; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< a4378dedd6e07e62f2fccb17d78c9665718763d0; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< 33a4fdf0b4a25f8ce65380c3b0136b407ca57609; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< 17d699727577814198d744d6afe54735c6b54c99; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< dfd06131107e7b699ef1e2a24ed2f7d17c917753; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< fa4749c065644af4db496b338452a69a3e5147d9; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< ae313d14b45eca7a6bb29cb9bf396d977e7d28fb; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< 45c8a6cc2bcd780e634a6ba8e46bffbdf1fc5c01 (cvelist)
- Linux: 3.7 (cvelist)

## Mitigation

- Upgrade Linux to 45c8a6cc2bcd780e634a6ba8e46bffbdf1fc5c01 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39955. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39955.md
Affected: Linux >= 8336886f786fdacbc19b719c1f7ea91eb70706d4, < 7ec092a91ff351dcde89c23e795b73a328274db6; >= 8336886f786fdacbc19b719c1f7ea91eb70706d4, < a4378dedd6e07e62f2fccb17d78c9665718763d0; >= 8336886f786fdacbc19b719c1f7ea91eb70706d4, < 33a4fdf0b4a25f8ce65380c3b0136b407ca57609; >= 8336886f786fdacbc19b719…
Fixed in: Linux 7ec092a91ff351dcde89c23e795b73a328274db6, Linux 33a4fdf0b4a25f8ce65380c3b0136b407ca57609, Linux 17d699727577814198d744d6afe54735c6b54c99, Linux 45c8a6cc2bcd780e634a6ba8e46bffbdf1fc5c01

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39955 being exploited?

There is no confirmed exploitation: CVE-2025-39955 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-39955?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-39955?

Linux \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< 7ec092a91ff351dcde89c23e795b73a328274db6; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< a4378dedd6e07e62f2fccb17d78c9665718763d0; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< 33a4fdf0b4a25f8ce65380c3b0136b407ca57609; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< 17d699727577814198d744d6afe54735c6b54c99; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< dfd06131107e7b699ef1e2a24ed2f7d17c917753; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< fa4749c065644af4db496b338452a69a3e5147d9; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< ae313d14b45eca7a6bb29cb9bf396d977e7d28fb; \>= 8336886f786fdacbc19b719c1f7ea91eb70706d4, \< 45c8a6cc2bcd780e634a6ba8e46bffbdf1fc5c01; Linux 3.7.

### Is there a fix for CVE-2025-39955?

Yes. Fixed in Linux 7ec092a91ff351dcde89c23e795b73a328274db6, Linux 33a4fdf0b4a25f8ce65380c3b0136b407ca57609, Linux 17d699727577814198d744d6afe54735c6b54c99, Linux 45c8a6cc2bcd780e634a6ba8e46bffbdf1fc5c01. Upgrade Linux to 45c8a6cc2bcd780e634a6ba8e46bffbdf1fc5c01 or later.

### How do I check if I'm affected by CVE-2025-39955?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/7ec092a91ff351dcde89c23e795b73a328274db6>
- patch: <https://git.kernel.org/stable/c/a4378dedd6e07e62f2fccb17d78c9665718763d0>
- patch: <https://git.kernel.org/stable/c/33a4fdf0b4a25f8ce65380c3b0136b407ca57609>
- patch: <https://git.kernel.org/stable/c/17d699727577814198d744d6afe54735c6b54c99>
- patch: <https://git.kernel.org/stable/c/dfd06131107e7b699ef1e2a24ed2f7d17c917753>
- patch: <https://git.kernel.org/stable/c/fa4749c065644af4db496b338452a69a3e5147d9>
- patch: <https://git.kernel.org/stable/c/ae313d14b45eca7a6bb29cb9bf396d977e7d28fb>
- patch: <https://git.kernel.org/stable/c/45c8a6cc2bcd780e634a6ba8e46bffbdf1fc5c01>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39955>

HTML: <https://flawdb.com/CVE-2025-39955> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39955>
