{"api_version":"1","generated_at":"2026-12-04T03:20:27+00:00","cve":"CVE-2026-143350","urls":{"html":"https://cve.report/CVE-2026-143350","api":"https://cve.report/api/cve/CVE-2026-143350.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143350","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143350"},"summary":{"title":"bpf: lwt: Free the skb when bpf_xmit() fails to expand the headroom","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: lwt: Free the skb when bpf_xmit() fails to expand the headroom\n\nWhen an LWT xmit program returns BPF_OK, bpf_xmit() makes sure that\nthe skb still has room for the link layer header. If\npskb_expand_head() fails there, bpf_xmit() returns -ENOMEM without\nfreeing the skb. Its callers, lwtunnel_xmit() and then\nip_finish_output2() or ip6_finish_output2(), take any return value\nother than LWTUNNEL_XMIT_CONTINUE to mean that the skb has been\nconsumed, so nothing frees it.\n\nEach such failure leaks the skb, together with what it holds: its dst\nand its charge to the sending socket, so the socket is never freed\neither. The other error paths of bpf_xmit() (BPF_DROP, an illegal\nreturn code, a changed protocol, a failed reroute) all free the skb.\n\nFree it here too.\n\nThe leak was found with kbound, a static analysis prototype for\nownership mismatches at kernel interfaces, on v7.2.12; it is present in\nmainline.\n\nBuild-tested with x86_64 and arm64 allmodconfig (W=1, sparse): no new\nwarnings. Run-tested on QEMU (x86_64, KVM) with KASAN: a route through a\ndummy device with an LWT xmit program that pushes one byte with\nbpf_skb_change_head(), so the headroom check has to expand the head, and\nfailslab limited to allocations under bpf_xmit(). Each of 10 pings then\nfails with ENOMEM. Without this patch each leaves a raw socket behind\n(RAW slab objects 6 -> 16); with it none does (6 -> 6), and nothing else\nis reported. Without injection both kernels go from 6 to 6.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:23","updated_at":"2026-12-03 10:18:23"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/02315d8352c9dc80075a6cfa493f62369324ec4c","name":"https://git.kernel.org/stable/c/02315d8352c9dc80075a6cfa493f62369324ec4c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/28aaef6f21fe0288bd7f0472af07df30df89647d","name":"https://git.kernel.org/stable/c/28aaef6f21fe0288bd7f0472af07df30df89647d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/eeb76b21f13aea28d9123feaeaf03cde7db681c0","name":"https://git.kernel.org/stable/c/eeb76b21f13aea28d9123feaeaf03cde7db681c0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5fe7b2bdf2784d5b3614208d4f9d0c37a5137f9a","name":"https://git.kernel.org/stable/c/5fe7b2bdf2784d5b3614208d4f9d0c37a5137f9a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5e96760b25fdedbbf9312827f1f237d6b18b03e8","name":"https://git.kernel.org/stable/c/5e96760b25fdedbbf9312827f1f237d6b18b03e8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e874c6f8d3dd0369764b44db40b01011821cfadc","name":"https://git.kernel.org/stable/c/e874c6f8d3dd0369764b44db40b01011821cfadc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143350","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143350","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2 28aaef6f21fe0288bd7f0472af07df30df89647d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2 e874c6f8d3dd0369764b44db40b01011821cfadc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2 02315d8352c9dc80075a6cfa493f62369324ec4c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2 5fe7b2bdf2784d5b3614208d4f9d0c37a5137f9a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2 eeb76b21f13aea28d9123feaeaf03cde7db681c0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2 5e96760b25fdedbbf9312827f1f237d6b18b03e8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.10","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.10 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.276 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143350","cve":"CVE-2026-143350","epss":"0.003790000","percentile":"0.340060000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/core/lwt_bpf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"28aaef6f21fe0288bd7f0472af07df30df89647d","status":"affected","version":"3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2","versionType":"git"},{"lessThan":"e874c6f8d3dd0369764b44db40b01011821cfadc","status":"affected","version":"3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2","versionType":"git"},{"lessThan":"02315d8352c9dc80075a6cfa493f62369324ec4c","status":"affected","version":"3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2","versionType":"git"},{"lessThan":"5fe7b2bdf2784d5b3614208d4f9d0c37a5137f9a","status":"affected","version":"3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2","versionType":"git"},{"lessThan":"eeb76b21f13aea28d9123feaeaf03cde7db681c0","status":"affected","version":"3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2","versionType":"git"},{"lessThan":"5e96760b25fdedbbf9312827f1f237d6b18b03e8","status":"affected","version":"3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/core/lwt_bpf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.10"},{"lessThan":"4.10","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.276","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.227","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.276","versionStartIncluding":"4.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"4.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"4.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"4.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"4.10","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: lwt: Free the skb when bpf_xmit() fails to expand the headroom\n\nWhen an LWT xmit program returns BPF_OK, bpf_xmit() makes sure that\nthe skb still has room for the link layer header. If\npskb_expand_head() fails there, bpf_xmit() returns -ENOMEM without\nfreeing the skb. Its callers, lwtunnel_xmit() and then\nip_finish_output2() or ip6_finish_output2(), take any return value\nother than LWTUNNEL_XMIT_CONTINUE to mean that the skb has been\nconsumed, so nothing frees it.\n\nEach such failure leaks the skb, together with what it holds: its dst\nand its charge to the sending socket, so the socket is never freed\neither. The other error paths of bpf_xmit() (BPF_DROP, an illegal\nreturn code, a changed protocol, a failed reroute) all free the skb.\n\nFree it here too.\n\nThe leak was found with kbound, a static analysis prototype for\nownership mismatches at kernel interfaces, on v7.2.12; it is present in\nmainline.\n\nBuild-tested with x86_64 and arm64 allmodconfig (W=1, sparse): no new\nwarnings. Run-tested on QEMU (x86_64, KVM) with KASAN: a route through a\ndummy device with an LWT xmit program that pushes one byte with\nbpf_skb_change_head(), so the headroom check has to expand the head, and\nfailslab limited to allocations under bpf_xmit(). Each of 10 pings then\nfails with ENOMEM. Without this patch each leaves a raw socket behind\n(RAW slab objects 6 -> 16); with it none does (6 -> 6), and nothing else\nis reported. Without injection both kernels go from 6 to 6."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:22:07.726Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/28aaef6f21fe0288bd7f0472af07df30df89647d"},{"url":"https://git.kernel.org/stable/c/e874c6f8d3dd0369764b44db40b01011821cfadc"},{"url":"https://git.kernel.org/stable/c/02315d8352c9dc80075a6cfa493f62369324ec4c"},{"url":"https://git.kernel.org/stable/c/5fe7b2bdf2784d5b3614208d4f9d0c37a5137f9a"},{"url":"https://git.kernel.org/stable/c/eeb76b21f13aea28d9123feaeaf03cde7db681c0"},{"url":"https://git.kernel.org/stable/c/5e96760b25fdedbbf9312827f1f237d6b18b03e8"}],"title":"bpf: lwt: Free the skb when bpf_xmit() fails to expand the headroom","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143350","datePublished":"2026-12-03T09:22:07.726Z","dateReserved":"2026-12-03T03:10:28.368Z","dateUpdated":"2026-12-03T09:22:07.726Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:23","lastModifiedDate":"2026-12-03 10:18:23","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143350","Ordinal":"1","Title":"bpf: lwt: Free the skb when bpf_xmit() fails to expand the headr","CVE":"CVE-2026-143350","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143350","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: lwt: Free the skb when bpf_xmit() fails to expand the headroom\n\nWhen an LWT xmit program returns BPF_OK, bpf_xmit() makes sure that\nthe skb still has room for the link layer header. If\npskb_expand_head() fails there, bpf_xmit() returns -ENOMEM without\nfreeing the skb. Its callers, lwtunnel_xmit() and then\nip_finish_output2() or ip6_finish_output2(), take any return value\nother than LWTUNNEL_XMIT_CONTINUE to mean that the skb has been\nconsumed, so nothing frees it.\n\nEach such failure leaks the skb, together with what it holds: its dst\nand its charge to the sending socket, so the socket is never freed\neither. The other error paths of bpf_xmit() (BPF_DROP, an illegal\nreturn code, a changed protocol, a failed reroute) all free the skb.\n\nFree it here too.\n\nThe leak was found with kbound, a static analysis prototype for\nownership mismatches at kernel interfaces, on v7.2.12; it is present in\nmainline.\n\nBuild-tested with x86_64 and arm64 allmodconfig (W=1, sparse): no new\nwarnings. Run-tested on QEMU (x86_64, KVM) with KASAN: a route through a\ndummy device with an LWT xmit program that pushes one byte with\nbpf_skb_change_head(), so the headroom check has to expand the head, and\nfailslab limited to allocations under bpf_xmit(). Each of 10 pings then\nfails with ENOMEM. Without this patch each leaves a raw socket behind\n(RAW slab objects 6 -> 16); with it none does (6 -> 6), and nothing else\nis reported. Without injection both kernels go from 6 to 6.","Type":"Description","Title":"bpf: lwt: Free the skb when bpf_xmit() fails to expand the headr"}]}}}