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

CVE-2026-98374
HIGH 8.8

En bref

Source
NVD
EPSS
EPSS 0.29 % · centile 22 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected c31b70c9968fe9c4194d1b5d06d07596a3b680de < fad6d429651e748365e93ca54645accc212f0018 ; affected c31b70c9968fe9c4194d1b5d06d07596a3b680de < c5b4da1f403a658c1c19766be2b426003ada419f ; affected c31b70c9968fe9c4194d1b5d06d07596a3b680de < 71d45049b0d631dfdbf3c65305f7fca676de023b ; affected c31b70c9968fe9c4194d1b5d06d07596a3b680de < e3ea71cb1408a013ed4e8a757b815f1a919324bd ; affected c31b70c9968fe9c4194d1b5d06d07596a3b680de < 631aa4cb45099f09e9385dd786bd291c6270bfc4 ; affected c31b70c9968fe9c4194d1b5d06d07596a3b680de < 0f87720c7e4bcab07c24888b3cf12bfe857bb90e
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.* ; unaffected 6.12.112 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD