Junglewise Threat Intelligence

CVE-2026-53218: Linux kernel uninitialized memory leak in Netfilter nft_exthdr

CVE-2026-53218 · Severity: info · CVSS 0 · Published 2026-06-25

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's Netfilter subsystem, which manages network traffic filtering. A local attacker could potentially exploit this flaw to access sensitive information from the system's memory that should otherwise be protected. This occurs because certain network header checks do not properly clear memory registers, leaving behind data from previous operations.

Technical details

The vulnerability exists in the nft_exthdr_init() function within net/netfilter/nft_exthdr.c. When the NFT_EXTHDR_F_PRESENT flag is set, the function accepts a user-controlled length value (priv->len) and passes it to nft_parse_register_store(), marking those registers as initialized. However, the evaluation path only writes 1 or 4 bytes to the destination register. If a user requests a length greater than 4, the subsequent bytes in the register are never overwritten, allowing uninitialized stack data from nft_regs to be leaked back to userspace. The fix implements a check to ensure the length is exactly 1 byte when the F_PRESENT flag is active.

Affected products

  • Linux Linux kernel 4.11 to 6.9.4

Timeline

  • 2026-06-09: patched: Initial fix authored by Florian Westphal
  • 2026-06-25: advisory: CVE-2026-53218 published by NVD

References

Related threats