CVE-2026-139096

Source
https://cve.org/CVERecord?id=CVE-2026-139096
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139096.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139096
Downstream
Published
2026-11-30T13:31:32Z
Modified
2026-11-30T15:02:17Z
Summary
tcp: initialize mapped children before route lookup
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139096.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
72b5ce3396d8faf1adb26dd0212af1460ecd5afb
Fixed
3509cbe37788164055e2fac9fd8b0d6a0a65ce48
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
82c5acb68c6390b9b5c402cac484406ad9c3ba28
Fixed
5a26ce1b6be35d4d6f744279e76de639f2055412
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1c17f4373d4db1e1f0ebd3ddcd8e7a642927a826
Fixed
ca5dec39bbfec68d2356bcd1e3dd5c0379c357e1
Fixed
b7ff0e7a9ae3df2f123807a7e670bc348b1e1b9d

Affected versions

v6.*
v6.12.112
v6.12.113
v6.12.114
v6.12.115
v6.12.116
v6.12.117
v6.12.118
v6.18.16
v6.18.17
v6.18.18
v6.18.19
v6.18.20
v6.18.21
v6.18.22
v6.18.23
v6.18.24
v6.18.25
v6.18.26
v6.18.27
v6.18.28
v6.18.29
v6.18.30
v6.18.31
v6.18.32
v6.18.33
v6.18.34
v6.18.35
v6.18.36
v6.18.37
v6.18.38
v6.18.39
v6.18.40
v6.18.41
v6.18.42
v6.18.43
v6.18.44
v6.18.45
v6.18.46
v6.18.47
v6.18.48
v6.18.49
v6.18.50
v6.18.51
v6.18.52
v6.18.53
v6.18.54
v6.18.55
v6.18.56
v6.18.57
v6.18.58
v6.18.59
v6.18.60
v6.18.61
v6.18.62
v6.18.63
v6.18.64

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139096.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.112
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.18.16
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139096.json"