{"id":"CVE-2026-98374","aliases":["CVE-2026-98374"],"related":[],"kind":"vulnerability","state":"published","title":"tcp: fix use-after-free of retransmit_skb_hint in tcp_send_synack()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: fix use-after-free of retransmit_skb_hint in tcp_send_synack()\n\nWhen tcp_send_synack() replaces the cloned SYN skb at the head of the\nretransmit queue with a copy, it frees the original with\ntcp_rtx_queue_unlink_and_free() and only repairs tp->highest_sack.\ntp->retransmit_skb_hint keeps pointing at the freed\nskbuff_fclone_cache object.\n\nThe dangling hint is read in tcp_verify_retransmit_hint() and used as\nthe root of the rbtree walk in tcp_xmit_retransmit_queue().  An\nunprivileged TFO client (sendmsg(MSG_FASTOPEN)) can arm the hint with\nan attacker-supplied ICMP fragmentation-needed message, after which a\nsimultaneous open frees the armed SYN skb:\n\n  BUG: KASAN: slab-use-after-free in tcp_mark_skb_lost (net/ipv4/tcp_input.c:1316)\n  Read of size 4 at addr ffff88800604d928 by task swapper/1/0\n  Call Trace:\n   tcp_mark_skb_lost (net/ipv4/tcp_input.c:1316)\n   tcp_simple_retransmit (net/ipv4/tcp_input.c:3158)\n   tcp_v4_err (net/ipv4/tcp_ipv4.c:587)\n\nSync the hint to the copy.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: fix use-after-free of retransmit_skb_hint in tcp_send_synack()\n\nWhen tcp_send_synack() replaces the cloned SYN skb at the head of the\nretransmit queue with a copy, it frees the original with\ntcp_rtx_queue_unlink_and_free() and only repairs tp->highest_sack.\ntp->retransmit_skb_hint keeps pointing at the freed\nskbuff_fclone_cache object.\n\nThe dangling hint is read in tcp_verify_retransmit_hint() and used as\nthe root of the rbtree walk in tcp_xmit_retransmit_queue().  An\nunprivileged TFO client (sendmsg(MSG_FASTOPEN)) can arm the hint with\nan attacker-supplied ICMP fragmentation-needed message, after which a\nsimultaneous open frees the armed SYN skb:\n\n  BUG: KASAN: slab-use-after-free in tcp_mark_skb_lost (net/ipv4/tcp_input.c:1316)\n  Read of size 4 at addr ffff88800604d928 by task swapper/1/0\n  Call Trace:\n   tcp_mark_skb_lost (net/ipv4/tcp_input.c:1316)\n   tcp_simple_retransmit (net/ipv4/tcp_input.c:3158)\n   tcp_v4_err (net/ipv4/tcp_ipv4.c:587)\n\nSync the hint to the copy.","source":"cvelist"}],"published":"2026-10-07T13:01:48.600Z","modified":"2026-10-24T14:16:39.560Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c31b70c9968fe9c4194d1b5d06d07596a3b680de","fixed":"fad6d429651e748365e93ca54645accc212f0018","status":"affected"},{"type":"git","introduced":"c31b70c9968fe9c4194d1b5d06d07596a3b680de","fixed":"c5b4da1f403a658c1c19766be2b426003ada419f","status":"affected"},{"type":"git","introduced":"c31b70c9968fe9c4194d1b5d06d07596a3b680de","fixed":"71d45049b0d631dfdbf3c65305f7fca676de023b","status":"affected"},{"type":"git","introduced":"c31b70c9968fe9c4194d1b5d06d07596a3b680de","fixed":"e3ea71cb1408a013ed4e8a757b815f1a919324bd","status":"affected"},{"type":"git","introduced":"c31b70c9968fe9c4194d1b5d06d07596a3b680de","fixed":"631aa4cb45099f09e9385dd786bd291c6270bfc4","status":"affected"},{"type":"git","introduced":"c31b70c9968fe9c4194d1b5d06d07596a3b680de","fixed":"0f87720c7e4bcab07c24888b3cf12bfe857bb90e","status":"affected"},{"type":"git","introduced":"c31b70c9968fe9c4194d1b5d06d07596a3b680de","fixed":"fe99bbeee5c5dbd3abc30721a8079ced59649d97","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/fad6d429651e748365e93ca54645accc212f0018","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c5b4da1f403a658c1c19766be2b426003ada419f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/71d45049b0d631dfdbf3c65305f7fca676de023b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e3ea71cb1408a013ed4e8a757b815f1a919324bd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/631aa4cb45099f09e9385dd786bd291c6270bfc4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0f87720c7e4bcab07c24888b3cf12bfe857bb90e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fe99bbeee5c5dbd3abc30721a8079ced59649d97","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98374","url":"https://www.cve.org/CVERecord?id=CVE-2026-98374","licence":"CVE Terms of Use","modified":"2026-10-24T14:08:34.914Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98374","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98374","licence":"Public domain","modified":"2026-10-24T14:16:39.560Z"}],"updatedAt":"2026-11-25T22:59:42.724Z","epss":{"score":0.00293,"percentile":0.23603,"date":"2026-12-01T12:00:22.000Z"}}