CVE-2026-53212

netfilter: nft_tunnel: fix use-after-free on object destroy

7.8 high EPSS 0.19%

Published 25 Jun 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-53212

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-53212 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.48% of all scored CVEs. Scores of 2 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from af308b94a2a4a5a27bec9028354c4df444a7c8ba, before 349df61526d2e39decc685d246202e3e284cfe05
affected from af308b94a2a4a5a27bec9028354c4df444a7c8ba, before 55b79b1ae42372012413ce0413181d26679b17ef
affected from af308b94a2a4a5a27bec9028354c4df444a7c8ba, before 5e9ee18b27fde88cb6148202b33916c66693fe82
affected from af308b94a2a4a5a27bec9028354c4df444a7c8ba, before 8767fe4079affa74314d7eb3220e700150289842
affected from af308b94a2a4a5a27bec9028354c4df444a7c8ba, before fda6573a46ad24f35348e024905ee5bdf729797e
affected from af308b94a2a4a5a27bec9028354c4df444a7c8ba, before 941d7394efda5e054e2d6f3e0dd0f6a9ba19aaa3
affected from af308b94a2a4a5a27bec9028354c4df444a7c8ba, before f9a0e4b61054cde89a2a77845293c726cc07cc43
affected from af308b94a2a4a5a27bec9028354c4df444a7c8ba, before c32b26aaa2f9216520a38b3f4bfeec846eb3eb8a
Other versions: unaffected
Linux
affected 4.19
unaffected before 4.19
unaffected from 5.10.259 up to and including 5.10.*
unaffected from 5.15.210 up to and including 5.15.*
unaffected from 6.1.176 up to and including 6.1.*
unaffected from 6.6.143 up to and including 6.6.*
unaffected from 6.12.94 up to and including 6.12.*
unaffected from 6.18.36 up to and including 6.18.*
unaffected from 7.0.13 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-53212 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-53212

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-53212
trivy image --scanners vuln IMAGE | grep CVE-2026-53212

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-53212 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.