CVE-2026-43198
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
tcp: fix potentiële race in tcp_v6_syn_recv_sock()
Code in tcp_v6_syn_recv_sock() na het gesprek met tcp_v4_syn_recv_sock()
te laat klaar is. Na tcp_v4_syn_recv_sock() is de kindercontactdoos al zichtbaar
van TCP ehash-tabel en andere CPU's kunnen het gebruiken. Aangezien newinet->pinet6 nog steeds naar de luisteraar wijst ipv6_pinfo
slechte dingen kunnen gebeuren zoals syzbot ontdekte. Verplaats de problematische code in tcp_v6_mapped_child_init()
en bel deze nieuwe helper van tcp_v4_syn_recv_sock() voor
de ehash-invoeging. Dit maakt het mogelijk om één tcp_sync_mss() te verwijderen, omdat
tcp_v4_syn_recv_sock() belt het met de juiste
context.
Origineel (Engels) tonen
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.
Vendors
Affected products
References
- git.kernel.org
- git.kernel.org
- git.kernel.org
- git.kernel.org
- git.kernel.org
- git.kernel.org
- git.kernel.org
- git.kernel.org
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com