{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143130",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.352Z",
        "datePublished": "2026-12-03T09:19:38.558Z",
        "dateUpdated": "2026-12-03T09:19:38.558Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:19:38.558Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_ife: encode configured zero metadata values\n\nReported by shaos <shawnq1@163.com> with a reproducer for the 32-bit\ncase, which was reproduced and verified in our test environment.\n\nThe issue:\nife_check_meta_u32() and ife_check_meta_u16() both reserve eight bytes\nof metadata for a configured value even when that value is zero, but the\nmatching encoder returns without calling ife_tlv_meta_encode(). The\nencoder therefore writes neither the TLV header nor its value, while the\nenclosing IFE length still includes the reserved bytes, exposing stale\nskb headroom contents to the peer.\n\nThe 32-bit helper has been present since the IFE action was introduced\n(v4.6); the 16-bit helper was added with the 16-bit metadata helpers used\nby the skbtcindex callback (v4.9). Both defects predate the oldest\nsupported stable kernel (5.10), so they are fixed together in this patch.\nEach hunk keeps its own Fixes: tag for provenance.\n\nThe fix:\nEncode any configured value, including zero; skip the TLV only when\nthere is neither a configured nor a runtime value. The runtime fallback\nis unchanged.\n\nA raw TCA_IFE_METALST netlink request is needed to express the\nconfigured zero: the IFE_META_SKBMARK attribute carries four zero\npayload bytes for the u32 helper, and IFE_META_TCINDEX two zero payload\nbytes for the 16-bit helper (not an absent or zero-length attribute).\nStock tc cannot build these requests; \"use mark 0x0\" emits no mark\nattribute and \"allow mark\" emits a zero-length one.\n\nConditions to recreate the bug:\nCONFIG_NET_ACT_IFE=y, CONFIG_NET_IFE_SKBMARK=y,\nCONFIG_NET_IFE_SKBTCINDEX=y, CONFIG_NET_CLS_MATCHALL=y,\nCONFIG_NET_SCH_INGRESS=y, CONFIG_USER_NS=y, CONFIG_NET_NS=y,\nCONFIG_VETH=y. In a fresh user and network namespace create a veth pair\nand attach clsact to the egress side. Install a matchall filter whose\nife encode action carries a zero skb mark (or a zero tcindex) in\nTCA_IFE_METALST. Send a frame through the veth and inspect the IFE\nmetadata in the received frame. The metadata region is eight bytes but\nholds neither a valid TLV header nor a value; it exposes prior headroom\ncontents. Setting the value to a nonzero one does not trigger the leak.\nThe namespace needs CAP_NET_ADMIN; no additional privilege is required.\nWith the fix the zero TLVs are 0001000800000000 (u32) and\n0005000600000000 (u16)."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/sched/act_ife.c"
                    ],
                    "versions": [
                        {
                            "version": "ef6980b6becb1afd9d82a4f043749a10ae81bf14",
                            "lessThan": "be110f7d7c4a8cf978ff720f2d759d47aa64d8c7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ef6980b6becb1afd9d82a4f043749a10ae81bf14",
                            "lessThan": "0c0b0215b8879806210234052f9790a0531fda69",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ef6980b6becb1afd9d82a4f043749a10ae81bf14",
                            "lessThan": "289268b8ac0fc8b7a443b0a69c109533761de286",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ef6980b6becb1afd9d82a4f043749a10ae81bf14",
                            "lessThan": "b0f2e314b55d84c2f775843bcc3e625e6c5ba1bc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ef6980b6becb1afd9d82a4f043749a10ae81bf14",
                            "lessThan": "fbecb50e6e7ada17bf3896c541b36054e7e5302f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ef6980b6becb1afd9d82a4f043749a10ae81bf14",
                            "lessThan": "7d02c07c738bf5c4b9a7d7ef498fbf465c446853",
                            "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/sched/act_ife.c"
                    ],
                    "versions": [
                        {
                            "version": "4.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.6",
                            "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": "4.6",
                                    "versionEndExcluding": "5.10.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.6",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.6",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.6",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.6",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.6",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/be110f7d7c4a8cf978ff720f2d759d47aa64d8c7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0c0b0215b8879806210234052f9790a0531fda69"
                },
                {
                    "url": "https://git.kernel.org/stable/c/289268b8ac0fc8b7a443b0a69c109533761de286"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b0f2e314b55d84c2f775843bcc3e625e6c5ba1bc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fbecb50e6e7ada17bf3896c541b36054e7e5302f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7d02c07c738bf5c4b9a7d7ef498fbf465c446853"
                }
            ],
            "title": "net/sched: act_ife: encode configured zero metadata values",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}