Junglewise Threat Intelligence

CVE-2026-53212: Linux Kernel netfilter use-after-free in nft_tunnel object destruction

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

Technologies: Linux. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's netfilter subsystem, specifically within the tunnel support component. This flaw could allow a local attacker to cause a system crash or potentially execute unauthorized actions by triggering a 'use-after-free' condition when network tunnel objects are destroyed. This impact primarily affects system stability and availability.

Technical details

A use-after-free vulnerability exists in net/netfilter/nft_tunnel.c within the Linux kernel. The function nft_tunnel_obj_destroy() incorrectly calls metadata_dst_free(), which performs an immediate kfree() on metadata_dst without considering the dst_entry reference count. If packets are still queued (e.g., in a netem qdisc) and hold a reference via dst_hold(), they are left with a dangling pointer. When these packets are later dequeued and processed by dst_release(), the kernel operates on already freed memory. The fix replaces metadata_dst_free() with dst_release() to ensure memory is only reclaimed after all active references are dropped.

Affected products

  • Linux Linux 4.19 through 6.9.x

Timeline

  • 2026-05-27: other: Vulnerability fixed in upstream source code
  • 2026-06-25: advisory: CVE published by NVD

References