{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143253",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.362Z",
        "datePublished": "2026-12-03T09:21:01.403Z",
        "dateUpdated": "2026-12-04T03:31:48.101Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:31:48.101Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: Check the Home Address option again before its address is used\n\nipv6_dest_hao() checks the Home Address option and sets IP6CB(skb)->dsthao\nto the offset of the destination options header. Later mip6_addr_swap() and\nmip6_destopt_reject() call ipv6_find_tlv() with that offset and use the 16\naddress bytes. They assume that the same header is still there.\n\nBut the seg6 and ioam6 lwtunnels, the End.B6 actions, ipv6_rpl_srh_rcv()\nand BPF lwt progs move or rewrite the IPv6 headers and keep IP6CB(skb).\nThen ipv6_find_tlv() parses other bytes. It returns when the type matches,\nbefore it checks that the option is inside the header. Nobody checks the\nlength of the option again. Thus mip6_addr_swap() can write after the data\nof the skb. mip6_destopt_reject() can copy that memory to an xfrm report.\n\nIn ipv6_find_tlv(), check the length of an option before its type. The\nreturned option is then inside the header, and the header is inside the\nlinear data. In both callers, ignore an option with a length other than 16,\nas if ipv6_find_tlv() found none. Then the ICMPv6 error goes to the source\naddress of the IPv6 header, and the xfrm report has no XFRMA_COADDR\nattribute. Nothing changes for a header that ip6_parse_tlv() accepted and\nthat is still in its place. For the other callers an incomplete option is\nnow absent:\n\n - ip6_find_1stfragopt() and mip6_rthdr_offset() can return another offset\n   for the fragment header or the xfrm header, also in a forwarded packet.\n - calipso_skbuff_optptr() returns NULL. netlbl_skbuff_getattr() and\n   netlbl_cache_add() then see no option. calipso_skbuff_delattr() returns\n   0 and the packet continues unchanged. Today it returns -EINVAL and\n   SELinux drops the packet. It already returns 0 when an earlier option is\n   incomplete. The receiver drops such a header in ip6_parse_tlv().\n\nThe code that moves the headers still does not reset the offset or the\nother fields of IP6CB(skb). If the bytes there look like a header with a\nHome Address option of length 16, both callers still use its address.\n\nThe first tag also covers ipv6_find_tlv(), because its early return did no\nharm before mip6_addr_swap(). The second tag is for mip6_destopt_reject()."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - ipv6_dest_hao() stores IP6CB(skb)->dsthao only after xfrm6_input_addr() matches a MIP6 xfrm state, and icmp6_send() later calls mip6_addr_swap() with that offset. The offset is stale only once ipv6_rpl_srh_rcv() (skb_pull/skb_push) or a seg6, ioam6, or BPF lwtunnel rewrites the headers. Those are off by default (rpl_seg_enabled is 0, no MIP6 state), and a local user-namespace CAP_NET_ADMIN turns them on and injects the IPv6 packet.\nAC:L - That same user writes rpl_seg_enabled, installs the MIP6 state xfrm6_input_addr() looks up, and sends one IPv6 packet. ipv6_rpl_srh_rcv() then rewrites the header and, with hop_limit 1 and a local next segment, icmpv6_send() calls mip6_addr_swap(). Segment compression and the ICMP are fixed by fields in that packet.\nPR:L - xfrm6_input_addr() frees the skb when no MIP6 state matches, and ipv6_rpl_srh_rcv() drops the packet while rpl_seg_enabled is 0. The state is installed by XFRM netlink, which checks netlink_net_capable(CAP_NET_ADMIN), and the sysctl is mode 0644 per netns. unshare -Urn gives an unprivileged user that capability.\nUI:N - The attacker creates the MIP6 xfrm state, sets rpl_seg_enabled, and transmits the IPv6 packet that ipv6_destopt_rcv() hands to ipv6_rpl_srh_rcv(). The trigger is that packet, with no separate victim action.\nS:U - The object mip6_addr_swap() corrupts is the host skb for this packet, in the kernel that received it. That is the same security authority as any other kernel memory corruption on the host.\nC:H - mip6_addr_swap() swap()s 16 bytes from the stale HAO that ipv6_find_tlv() returns into ipv6hdr->saddr, and mip6_destopt_reject() nla_puts those bytes as XFRMA_COADDR via km_report(). Placing TLV type 201 at the end of the rewritten header makes that read start past skb_tail_pointer(), in skb_shared_info, whose frag_list/nr_frags corruption yields a further kernel read.\nI:H - ipv6_find_tlv() used to return at the first byte equal to IPV6_TLV_HAO (201) before checking the option length against the header. mip6_addr_swap() then swap()s a full in6_addr at hao->addr. After ipv6_rpl_srh_rcv() moves the network header, those 16 attacker-chosen home-address bytes can be written past skb_tail_pointer() over skb_shared_info.\nA:H - The 16-byte write past skb_tail_pointer() in mip6_addr_swap() lands on skb_shared_info (dataref, nr_frags, or frag_list) when tailroom is smaller than 16 bytes. icmp6_send() then clones or frees that skb and the corrupted shared info oopses the kernel."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/ipv6/exthdrs_core.c",
                        "net/ipv6/icmp.c",
                        "net/ipv6/mip6.c"
                    ],
                    "versions": [
                        {
                            "version": "793832361fe7e9c3fcae2edd1d293c583a0a095c",
                            "lessThan": "9379517f4c0be58f1d328c5ced414fa95aa042a9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "793832361fe7e9c3fcae2edd1d293c583a0a095c",
                            "lessThan": "b4d82579848cd00acd047a9c5228ce6a6a410cb8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "793832361fe7e9c3fcae2edd1d293c583a0a095c",
                            "lessThan": "daf64f41011974ba76728684af72a7262f1ac2db",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "793832361fe7e9c3fcae2edd1d293c583a0a095c",
                            "lessThan": "e518f21c6299a5f356721c63cff88e19795e0b72",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "793832361fe7e9c3fcae2edd1d293c583a0a095c",
                            "lessThan": "49bd10deaa055068caba14b21bebe2ca7fdc06b5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "793832361fe7e9c3fcae2edd1d293c583a0a095c",
                            "lessThan": "30c71476d842b094651bd7712f6c8ee8716147d0",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/ipv6/exthdrs_core.c",
                        "net/ipv6/icmp.c",
                        "net/ipv6/mip6.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.19",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.19",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.276",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.227",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.19",
                                    "versionEndExcluding": "5.10.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.19",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.19",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.19",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.19",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.19",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/9379517f4c0be58f1d328c5ced414fa95aa042a9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b4d82579848cd00acd047a9c5228ce6a6a410cb8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/daf64f41011974ba76728684af72a7262f1ac2db"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e518f21c6299a5f356721c63cff88e19795e0b72"
                },
                {
                    "url": "https://git.kernel.org/stable/c/49bd10deaa055068caba14b21bebe2ca7fdc06b5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/30c71476d842b094651bd7712f6c8ee8716147d0"
                }
            ],
            "title": "ipv6: Check the Home Address option again before its address is used",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}