{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143357",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.370Z",
        "datePublished": "2026-12-03T09:22:12.267Z",
        "dateUpdated": "2026-12-03T09:22:12.267Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:22:12.267Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't look for the SRH again in the End.BPF helpers\n\nA packet can have two SRHs. Thus input_action_end_bpf() uses\nIP6_FH_F_SKIP_RH to skip routing headers with segments_left 0. The helpers\nbpf_lwt_seg6_store_bytes() and bpf_lwt_seg6_adjust_srh() can reallocate the\nhead of the skb. Thus they look for the SRH again, but without this flag.\n\n  +------------------------+ <- the helpers: srh_state->srh\n  | SRH 1, segments_left 0 |\n  +------------------------+ <- input_action_end_bpf(): srh_state->srh\n  | SRH 2                  |    and srh_state->hdrlen\n  +------------------------+\n\nThen the helpers check offset against the wrong limits. If a helper changes\nTLVs, seg6_bpf_has_valid_srh() writes the length of SRH 2 to SRH 1.\n\nNeither helper changes the offset of the SRH from skb->data. Calculate the\nnew address from this offset. To add IP6_FH_F_SKIP_RH is not sufficient,\nbecause advance_nextseg() can set segments_left of SRH 2 to 0. The helper\nbpf_lwt_seg6_action() can change the headers and still looks for the SRH."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/core/filter.c"
                    ],
                    "versions": [
                        {
                            "version": "fbbc5bc2ab8c525f4aba4346249e3adc52d8e2c0",
                            "lessThan": "b94686f8c339f84ec128eb7c7939cdb546464964",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fbbc5bc2ab8c525f4aba4346249e3adc52d8e2c0",
                            "lessThan": "13424e35d033fb49b0d0f832eb668356ba9b5b27",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fbbc5bc2ab8c525f4aba4346249e3adc52d8e2c0",
                            "lessThan": "7c9fcfda8679ef648e07ba27da10c8439bebc065",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fbbc5bc2ab8c525f4aba4346249e3adc52d8e2c0",
                            "lessThan": "77593d4d83780deae9a3cc788ca88404f2949e12",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fbbc5bc2ab8c525f4aba4346249e3adc52d8e2c0",
                            "lessThan": "45bcc58d576705d2c001332766e10313f1c55bad",
                            "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/core/filter.c"
                    ],
                    "versions": [
                        {
                            "version": "5.13",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.13",
                            "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-rc2",
                            "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": "5.13",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.13",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.13",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.13",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.13",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/b94686f8c339f84ec128eb7c7939cdb546464964"
                },
                {
                    "url": "https://git.kernel.org/stable/c/13424e35d033fb49b0d0f832eb668356ba9b5b27"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7c9fcfda8679ef648e07ba27da10c8439bebc065"
                },
                {
                    "url": "https://git.kernel.org/stable/c/77593d4d83780deae9a3cc788ca88404f2949e12"
                },
                {
                    "url": "https://git.kernel.org/stable/c/45bcc58d576705d2c001332766e10313f1c55bad"
                }
            ],
            "title": "bpf: Don't look for the SRH again in the End.BPF helpers",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}