{"id":"CVE-2026-143217","summary":"ipvlan: make outbound skb headers writable","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nipvlan: make outbound skb headers writable\n\nIn L3 and L3S modes, ipvlan_process_v4_outbound() and\nipvlan_process_v6_outbound() hand the skb to ip_local_out() and\nip6_local_out(). The IP output path assumes it owns the network header:\n__ip_local_out() rewrites tot_len and the header checksum, and\ntransport-mode XFRM can memmove the network header into the headroom\nwhen xfrm_skb_check_space() finds enough room, without copying.\n\nThe skb reaching ipvlan can have its header shared with another skb,\nfor example after an AF_PACKET tap on the ipvlan device or a tc mirred\nmirror action. pskb_network_may_pull() only makes the header linear;\nit does not unshare an already linear head. The writes above then\nmodify the other skb. If that skb is on the receive path and its IPv4\nheader was already validated, IPv4 option processing can use the\nmodified header, write past the linear data, and corrupt\nskb_shared_info.\n\nUse skb_cow_head() before taking header pointers and entering the local\nIP output path, like ip_forward() does with skb_cow() before it touches\nthe header. Only checking skb_header_cloned() is enough here: skbs that\nTCP transmits are clones of the write-queue skb, whose header area has\nbeen released with __skb_header_release(). Their headers are private,\nso they are not copied, which avoids a reallocation for every TCP\nsegment sent through an ipvlan slave.\n\nIf the allocation fails, the existing error accounting and drop paths\nare used. L2 mode is unaffected.\n\n[edumazet: use skb_cow_head() instead of skb_unclone() to avoid\n copying every TCP segment, reword changelog]","modified":"2026-12-03T11:01:42.660568032Z","published":"2026-12-03T09:20:36.542Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143217.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2ce3e2f1ae9c31dbff747428f03aa78ee6876dfe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/53abd5697ec283cfb108ccbbdc9cbea4cdef004b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a45dbf182137275f44ad7c8bc8acd23f7af6b2cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f9e9fe4d592fa01769305a5cf5695fabf14c54b5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143217.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143217"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2ad7bf3638411cb547f2823df08166c13ab04269"},{"fixed":"f9e9fe4d592fa01769305a5cf5695fabf14c54b5"},{"fixed":"2ce3e2f1ae9c31dbff747428f03aa78ee6876dfe"},{"fixed":"53abd5697ec283cfb108ccbbdc9cbea4cdef004b"},{"fixed":"a45dbf182137275f44ad7c8bc8acd23f7af6b2cf"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143217.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.19.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143217.json"}}],"schema_version":"1.9.2"}