{"id":"CVE-2025-68363","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Check skb->transport_header is set in bpf_skb_check_mtu\n\nThe bpf_skb_check_mtu helper needs to use skb->transport_header when\nthe BPF_MTU_CHK_SEGS flag is used:\n\n\t…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Check skb->transport_header is set in bpf_skb_check_mtu\n\nThe bpf_skb_check_mtu helper needs to use skb->transport_header when\nthe BPF_MTU_CHK_SEGS flag is used:\n\n\t…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 34b2021cc61642d61c3cf943d9e71925b827941b < b3171a5e4622e915e94599a55f4964078bdec27e","Linux >= 34b2021cc61642d61c3cf943d9e71925b827941b < 97b876fa88322625228792cf7a5fd77531815a80","Linux >= 34b2021cc61642d61c3cf943d9e71925b827941b < 30ce906557a21adef4cba5901c8e995dc18263a9","Linux >= 34b2021cc61642d61c3cf943d9e71925b827941b < 1c30e4afc5507f0069cc09bd561e510e4d97fbf7","Linux >= 34b2021cc61642d61c3cf943d9e71925b827941b < 942268e2726ac7f16e3ec49dbfbbbe7cf5af9da5","Linux >= 34b2021cc61642d61c3cf943d9e71925b827941b < d946f3c98328171fa50ddb908593cf833587f725","Linux 5.12"],"published":"2025-12-24","updated":"2026-10-15","sourceUpdated":"2026-10-15T02:18:12.150","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-68363","references":[{"url":"https://git.kernel.org/stable/c/1c30e4afc5507f0069cc09bd561e510e4d97fbf7","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/30ce906557a21adef4cba5901c8e995dc18263a9","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/942268e2726ac7f16e3ec49dbfbbbe7cf5af9da5","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/97b876fa88322625228792cf7a5fd77531815a80","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b3171a5e4622e915e94599a55f4964078bdec27e","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d946f3c98328171fa50ddb908593cf833587f725","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","label":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e"}],"tags":["nvd","cve.org"],"epss":0.00212,"epssPercentile":0.11443,"ingestedAt":"2026-09-08T15:33:26.996Z","slug":"CVE-2025-68363","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Check skb->transport_header is set in bpf_skb_check_mtu\n\nThe bpf_skb_check_mtu helper needs to use skb->transport_header when\nthe BPF_MTU_CHK_SEGS flag is used:\n\n\tbpf_skb_check_mtu(skb, ifindex, &mtu_len, 0, BPF_MTU_CHK_SEGS)\n\nThe transport_header is not always set. There is a WARN_ON_ONCE\nreport when CONFIG_DEBUG_NET is enabled + skb->gso_size is set +\nbpf_prog_test_run is used:\n\nWARNING: CPU: 1 PID: 2216 at ./include/linux/skbuff.h:3071\n skb_gso_validate_network_len\n bpf_skb_check_mtu\n bpf_prog_3920e25740a41171_tc_chk_segs_flag # A test in the next patch\n bpf_test_run\n bpf_prog_test_run_skb\n\nFor a normal ingress skb (not test_run), skb_reset_transport_header\nis performed but there is plan to avoid setting it as described in\ncommit 2170a1f09148 (\"net: no longer reset transport_header in __netif_receive_skb_core()\").\n\nThis patch fixes the bpf helper by checking\nskb_transport_header_was_set(). The check is done just before\nskb->transport_header is used, to avoid breaking the existing bpf prog.\nThe WARN_ON_ONCE is limited to bpf_prog_test_run, so targeting bpf-next.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}