CVE 7.8 HIGH

netfilter: nft_tunnel: fix use-after-free on object destroy_CVE-2026-53212

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

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.

Basic Information

ID CVE-2026-53212
Source Linux
Published Jun 25, 2026 at 08:39
Modified Jun 28, 2026 at 06:40

Affected Product

Vendor Linux
Product Linux
Version af308b94a2a4a5a27bec9028354c4df444a7c8ba
Affected Versions Linux Linux af308b94a2a4a5a27bec9028354c4df444a7c8ba
Linux Linux af308b94a2a4a5a27bec9028354c4df444a7c8ba
Linux Linux af308b94a2a4a5a27bec9028354c4df444a7c8ba
Linux Linux af308b94a2a4a5a27bec9028354c4df444a7c8ba
Linux Linux af308b94a2a4a5a27bec9028354c4df444a7c8ba
Linux Linux af308b94a2a4a5a27bec9028354c4df444a7c8ba
Linux Linux af308b94a2a4a5a27bec9028354c4df444a7c8ba
Linux Linux af308b94a2a4a5a27bec9028354c4df444a7c8ba
Linux Linux 4.19

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.