CVE-2026-53212

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_tunnel: fix use-after-free on object destroy nft_tunnel_obj_destroy() calls metadata_dst_free() which directly kfree()s the metadata_dst, ignoring the dst_entry refcount. Packets that took a reference via dst_hold() in nft_tunnel_obj_eval() and are still queued (e.g. in a netem qdisc) are left with a dangling pointer. When these packets are eventually dequeued, dst_release() operates on freed memory. Replace metadata_dst_free() with dst_release() so the metadata_dst is freed only after all references are dropped. The dst subsystem already handles metadata_dst cleanup in dst_destroy() when DST_METADATA is set.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*

History

02 Jul 2026, 20:53

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*
CWE CWE-416
References () https://git.kernel.org/stable/c/349df61526d2e39decc685d246202e3e284cfe05 - () https://git.kernel.org/stable/c/349df61526d2e39decc685d246202e3e284cfe05 - Patch
References () https://git.kernel.org/stable/c/55b79b1ae42372012413ce0413181d26679b17ef - () https://git.kernel.org/stable/c/55b79b1ae42372012413ce0413181d26679b17ef - Patch
References () https://git.kernel.org/stable/c/5e9ee18b27fde88cb6148202b33916c66693fe82 - () https://git.kernel.org/stable/c/5e9ee18b27fde88cb6148202b33916c66693fe82 - Patch
References () https://git.kernel.org/stable/c/8767fe4079affa74314d7eb3220e700150289842 - () https://git.kernel.org/stable/c/8767fe4079affa74314d7eb3220e700150289842 - Patch
References () https://git.kernel.org/stable/c/941d7394efda5e054e2d6f3e0dd0f6a9ba19aaa3 - () https://git.kernel.org/stable/c/941d7394efda5e054e2d6f3e0dd0f6a9ba19aaa3 - Patch
References () https://git.kernel.org/stable/c/c32b26aaa2f9216520a38b3f4bfeec846eb3eb8a - () https://git.kernel.org/stable/c/c32b26aaa2f9216520a38b3f4bfeec846eb3eb8a - Patch
References () https://git.kernel.org/stable/c/f9a0e4b61054cde89a2a77845293c726cc07cc43 - () https://git.kernel.org/stable/c/f9a0e4b61054cde89a2a77845293c726cc07cc43 - Patch
References () https://git.kernel.org/stable/c/fda6573a46ad24f35348e024905ee5bdf729797e - () https://git.kernel.org/stable/c/fda6573a46ad24f35348e024905ee5bdf729797e - Patch

28 Jun 2026, 08:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

25 Jun 2026, 09:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-25 09:16

Updated : 2026-07-02 20:53


NVD link : CVE-2026-53212

Mitre link : CVE-2026-53212

CVE.ORG link : CVE-2026-53212


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free