CVE-2026-139096: tcp: initialize mapped children before route lookup

Published Nov 30, 2026
·
Updated

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

tcp: initialize mapped children before route lookup

IPv4 passive opens on a dual-stack listener go through tcpv4synrecvsock() with tcpv6mappedchildinit() as the optional initializer. The callback currently runs after the output route lookup. If that lookup fails, tcpdone() destroys a clone whose pinet6 and ipv6fllist still refer to the listener's state.

With the flowlabel list head in inetsock, fl6freesocklist() walks the clone's list and RCU-frees its nodes without unlinking them from the live listener. Subsequent flowlabel operations can use or free the nodes again. Commit 858d2a4f67ff ("tcp: fix potential race in tcpv6synrecvsock()") moved the initializer before ehash insertion, but did not cover this error path.

Invoke the existing initializer after the IPv4 fields it consumes have been set, but before route lookup can fail. It needs neither the destination nor sksetupcaps(), and all later disposal paths remain covered.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 858d2a4f67ff

Event History

Nov 30, 2026
CVE Published
via MITRE·01:31 PM
Data Sourced
via MITRE·01:31 PM
Description
Data Sourced
via NVD·02:18 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this failure path?

The affected path involves IPv4 passive opens handled by a dual-stack TCP listener. It is reached when tcp_v4_syn_recv_sock() uses the IPv6-mapped-child initializer.

2

What conditions are required to trigger the bug?

An IPv4 connection must be accepted through a dual-stack listener, and the child socket's output route lookup must fail. The failure occurs before the mapped child initializer has run.

3

What can happen after the failed connection setup?

Cleanup can free flowlabel-list nodes that still belong to the live listener. Later flowlabel operations may then use or free those nodes again.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203