{"schema":"threatline.record/2","record":{"id":"CVE-2026-98371","aliases":[],"summary":"xfrm: iptfs: fix runt reassembly panic from short inner tot_len","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: iptfs: fix runt reassembly panic from short inner tot_len\n\nWhen the start of an inner packet is split across two outer packets\nsuch that fewer than 4 bytes land at the end of the first one,\n__input_process_payload() saves those bytes as a runt and skips the\niplen/iphlen validation performed for in-place packets. When the\ncontinuation packet arrives, iptfs_reassem_cont() only requires the\ndeclared inner length to be >= sizeof(ra_runt) (6) before allocating\nthe reassembly skb with that attacker-controlled length.\n\nHowever, __iptfs_iphlen() always returns the fixed minimum IP header\nsize (20 for IPv4, 40 for IPv6), so for an inner IPv4 tot_len in\n[6, 19] the header-completion copy writes past the declared packet\nlength, and the subsequent \"ipremain -= copylen\" underflows to ~4GB,\nleaving the payload copy length bounded only by blkoff (up to 64KB).\nAt runtime the skb_put() tailroom check turns this into\nskb_over_panic(), i.e. an unprivileged kernel panic (DoS), reachable\nlocally via userns+netns IPTFS SAs and remotely against IPTFS VPN\ngateways when the decrypted outer skb is linear (e.g. AF_PACKET taps,\ntun/tap delivery).\n\nAlign the runt path with the normal path by requiring the declared\ninner length to cover at least the IP header size. This also subsumes\nthe previous >= sizeof(ra_runt) check, since the minimum IP header\nis always larger than the runt buffer.\n\nThis issue was found by the autokbug dynamic kernel fuzzer at\nTencent Yunding Lab.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98371","source_modified_at":"2026-10-19T09:18:23.197Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"07569476544681816335099929ff3494dfbf6b05","lessThan":"a7018ee0ea8622ed59edc064be4e0f2c26464f53","status":"affected","versionType":"git"},{"version":"07569476544681816335099929ff3494dfbf6b05","lessThan":"5b8afb56ccb7c014b0f1ac40341708b200443c2d","status":"affected","versionType":"git"},{"version":"07569476544681816335099929ff3494dfbf6b05","lessThan":"dc33262be1fe43d0eb0b84fb58c6ed42e2f64a8c","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98371","source_modified_at":"2026-10-19T09:18:23.197Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.14","status":"affected"},{"version":"0","lessThan":"6.14","status":"unaffected","versionType":"semver"},{"version":"6.18.54","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.8","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98371","source_modified_at":"2026-10-19T09:18:23.197Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"5b8afb56ccb7c014b0f1ac40341708b200443c2d","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00161,"percentile":0.04964,"score_date":"2026-10-23"},"published_at":"2026-10-06T08:46:55.753Z","modified_at":"2026-10-19T09:18:23.197Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98371","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:18:23.197Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98371","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/a7018ee0ea8622ed59edc064be4e0f2c26464f53"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/5b8afb56ccb7c014b0f1ac40341708b200443c2d"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/dc33262be1fe43d0eb0b84fb58c6ed42e2f64a8c"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:18:23.197Z","content_hash":"428b9d6bcbe3e27a6e72afcb5f32c467688b93fa617e638f2a2fc234bc8443dc"}}
