CVE-2026-43198
JSON

9.8critical

tcp: fix potential race in tcp_v6_syn_recv_sock()

Severity
9.8critical CVSS:3.1 by Linux
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: tcp: fix potential race in tcp_v6_syn_recv_sock() Code in tcp_v6_syn_recv_sock() after the call to tcp_v4_syn_recv_sock() is done too late. After tcp_v4_syn_recv_sock(), the child socket is already visible from TCP ehash table and other cpus might use it. Since newinet->pinet6 is still pointing to the listener ipv6_pinfo bad things can happen as syzbot found. Move the problematic code in tcp_v6_mapped_child_init() and call this new helper from tcp_v4_syn_recv_sock() before the ehash insertion. This allows the removal of one tcp_sync_mss(), since tcp_v4_syn_recv_sock() will call it with the correct context.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before aef4a9ae95d1bc4f7897065011e6261026719aeb, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before dad1fe7db6c6519138430ac8f5e589c18f83bfc9, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a7e761ba55efaa9c49e0afdd304bb78167af3429, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before cd644e6dc72eec8d9d988717ea1c54f8668ded69, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9ed654e340f4c73bc6f0af2fbc90ac293e645ce0, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before fe89b2f05b854847784f91127319172945c1fadd, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7178e2a8027423b2af17ab95df73a749a5b72e5b, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 858d2a4f67ff69e645a43487ef7ea7f28f06deae and 1 more
Not affected: before 2.6.12, from 5.10.270 up to 5.10.*, from 5.15.221 up to 5.15.*, from 6.1.188 up to 6.1.*, from 6.6.157 up to 6.6.*, from 6.12.110 up to 6.12.*
CVE List
kernelNot specified
Not affected: from 0:6.12.0-211.28.1.el10_2 before *, from 0:6.12.0-55.84.1.el10_0 before *, from 0:3.10.0-1160.155.1.el7 before *, from 0:4.18.0-553.140.1.el8_10 before *, from 0:4.18.0-305.197.1.el8_4 before *, from 0:4.18.0-372.199.1.el8_6 before *
CVE List
kernel-rtNot specified
Not affected: from 0:3.10.0-1160.155.1.rt56.1307.el7 before *, from 0:4.18.0-553.140.1.rt7.481.el8_10 before *, from 0:5.14.0-284.179.1.rt14.464.el9_2 before *
CVE List
linux linux_kernelfrom 2.6.12.1 before 6.18.16, from 6.19 before 6.19.6, 2.6.12, 7.0NVD

All scores

Linux9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
redhat-SADP7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-362CWE-821

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: tcp: fix potential race in tcp_v6_syn_recv_sock() Code in tcp_v6_syn_recv_sock() after the call to tcp_v4_syn_recv_sock() is done too late. After tcp_v4_syn_recv_sock(), the child socket is already visible from TCP ehash table and other cpus might use it. Since newinet->pinet6 is still pointing to the listener ipv6_pinfo bad things can happen as syzbot found. Move the problematic code in tcp_v6_mapped_child_init() and call this new helper from tcp_v4_syn_recv_sock() before the ehash insertion. This allows the removal of one tcp_sync_mss(), since tcp_v4_syn_recv_sock() will call it with the correct context.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: tcp: corrige una condición de carrera potencial en tcp_v6_syn_recv_sock() El código en tcp_v6_syn_recv_sock() después de la llamada a tcp_v4_syn_recv_sock() se ejecuta demasiado tarde. Después de tcp_v4_syn_recv_sock(), el socket hijo ya es visible desde la tabla ehash de TCP y otras CPUs podrían usarlo. Dado que newinet -> pinet6 sigue apuntando al ipv6_pinfo del oyente, pueden ocurrir cosas malas como encontró syzbot. Mover el código problemático a tcp_v6_mapped_child_init() y llamar a esta nueva función auxiliar desde tcp_v4_syn_recv_sock() antes de la inserción en ehash. Esto permite la eliminación de un tcp_sync_mss(), ya que tcp_v4_syn_recv_sock() lo llamará con el contexto correcto.

References

https://git.kernel.org/stable/c/aef4a9ae95d1bc4f7897065011e6261026719aeb
https://git.kernel.org/stable/c/dad1fe7db6c6519138430ac8f5e589c18f83bfc9
https://git.kernel.org/stable/c/a7e761ba55efaa9c49e0afdd304bb78167af3429
https://git.kernel.org/stable/c/cd644e6dc72eec8d9d988717ea1c54f8668ded69
https://git.kernel.org/stable/c/9ed654e340f4c73bc6f0af2fbc90ac293e645ce0
https://git.kernel.org/stable/c/fe89b2f05b854847784f91127319172945c1faddpatch
https://git.kernel.org/stable/c/7178e2a8027423b2af17ab95df73a749a5b72e5bpatch
https://git.kernel.org/stable/c/858d2a4f67ff69e645a43487ef7ea7f28f06deaepatch
https://access.redhat.com/security/cve/CVE-2026-43198vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2467228issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43198.json
https://access.redhat.com/errata/RHSA-2026:36216vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-43198 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-43198 changed 2026-11-11Public domain