netfilter: nft_exthdr: fix register tracking for F_PRESENT flag
Summary
| CVE | CVE-2026-53218 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-25 09:16:39 UTC |
| Updated | 2026-06-25 09:16:39 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_exthdr: fix register tracking for F_PRESENT flag nft_exthdr_init() passes user-controlled priv->len to nft_parse_register_store(), which marks that many bytes in the register bitmap as initialized. However, when NFT_EXTHDR_F_PRESENT is set, the eval paths write only 1 byte (nft_reg_store8) or 4 bytes (*dest = 0 on TCP/DCCP error path). When len > 4, registers beyond the first are never written, retaining uninitialized stack data from nft_regs. Bail out if userspace requests too much data when F_PRESENT is set. |
Risk And Classification
EPSS: 0.001840000 probability, percentile 0.081790000 (date 2026-06-25)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 8738b1b6d0e639ca1fc0f61516afd3557ac4ecc6 git | Not specified |
| CNA | Linux | Linux | affected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 19748967d59c31d24d21d40b728570788310b237 git | Not specified |
| CNA | Linux | Linux | affected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 46fc15a044e9938e7ea77786fb37edd2cd74f031 git | Not specified |
| CNA | Linux | Linux | affected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 cd513e43b4b2bd1de39e2367bc4261c699a8652f git | Not specified |
| CNA | Linux | Linux | affected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 67b27434c43b68a97becda98c9f0c8cf6cba2134 git | Not specified |
| CNA | Linux | Linux | affected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 78069a6d8bc86c9e036eb82c2af4a19cc1871a53 git | Not specified |
| CNA | Linux | Linux | affected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 f08fb3d42fd3aad0b7a263da3ac3ebaf0845e265 git | Not specified |
| CNA | Linux | Linux | affected c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 772cecf198da732faebb5dcfc46d66a505be8495 git | Not specified |
| CNA | Linux | Linux | affected 4.11 | Not specified |
| CNA | Linux | Linux | unaffected 4.11 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.259 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.210 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.176 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.143 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.94 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.36 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.13 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/46fc15a044e9938e7ea77786fb37edd2cd74f031 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/8738b1b6d0e639ca1fc0f61516afd3557ac4ecc6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/772cecf198da732faebb5dcfc46d66a505be8495 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/78069a6d8bc86c9e036eb82c2af4a19cc1871a53 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/19748967d59c31d24d21d40b728570788310b237 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/f08fb3d42fd3aad0b7a263da3ac3ebaf0845e265 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/67b27434c43b68a97becda98c9f0c8cf6cba2134 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/cd513e43b4b2bd1de39e2367bc4261c699a8652f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.