{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-68363","id":"CVE-2025-68363","title":"bpf: Check skb->transport_header is set in bpf_skb_check_mtu","description":"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\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 ena","descriptionLong":"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\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.","published":"2025-12-24T10:32:51.236Z","updated":"2026-11-12T02:30:38.254903535Z","reserved":"2025-12-16T14:48:05.308Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"34b2021cc61642d61c3cf943d9e71925b827941b","lessThan":"b3171a5e4622e915e94599a55f4964078bdec27e","status":"affected","versionType":"git"},{"version":"34b2021cc61642d61c3cf943d9e71925b827941b","lessThan":"97b876fa88322625228792cf7a5fd77531815a80","status":"affected","versionType":"git"},{"version":"34b2021cc61642d61c3cf943d9e71925b827941b","lessThan":"30ce906557a21adef4cba5901c8e995dc18263a9","status":"affected","versionType":"git"},{"version":"34b2021cc61642d61c3cf943d9e71925b827941b","lessThan":"1c30e4afc5507f0069cc09bd561e510e4d97fbf7","status":"affected","versionType":"git"},{"version":"34b2021cc61642d61c3cf943d9e71925b827941b","lessThan":"942268e2726ac7f16e3ec49dbfbbbe7cf5af9da5","status":"affected","versionType":"git"},{"version":"34b2021cc61642d61c3cf943d9e71925b827941b","lessThan":"d946f3c98328171fa50ddb908593cf833587f725","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","lessThan":"5.12","status":"unaffected","versionType":"semver"},{"version":"6.1.160","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.120","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.63","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.13","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18.2","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b3171a5e4622e915e94599a55f4964078bdec27e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/97b876fa88322625228792cf7a5fd77531815a80","tags":["web"]},{"url":"https://git.kernel.org/stable/c/30ce906557a21adef4cba5901c8e995dc18263a9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/1c30e4afc5507f0069cc09bd561e510e4d97fbf7","tags":["web"]},{"url":"https://git.kernel.org/stable/c/942268e2726ac7f16e3ec49dbfbbbe7cf5af9da5","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d946f3c98328171fa50ddb908593cf833587f725","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68363.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68363","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00212,"epssPercentile":0.11641,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-68363","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68363","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-68363","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-68363","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}