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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:31:32.434Z
- Modified: 2026-11-30T14:18:17.843Z
- Assigned by: Linux

## Description

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
tcp_v4_syn_recv_sock() with tcp_v6_mapped_child_init() as the optional
initializer. The callback currently runs after the output route lookup.
If that lookup fails, tcp_done() destroys a clone whose pinet6 and
ipv6_fl_list still refer to the listener's state.

With the flowlabel list head in inet_sock, fl6_free_socklist() 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
tcp_v6_syn_recv_sock()") 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 sk_setup_caps(), and all later disposal paths remain
covered.

(As written by CVE List.)

## Affected

- Linux Linux: from 72b5ce3396d8faf1adb26dd0212af1460ecd5afb before 3509cbe37788164055e2fac9fd8b0d6a0a65ce48; from 82c5acb68c6390b9b5c402cac484406ad9c3ba28 before 5a26ce1b6be35d4d6f744279e76de639f2055412; from 1c17f4373d4db1e1f0ebd3ddcd8e7a642927a826 before ca5dec39bbfec68d2356bcd1e3dd5c0379c357e1; from 1c17f4373d4db1e1f0ebd3ddcd8e7a642927a826 before b7ff0e7a9ae3df2f123807a7e670bc348b1e1b9d; from 6.12.112 before 6.12.119; from 6.18.16 before 6.18.65; 6.19 (not affected: before 6.19; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/3509cbe37788164055e2fac9fd8b0d6a0a65ce48>
- <https://git.kernel.org/stable/c/5a26ce1b6be35d4d6f744279e76de639f2055412>
- <https://git.kernel.org/stable/c/ca5dec39bbfec68d2356bcd1e3dd5c0379c357e1>
- <https://git.kernel.org/stable/c/b7ff0e7a9ae3df2f123807a7e670bc348b1e1b9d>

## Sources

- CVE List: [CVE-2026-139096](https://www.cve.org/CVERecord?id=CVE-2026-139096), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139096](https://nvd.nist.gov/vuln/detail/CVE-2026-139096), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139096 · Whole record: https://cve.day/CVE-2026-139096.json · Rebuilt by cve.day 2026-11-30T14:32:28.738Z
