{"api_version":"1","generated_at":"2026-05-06T22:02:05+00:00","cve":"CVE-2026-43139","urls":{"html":"https://cve.report/CVE-2026-43139","api":"https://cve.report/api/cve/CVE-2026-43139.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-43139","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-43139"},"summary":{"title":"xfrm6: fix uninitialized saddr in xfrm6_get_saddr()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm6: fix uninitialized saddr in xfrm6_get_saddr()\n\nxfrm6_get_saddr() does not check the return value of\nipv6_dev_get_saddr(). When ipv6_dev_get_saddr() fails to find a suitable\nsource address (returns -EADDRNOTAVAIL), saddr->in6 is left\nuninitialized, but xfrm6_get_saddr() still returns 0 (success).\n\nThis causes the caller xfrm_tmpl_resolve_one() to use the uninitialized\naddress in xfrm_state_find(), triggering KMSAN warning:\n\n=====================================================\nBUG: KMSAN: uninit-value in xfrm_state_find+0x2424/0xa940\n xfrm_state_find+0x2424/0xa940\n xfrm_resolve_and_create_bundle+0x906/0x5a20\n xfrm_lookup_with_ifid+0xcc0/0x3770\n xfrm_lookup_route+0x63/0x2b0\n ip_route_output_flow+0x1ce/0x270\n udp_sendmsg+0x2ce1/0x3400\n inet_sendmsg+0x1ef/0x2a0\n __sock_sendmsg+0x278/0x3d0\n __sys_sendto+0x593/0x720\n __x64_sys_sendto+0x130/0x200\n x64_sys_call+0x332b/0x3e70\n do_syscall_64+0xd3/0xf80\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nLocal variable tmp.i.i created at:\n xfrm_resolve_and_create_bundle+0x3e3/0x5a20\n xfrm_lookup_with_ifid+0xcc0/0x3770\n=====================================================\n\nFix by checking the return value of ipv6_dev_get_saddr() and propagating\nthe error.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-06 12:16:31","updated_at":"2026-05-06 13:07:51"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/6535867673bf301d52aa00593a4d1d18cc3922fa","name":"https://git.kernel.org/stable/c/6535867673bf301d52aa00593a4d1d18cc3922fa","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3dcd1664ac15eee6a690daec7c4ffc59190406f7","name":"https://git.kernel.org/stable/c/3dcd1664ac15eee6a690daec7c4ffc59190406f7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1799d8abeabc68ec05679292aaf6cba93b343c05","name":"https://git.kernel.org/stable/c/1799d8abeabc68ec05679292aaf6cba93b343c05","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/dc0abce055134cb83b0d981d31ceb20dda419787","name":"https://git.kernel.org/stable/c/dc0abce055134cb83b0d981d31ceb20dda419787","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/719918fc88df6da023dfff370cd965151a5afd7f","name":"https://git.kernel.org/stable/c/719918fc88df6da023dfff370cd965151a5afd7f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4f28141786e1fe884ce42a5197ba9beed540f0ea","name":"https://git.kernel.org/stable/c/4f28141786e1fe884ce42a5197ba9beed540f0ea","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/eb2ee15290af14c60b45cf2b73f5687d1d077d9b","name":"https://git.kernel.org/stable/c/eb2ee15290af14c60b45cf2b73f5687d1d077d9b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c7221e7bd8fc2ef38a0b27be580d9d202281306b","name":"https://git.kernel.org/stable/c/c7221e7bd8fc2ef38a0b27be580d9d202281306b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-43139","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43139","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a1e59abf824969554b90facd44a4ab16e265afa4 4f28141786e1fe884ce42a5197ba9beed540f0ea git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a1e59abf824969554b90facd44a4ab16e265afa4 6535867673bf301d52aa00593a4d1d18cc3922fa git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a1e59abf824969554b90facd44a4ab16e265afa4 eb2ee15290af14c60b45cf2b73f5687d1d077d9b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a1e59abf824969554b90facd44a4ab16e265afa4 719918fc88df6da023dfff370cd965151a5afd7f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a1e59abf824969554b90facd44a4ab16e265afa4 dc0abce055134cb83b0d981d31ceb20dda419787 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a1e59abf824969554b90facd44a4ab16e265afa4 c7221e7bd8fc2ef38a0b27be580d9d202281306b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a1e59abf824969554b90facd44a4ab16e265afa4 3dcd1664ac15eee6a690daec7c4ffc59190406f7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a1e59abf824969554b90facd44a4ab16e265afa4 1799d8abeabc68ec05679292aaf6cba93b343c05 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.252 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.202 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.165 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.128 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.75 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.16 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.6 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/ipv6/xfrm6_policy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"4f28141786e1fe884ce42a5197ba9beed540f0ea","status":"affected","version":"a1e59abf824969554b90facd44a4ab16e265afa4","versionType":"git"},{"lessThan":"6535867673bf301d52aa00593a4d1d18cc3922fa","status":"affected","version":"a1e59abf824969554b90facd44a4ab16e265afa4","versionType":"git"},{"lessThan":"eb2ee15290af14c60b45cf2b73f5687d1d077d9b","status":"affected","version":"a1e59abf824969554b90facd44a4ab16e265afa4","versionType":"git"},{"lessThan":"719918fc88df6da023dfff370cd965151a5afd7f","status":"affected","version":"a1e59abf824969554b90facd44a4ab16e265afa4","versionType":"git"},{"lessThan":"dc0abce055134cb83b0d981d31ceb20dda419787","status":"affected","version":"a1e59abf824969554b90facd44a4ab16e265afa4","versionType":"git"},{"lessThan":"c7221e7bd8fc2ef38a0b27be580d9d202281306b","status":"affected","version":"a1e59abf824969554b90facd44a4ab16e265afa4","versionType":"git"},{"lessThan":"3dcd1664ac15eee6a690daec7c4ffc59190406f7","status":"affected","version":"a1e59abf824969554b90facd44a4ab16e265afa4","versionType":"git"},{"lessThan":"1799d8abeabc68ec05679292aaf6cba93b343c05","status":"affected","version":"a1e59abf824969554b90facd44a4ab16e265afa4","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/ipv6/xfrm6_policy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.19"},{"lessThan":"2.6.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.252","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.202","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.165","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.128","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.75","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.16","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.252","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.202","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.165","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.128","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.75","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.16","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.6","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"2.6.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm6: fix uninitialized saddr in xfrm6_get_saddr()\n\nxfrm6_get_saddr() does not check the return value of\nipv6_dev_get_saddr(). When ipv6_dev_get_saddr() fails to find a suitable\nsource address (returns -EADDRNOTAVAIL), saddr->in6 is left\nuninitialized, but xfrm6_get_saddr() still returns 0 (success).\n\nThis causes the caller xfrm_tmpl_resolve_one() to use the uninitialized\naddress in xfrm_state_find(), triggering KMSAN warning:\n\n=====================================================\nBUG: KMSAN: uninit-value in xfrm_state_find+0x2424/0xa940\n xfrm_state_find+0x2424/0xa940\n xfrm_resolve_and_create_bundle+0x906/0x5a20\n xfrm_lookup_with_ifid+0xcc0/0x3770\n xfrm_lookup_route+0x63/0x2b0\n ip_route_output_flow+0x1ce/0x270\n udp_sendmsg+0x2ce1/0x3400\n inet_sendmsg+0x1ef/0x2a0\n __sock_sendmsg+0x278/0x3d0\n __sys_sendto+0x593/0x720\n __x64_sys_sendto+0x130/0x200\n x64_sys_call+0x332b/0x3e70\n do_syscall_64+0xd3/0xf80\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nLocal variable tmp.i.i created at:\n xfrm_resolve_and_create_bundle+0x3e3/0x5a20\n xfrm_lookup_with_ifid+0xcc0/0x3770\n=====================================================\n\nFix by checking the return value of ipv6_dev_get_saddr() and propagating\nthe error."}],"providerMetadata":{"dateUpdated":"2026-05-06T11:27:24.898Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/4f28141786e1fe884ce42a5197ba9beed540f0ea"},{"url":"https://git.kernel.org/stable/c/6535867673bf301d52aa00593a4d1d18cc3922fa"},{"url":"https://git.kernel.org/stable/c/eb2ee15290af14c60b45cf2b73f5687d1d077d9b"},{"url":"https://git.kernel.org/stable/c/719918fc88df6da023dfff370cd965151a5afd7f"},{"url":"https://git.kernel.org/stable/c/dc0abce055134cb83b0d981d31ceb20dda419787"},{"url":"https://git.kernel.org/stable/c/c7221e7bd8fc2ef38a0b27be580d9d202281306b"},{"url":"https://git.kernel.org/stable/c/3dcd1664ac15eee6a690daec7c4ffc59190406f7"},{"url":"https://git.kernel.org/stable/c/1799d8abeabc68ec05679292aaf6cba93b343c05"}],"title":"xfrm6: fix uninitialized saddr in xfrm6_get_saddr()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-43139","datePublished":"2026-05-06T11:27:24.898Z","dateReserved":"2026-05-01T14:12:55.988Z","dateUpdated":"2026-05-06T11:27:24.898Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-06 12:16:31","lastModifiedDate":"2026-05-06 13:07:51","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"43139","Ordinal":"1","Title":"xfrm6: fix uninitialized saddr in xfrm6_get_saddr()","CVE":"CVE-2026-43139","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"43139","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm6: fix uninitialized saddr in xfrm6_get_saddr()\n\nxfrm6_get_saddr() does not check the return value of\nipv6_dev_get_saddr(). When ipv6_dev_get_saddr() fails to find a suitable\nsource address (returns -EADDRNOTAVAIL), saddr->in6 is left\nuninitialized, but xfrm6_get_saddr() still returns 0 (success).\n\nThis causes the caller xfrm_tmpl_resolve_one() to use the uninitialized\naddress in xfrm_state_find(), triggering KMSAN warning:\n\n=====================================================\nBUG: KMSAN: uninit-value in xfrm_state_find+0x2424/0xa940\n xfrm_state_find+0x2424/0xa940\n xfrm_resolve_and_create_bundle+0x906/0x5a20\n xfrm_lookup_with_ifid+0xcc0/0x3770\n xfrm_lookup_route+0x63/0x2b0\n ip_route_output_flow+0x1ce/0x270\n udp_sendmsg+0x2ce1/0x3400\n inet_sendmsg+0x1ef/0x2a0\n __sock_sendmsg+0x278/0x3d0\n __sys_sendto+0x593/0x720\n __x64_sys_sendto+0x130/0x200\n x64_sys_call+0x332b/0x3e70\n do_syscall_64+0xd3/0xf80\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nLocal variable tmp.i.i created at:\n xfrm_resolve_and_create_bundle+0x3e3/0x5a20\n xfrm_lookup_with_ifid+0xcc0/0x3770\n=====================================================\n\nFix by checking the return value of ipv6_dev_get_saddr() and propagating\nthe error.","Type":"Description","Title":"xfrm6: fix uninitialized saddr in xfrm6_get_saddr()"}]}}}