{"id":"CVE-2026-98570","published":"2026-10-18T15:18:36Z","modified":"2026-10-19T09:21:55Z","title":"net: ipv6: keep room for the mac header in dst_dev_overhead()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ipv6: keep room for the mac header in dst_dev_overhead()\n\nThe seg6, ioam6 and rpl lwtunnels size their skb_cow_head() request as\nthe length they are about to push plus dst_dev_overhead(), then push the\nnew headers and rebuild the mac header below them with\nskb_mac_header_rebuild().  That rebuild needs skb->mac_len of headroom,\nbut dst_dev_overhead() leaves LL_RESERVED_SPACE() of the egress device,\n16 bytes for plain Ethernet.\n\nWhere the mac header is longer than that, as it is on ingress through a\nVLAN device with reorder_hdr off, the rebuild runs out of room:\nskb_set_mac_header(skb, -skb->mac_len) computes a negative offset,\nstores it unchecked in the u16 skb->mac_header, and the memmove that\nfollows writes skb->mac_len bytes about 64 KB past skb->head.\nForwarding plain ping6 traffic through such a device reproduces it on\nall five seg6 encapsulation modes and on the rpl and ioam6 inline paths;\nskb->mac_header comes back as 65534 on a 704-byte head.\n\nReturn the larger of the two.  The helper already returns skb->mac_len\nwhen it has no dst, so this only makes the other branch agree, and it\ncovers every caller rather than each call site in turn.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00198,"percentile":0.05487,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/36c07127924f11fc5741a780abcaaf808fe9ef13","tags":[]},{"url":"https://git.kernel.org/stable/c/87cd6b717e4069dca34e0866e57eaeb44d3b173e","tags":[]}],"priority":{"score":1.1,"factors":[{"name":"EPSS percentile","points":1.1}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= dce525185bc92864e5a318040285ee070563fe34, < 36c07127924f11fc5741a780abcaaf808fe9ef13",">= dce525185bc92864e5a318040285ee070563fe34, < 87cd6b717e4069dca34e0866e57eaeb44d3b173e","8471e228448a818e4c27cab4b681b2e758e46cf5","c432cd18a07b623651ed15ea167bd303467004cc","634710a372ba65bee667c2f6e58a97658c639eab","c447c5a9c47bb4858ab12bf90879fe595d2b7f46","ab9de9c48316d2622d3bf353916b99971570e2c9","2fcc9f3798ef82399564d247458e69abd10e683b","371d8dc298b4f59e99b4564ac5d906fce0932c69","b26f015dfb07b6be12d005a0ed0c5c43b7bedbf3"]},{"vendor":"Linux","product":"Linux","versions":["6.14"]}],"euvd":{"id":"EUVD-2026-103615","exploited":false,"provenance":"source"}}