{"api_version":"1","generated_at":"2026-12-04T12:43:49+00:00","cve":"CVE-2026-143359","urls":{"html":"https://cve.report/CVE-2026-143359","api":"https://cve.report/api/cve/CVE-2026-143359.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143359","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143359"},"summary":{"title":"bpf: Reject non-IPv6 packets in BPF_LWT_ENCAP_SEG6","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject non-IPv6 packets in BPF_LWT_ENCAP_SEG6\n\nThe mode BPF_LWT_ENCAP_SEG6 of bpf_lwt_push_encap() pushes an IPv6 header\nand an SRH, and it replaces the dst. The SRH says that IPv6 follows, and\nskb->protocol does not change. Thus the mode assumes an IPv6 packet, but an\nlwt_in prog also runs for IPv4 packets. After the prog, bpf_input() calls\norig_input() of the old dst. This IPv4 handler reads the pushed headers as\nIPv4. It can write after the packet data, and the kernel crashes.\n\n                 after the push         orig_input() expects\n                 ---------------------  --------------------\n  skb->protocol  ETH_P_IP               ETH_P_IP\n  dst            rt6_info               rtable\n  packet         | IPv6 | SRH | IPv4 |  | IPv4 |\n\nThe mode BPF_LWT_ENCAP_SEG6_INLINE returns -EBADMSG for non-IPv6 packets.\nApply this check to both modes. End.BPF does not change, because\nseg6_local_input() drops non-IPv6 packets.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:25","updated_at":"2026-12-03 10:18:25"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/4a612ff71a094f2d77a4b07787ef45cfc2eb04a3","name":"https://git.kernel.org/stable/c/4a612ff71a094f2d77a4b07787ef45cfc2eb04a3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/58e39f8d58b141b96c030008a20dde9d625ec997","name":"https://git.kernel.org/stable/c/58e39f8d58b141b96c030008a20dde9d625ec997","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d7106132b69e6916762bbbfd95fbcb60be4b8d9b","name":"https://git.kernel.org/stable/c/d7106132b69e6916762bbbfd95fbcb60be4b8d9b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d29c91e8c031bc9b5a78dc199235893c040877db","name":"https://git.kernel.org/stable/c/d29c91e8c031bc9b5a78dc199235893c040877db","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ad3d6fe9772e06b50082d91e5906aa21ed2cb4ac","name":"https://git.kernel.org/stable/c/ad3d6fe9772e06b50082d91e5906aa21ed2cb4ac","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/32f8d033044693f77f98da40ab206e38108cde6f","name":"https://git.kernel.org/stable/c/32f8d033044693f77f98da40ab206e38108cde6f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143359","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143359","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe94cc290f535709d3c5ebd1e472dfd0aec7ee79 4a612ff71a094f2d77a4b07787ef45cfc2eb04a3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe94cc290f535709d3c5ebd1e472dfd0aec7ee79 32f8d033044693f77f98da40ab206e38108cde6f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe94cc290f535709d3c5ebd1e472dfd0aec7ee79 ad3d6fe9772e06b50082d91e5906aa21ed2cb4ac git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe94cc290f535709d3c5ebd1e472dfd0aec7ee79 d29c91e8c031bc9b5a78dc199235893c040877db git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe94cc290f535709d3c5ebd1e472dfd0aec7ee79 d7106132b69e6916762bbbfd95fbcb60be4b8d9b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fe94cc290f535709d3c5ebd1e472dfd0aec7ee79 58e39f8d58b141b96c030008a20dde9d625ec997 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.18 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":"143359","cve":"CVE-2026-143359","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/filter.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"4a612ff71a094f2d77a4b07787ef45cfc2eb04a3","status":"affected","version":"fe94cc290f535709d3c5ebd1e472dfd0aec7ee79","versionType":"git"},{"lessThan":"32f8d033044693f77f98da40ab206e38108cde6f","status":"affected","version":"fe94cc290f535709d3c5ebd1e472dfd0aec7ee79","versionType":"git"},{"lessThan":"ad3d6fe9772e06b50082d91e5906aa21ed2cb4ac","status":"affected","version":"fe94cc290f535709d3c5ebd1e472dfd0aec7ee79","versionType":"git"},{"lessThan":"d29c91e8c031bc9b5a78dc199235893c040877db","status":"affected","version":"fe94cc290f535709d3c5ebd1e472dfd0aec7ee79","versionType":"git"},{"lessThan":"d7106132b69e6916762bbbfd95fbcb60be4b8d9b","status":"affected","version":"fe94cc290f535709d3c5ebd1e472dfd0aec7ee79","versionType":"git"},{"lessThan":"58e39f8d58b141b96c030008a20dde9d625ec997","status":"affected","version":"fe94cc290f535709d3c5ebd1e472dfd0aec7ee79","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/core/filter.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.18"},{"lessThan":"4.18","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.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"4.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject non-IPv6 packets in BPF_LWT_ENCAP_SEG6\n\nThe mode BPF_LWT_ENCAP_SEG6 of bpf_lwt_push_encap() pushes an IPv6 header\nand an SRH, and it replaces the dst. The SRH says that IPv6 follows, and\nskb->protocol does not change. Thus the mode assumes an IPv6 packet, but an\nlwt_in prog also runs for IPv4 packets. After the prog, bpf_input() calls\norig_input() of the old dst. This IPv4 handler reads the pushed headers as\nIPv4. It can write after the packet data, and the kernel crashes.\n\n                 after the push         orig_input() expects\n                 ---------------------  --------------------\n  skb->protocol  ETH_P_IP               ETH_P_IP\n  dst            rt6_info               rtable\n  packet         | IPv6 | SRH | IPv4 |  | IPv4 |\n\nThe mode BPF_LWT_ENCAP_SEG6_INLINE returns -EBADMSG for non-IPv6 packets.\nApply this check to both modes. End.BPF does not change, because\nseg6_local_input() drops non-IPv6 packets."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:22:13.623Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/4a612ff71a094f2d77a4b07787ef45cfc2eb04a3"},{"url":"https://git.kernel.org/stable/c/32f8d033044693f77f98da40ab206e38108cde6f"},{"url":"https://git.kernel.org/stable/c/ad3d6fe9772e06b50082d91e5906aa21ed2cb4ac"},{"url":"https://git.kernel.org/stable/c/d29c91e8c031bc9b5a78dc199235893c040877db"},{"url":"https://git.kernel.org/stable/c/d7106132b69e6916762bbbfd95fbcb60be4b8d9b"},{"url":"https://git.kernel.org/stable/c/58e39f8d58b141b96c030008a20dde9d625ec997"}],"title":"bpf: Reject non-IPv6 packets in BPF_LWT_ENCAP_SEG6","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143359","datePublished":"2026-12-03T09:22:13.623Z","dateReserved":"2026-12-03T03:10:28.371Z","dateUpdated":"2026-12-03T09:22:13.623Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:25","lastModifiedDate":"2026-12-03 10:18:25","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143359","Ordinal":"1","Title":"bpf: Reject non-IPv6 packets in BPF_LWT_ENCAP_SEG6","CVE":"CVE-2026-143359","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143359","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject non-IPv6 packets in BPF_LWT_ENCAP_SEG6\n\nThe mode BPF_LWT_ENCAP_SEG6 of bpf_lwt_push_encap() pushes an IPv6 header\nand an SRH, and it replaces the dst. The SRH says that IPv6 follows, and\nskb->protocol does not change. Thus the mode assumes an IPv6 packet, but an\nlwt_in prog also runs for IPv4 packets. After the prog, bpf_input() calls\norig_input() of the old dst. This IPv4 handler reads the pushed headers as\nIPv4. It can write after the packet data, and the kernel crashes.\n\n                 after the push         orig_input() expects\n                 ---------------------  --------------------\n  skb->protocol  ETH_P_IP               ETH_P_IP\n  dst            rt6_info               rtable\n  packet         | IPv6 | SRH | IPv4 |  | IPv4 |\n\nThe mode BPF_LWT_ENCAP_SEG6_INLINE returns -EBADMSG for non-IPv6 packets.\nApply this check to both modes. End.BPF does not change, because\nseg6_local_input() drops non-IPv6 packets.","Type":"Description","Title":"bpf: Reject non-IPv6 packets in BPF_LWT_ENCAP_SEG6"}]}}}