# CVE-2026-98374: tcp: fix use-after-free of retransmit_skb_hint in tcp_send_synack()

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-10-07T13:01:48.600Z
- Modified: 2026-10-24T14:16:39.560Z
- Assigned by: Linux

## Description

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

tcp: fix use-after-free of retransmit_skb_hint in tcp_send_synack()

When tcp_send_synack() replaces the cloned SYN skb at the head of the
retransmit queue with a copy, it frees the original with
tcp_rtx_queue_unlink_and_free() and only repairs tp->highest_sack.
tp->retransmit_skb_hint keeps pointing at the freed
skbuff_fclone_cache object.

The dangling hint is read in tcp_verify_retransmit_hint() and used as
the root of the rbtree walk in tcp_xmit_retransmit_queue().  An
unprivileged TFO client (sendmsg(MSG_FASTOPEN)) can arm the hint with
an attacker-supplied ICMP fragmentation-needed message, after which a
simultaneous open frees the armed SYN skb:

  BUG: KASAN: slab-use-after-free in tcp_mark_skb_lost (net/ipv4/tcp_input.c:1316)
  Read of size 4 at addr ffff88800604d928 by task swapper/1/0
  Call Trace:
   tcp_mark_skb_lost (net/ipv4/tcp_input.c:1316)
   tcp_simple_retransmit (net/ipv4/tcp_input.c:3158)
   tcp_v4_err (net/ipv4/tcp_ipv4.c:587)

Sync the hint to the copy.

(As written by CVE List.)

## Affected

- Linux Linux: from c31b70c9968fe9c4194d1b5d06d07596a3b680de before fad6d429651e748365e93ca54645accc212f0018; from c31b70c9968fe9c4194d1b5d06d07596a3b680de before c5b4da1f403a658c1c19766be2b426003ada419f; from c31b70c9968fe9c4194d1b5d06d07596a3b680de before 71d45049b0d631dfdbf3c65305f7fca676de023b; from c31b70c9968fe9c4194d1b5d06d07596a3b680de before e3ea71cb1408a013ed4e8a757b815f1a919324bd; from c31b70c9968fe9c4194d1b5d06d07596a3b680de before 631aa4cb45099f09e9385dd786bd291c6270bfc4; from c31b70c9968fe9c4194d1b5d06d07596a3b680de before 0f87720c7e4bcab07c24888b3cf12bfe857bb90e; from c31b70c9968fe9c4194d1b5d06d07596a3b680de before fe99bbeee5c5dbd3abc30721a8079ced59649d97; 5.11 (not affected: before 5.11; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.55 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/fad6d429651e748365e93ca54645accc212f0018>
- <https://git.kernel.org/stable/c/c5b4da1f403a658c1c19766be2b426003ada419f>
- <https://git.kernel.org/stable/c/71d45049b0d631dfdbf3c65305f7fca676de023b>
- <https://git.kernel.org/stable/c/e3ea71cb1408a013ed4e8a757b815f1a919324bd>
- <https://git.kernel.org/stable/c/631aa4cb45099f09e9385dd786bd291c6270bfc4>
- <https://git.kernel.org/stable/c/0f87720c7e4bcab07c24888b3cf12bfe857bb90e>
- <https://git.kernel.org/stable/c/fe99bbeee5c5dbd3abc30721a8079ced59649d97>

## Sources

- CVE List: [CVE-2026-98374](https://www.cve.org/CVERecord?id=CVE-2026-98374), CVE Terms of Use, modified 2026-10-24
- NVD: [CVE-2026-98374](https://nvd.nist.gov/vuln/detail/CVE-2026-98374), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-98374 · Whole record: https://cve.day/CVE-2026-98374.json · Rebuilt by cve.day 2026-11-25T22:59:42.724Z
