{"api_version":"1","generated_at":"2026-12-04T13:19:53+00:00","cve":"CVE-2026-143130","urls":{"html":"https://cve.report/CVE-2026-143130","api":"https://cve.report/api/cve/CVE-2026-143130.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143130","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143130"},"summary":{"title":"net/sched: act_ife: encode configured zero metadata values","description":"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).","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:46","updated_at":"2026-12-03 10:17:46"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/289268b8ac0fc8b7a443b0a69c109533761de286","name":"https://git.kernel.org/stable/c/289268b8ac0fc8b7a443b0a69c109533761de286","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7d02c07c738bf5c4b9a7d7ef498fbf465c446853","name":"https://git.kernel.org/stable/c/7d02c07c738bf5c4b9a7d7ef498fbf465c446853","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b0f2e314b55d84c2f775843bcc3e625e6c5ba1bc","name":"https://git.kernel.org/stable/c/b0f2e314b55d84c2f775843bcc3e625e6c5ba1bc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/be110f7d7c4a8cf978ff720f2d759d47aa64d8c7","name":"https://git.kernel.org/stable/c/be110f7d7c4a8cf978ff720f2d759d47aa64d8c7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0c0b0215b8879806210234052f9790a0531fda69","name":"https://git.kernel.org/stable/c/0c0b0215b8879806210234052f9790a0531fda69","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fbecb50e6e7ada17bf3896c541b36054e7e5302f","name":"https://git.kernel.org/stable/c/fbecb50e6e7ada17bf3896c541b36054e7e5302f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143130","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143130","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 be110f7d7c4a8cf978ff720f2d759d47aa64d8c7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 0c0b0215b8879806210234052f9790a0531fda69 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 289268b8ac0fc8b7a443b0a69c109533761de286 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 b0f2e314b55d84c2f775843bcc3e625e6c5ba1bc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 fbecb50e6e7ada17bf3896c541b36054e7e5302f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ef6980b6becb1afd9d82a4f043749a10ae81bf14 7d02c07c738bf5c4b9a7d7ef498fbf465c446853 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.6","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.6 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.276 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143130","cve":"CVE-2026-143130","epss":"0.002150000","percentile":"0.126070000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/sched/act_ife.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"be110f7d7c4a8cf978ff720f2d759d47aa64d8c7","status":"affected","version":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","versionType":"git"},{"lessThan":"0c0b0215b8879806210234052f9790a0531fda69","status":"affected","version":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","versionType":"git"},{"lessThan":"289268b8ac0fc8b7a443b0a69c109533761de286","status":"affected","version":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","versionType":"git"},{"lessThan":"b0f2e314b55d84c2f775843bcc3e625e6c5ba1bc","status":"affected","version":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","versionType":"git"},{"lessThan":"fbecb50e6e7ada17bf3896c541b36054e7e5302f","status":"affected","version":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","versionType":"git"},{"lessThan":"7d02c07c738bf5c4b9a7d7ef498fbf465c446853","status":"affected","version":"ef6980b6becb1afd9d82a4f043749a10ae81bf14","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/sched/act_ife.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.6"},{"lessThan":"4.6","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.276","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.227","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.276","versionStartIncluding":"4.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"4.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"4.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"4.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"4.6","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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)."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:19:38.558Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143130","datePublished":"2026-12-03T09:19:38.558Z","dateReserved":"2026-12-03T03:10:28.352Z","dateUpdated":"2026-12-03T09:19:38.558Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:46","lastModifiedDate":"2026-12-03 10:17:46","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143130","Ordinal":"1","Title":"net/sched: act_ife: encode configured zero metadata values","CVE":"CVE-2026-143130","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143130","Ordinal":"1","NoteData":"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).","Type":"Description","Title":"net/sched: act_ife: encode configured zero metadata values"}]}}}