{"id":"CVE-2026-139096","state":"PUBLISHED","title":"tcp: initialize mapped children before route lookup","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: initialize mapped children before route lookup\n\nIPv4 passive opens on a dual-stack listener go through\ntcp_v4_syn_recv_sock() with tcp_v6_mapped_child_init() as the optional\ninitializer. The callback currently runs after the output route lookup.\nIf that lookup fails, tcp_done() destroys a clone whose pinet6 and\nipv6_fl_list still refer to the listener's state.\n\nWith the flowlabel list head in inet_sock, fl6_free_socklist() walks\nthe clone's list and RCU-frees its nodes without unlinking them from the\nlive listener. Subsequent flowlabel operations can use or free the nodes\nagain. Commit 858d2a4f67ff (\"tcp: fix potential race in\ntcp_v6_syn_recv_sock()\") moved the initializer before ehash insertion,\nbut did not cover this error path.\n\nInvoke the existing initializer after the IPv4 fields it consumes have\nbeen set, but before route lookup can fail. It needs neither the\ndestination nor sk_setup_caps(), and all later disposal paths remain\ncovered.","publishedAt":"2026-11-30T13:31:32.434Z","updatedAt":"2026-11-30T13:31:32.434Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"72b5ce3396d8faf1adb26dd0212af1460ecd5afb","status":"affected","lessThan":"3509cbe37788164055e2fac9fd8b0d6a0a65ce48","versionType":"git"},{"version":"82c5acb68c6390b9b5c402cac484406ad9c3ba28","status":"affected","lessThan":"5a26ce1b6be35d4d6f744279e76de639f2055412","versionType":"git"},{"version":"1c17f4373d4db1e1f0ebd3ddcd8e7a642927a826","status":"affected","lessThan":"ca5dec39bbfec68d2356bcd1e3dd5c0379c357e1","versionType":"git"},{"version":"1c17f4373d4db1e1f0ebd3ddcd8e7a642927a826","status":"affected","lessThan":"b7ff0e7a9ae3df2f123807a7e670bc348b1e1b9d","versionType":"git"},{"version":"6.12.112","status":"affected","lessThan":"6.12.119","versionType":"semver"},{"version":"6.18.16","status":"affected","lessThan":"6.18.65","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/tcp_ipv4.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/tcp_ipv4.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-11-30T13:42:04.437Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139096.json","commit":"5317bbbde1916a58cb1fadabb726eb126daf44c1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139096","state":"PUBLISHED","datePublished":"2026-11-30T13:31:32.434Z","dateUpdated":"2026-11-30T13:31:32.434Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.913Z"},"containers":{"cna":{"title":"tcp: initialize mapped children before route lookup","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: initialize mapped children before route lookup\n\nIPv4 passive opens on a dual-stack listener go through\ntcp_v4_syn_recv_sock() with tcp_v6_mapped_child_init() as the optional\ninitializer. The callback currently runs after the output route lookup.\nIf that lookup fails, tcp_done() destroys a clone whose pinet6 and\nipv6_fl_list still refer to the listener's state.\n\nWith the flowlabel list head in inet_sock, fl6_free_socklist() walks\nthe clone's list and RCU-frees its nodes without unlinking them from the\nlive listener. Subsequent flowlabel operations can use or free the nodes\nagain. Commit 858d2a4f67ff (\"tcp: fix potential race in\ntcp_v6_syn_recv_sock()\") moved the initializer before ehash insertion,\nbut did not cover this error path.\n\nInvoke the existing initializer after the IPv4 fields it consumes have\nbeen set, but before route lookup can fail. It needs neither the\ndestination nor sk_setup_caps(), and all later disposal paths remain\ncovered."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"72b5ce3396d8faf1adb26dd0212af1460ecd5afb","status":"affected","lessThan":"3509cbe37788164055e2fac9fd8b0d6a0a65ce48","versionType":"git"},{"version":"82c5acb68c6390b9b5c402cac484406ad9c3ba28","status":"affected","lessThan":"5a26ce1b6be35d4d6f744279e76de639f2055412","versionType":"git"},{"version":"1c17f4373d4db1e1f0ebd3ddcd8e7a642927a826","status":"affected","lessThan":"ca5dec39bbfec68d2356bcd1e3dd5c0379c357e1","versionType":"git"},{"version":"1c17f4373d4db1e1f0ebd3ddcd8e7a642927a826","status":"affected","lessThan":"b7ff0e7a9ae3df2f123807a7e670bc348b1e1b9d","versionType":"git"},{"version":"6.12.112","status":"affected","lessThan":"6.12.119","versionType":"semver"},{"version":"6.18.16","status":"affected","lessThan":"6.18.65","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/tcp_ipv4.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/tcp_ipv4.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3509cbe37788164055e2fac9fd8b0d6a0a65ce48"},{"url":"https://git.kernel.org/stable/c/5a26ce1b6be35d4d6f744279e76de639f2055412"},{"url":"https://git.kernel.org/stable/c/ca5dec39bbfec68d2356bcd1e3dd5c0379c357e1"},{"url":"https://git.kernel.org/stable/c/b7ff0e7a9ae3df2f123807a7e670bc348b1e1b9d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:31:32.434Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.112","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18.16","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}