netfilter: nft_exthdr: fix register tracking for F_PRESENT flag

Summary

CVECVE-2026-53218
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-25 09:16:39 UTC
Updated2026-06-25 09:16:39 UTC
DescriptionIn 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

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report