CVE-2026-53218: netfilter: nft_exthdr: fix register tracking for F_PRESENT flag

Published Jun 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nftexthdr: fix register tracking for FPRESENT flag

nftexthdrinit() passes user-controlled priv->len to nftparseregisterstore(), which marks that many bytes in the register bitmap as initialized. However, when NFTEXTHDRFPRESENT is set, the eval paths write only 1 byte (nftregstore8) 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 nftregs.

Bail out if userspace requests too much data when FPRESENT is set.

Affected Software

16 affected componentsFixes available
Linux Linux kernel (netfilter nft_exthdr)
Microsoft azl3 kernel 6.6.141.1-1<6.6.143.1-1
6.6.143.1-1
Linux Linux kernel>=4.11<5.10.259
Linux Linux kernel>=5.11<5.15.210
Linux Linux kernel>=5.16<6.1.176
Linux Linux kernel>=6.2<6.6.143
Linux Linux kernel>=6.7<6.12.94
Linux Linux kernel>=6.13<6.18.36
Linux Linux kernel>=6.19<7.0.13
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5
Linux Linux kernel=7.1-rc6
Linux Linux kernel=7.1-rc7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.143.1-1
  2. Configuration

    Fix register tracking for the NFT_EXTHDR_F_PRESENT flag so that registers marked initialized in the bitmap match the bytes actually written on the eval path (e.g., when len > 4 and only 1 byte is written).

    netfilter: nft_exthdr F_PRESENT handling (priv->len passed to nft_parse_register_store) = Ensure register tracking is corrected when NFT_EXTHDR_F_PRESENT is set (do not mark beyond bytes actually written as initialized)
  3. Compensating control

    Bail out if userspace requests too much data when F_PRESENT is set.

Event History

Jun 25, 2026
CVE Published
via MITRE·08:39 AM
Data Sourced
via MITRE·08:39 AM
Description
Data Sourced
via NVD·09:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:12 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:12 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2026-53218?

CVE-2026-53218 has a severity rating of high, categorized as a 7 on the CVSS scale.

2

How do I fix CVE-2026-53218?

To fix CVE-2026-53218, update the Linux kernel to the latest version where this vulnerability has been patched.

3

What systems are affected by CVE-2026-53218?

CVE-2026-53218 affects the Linux kernel, specifically the netfilter nft_exthdr components.

4

What are the potential impacts of exploiting CVE-2026-53218?

Exploiting CVE-2026-53218 could allow an attacker to interact with the register bitmap in unintended ways, potentially leading to privilege escalation.

5

How was CVE-2026-53218 discovered?

CVE-2026-53218 was identified during a review of register tracking in the nft_exthdr component of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203