# CVE-2026-53212: netfilter: nft_tunnel: fix use-after-free on object destroy

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-06-25T08:39:16.888Z
- Modified: 2026-10-19T20:19:09.740Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from af308b94a2a4a5a27bec9028354c4df444a7c8ba before 349df61526d2e39decc685d246202e3e284cfe05; from af308b94a2a4a5a27bec9028354c4df444a7c8ba before 55b79b1ae42372012413ce0413181d26679b17ef; from af308b94a2a4a5a27bec9028354c4df444a7c8ba before 5e9ee18b27fde88cb6148202b33916c66693fe82; from af308b94a2a4a5a27bec9028354c4df444a7c8ba before 8767fe4079affa74314d7eb3220e700150289842; from af308b94a2a4a5a27bec9028354c4df444a7c8ba before fda6573a46ad24f35348e024905ee5bdf729797e; from af308b94a2a4a5a27bec9028354c4df444a7c8ba before 941d7394efda5e054e2d6f3e0dd0f6a9ba19aaa3; from af308b94a2a4a5a27bec9028354c4df444a7c8ba before f9a0e4b61054cde89a2a77845293c726cc07cc43; from af308b94a2a4a5a27bec9028354c4df444a7c8ba before c32b26aaa2f9216520a38b3f4bfeec846eb3eb8a; 4.19 (not affected: before 4.19; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.94 up to 6.12.*; from 6.18.36 up to 6.18.*; from 7.0.13 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 4.19 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.94; from 6.13 before 6.18.36; from 6.19 before 7.0.13; 7.1

## References

- <https://git.kernel.org/stable/c/349df61526d2e39decc685d246202e3e284cfe05> (patch)
- <https://git.kernel.org/stable/c/55b79b1ae42372012413ce0413181d26679b17ef> (patch)
- <https://git.kernel.org/stable/c/5e9ee18b27fde88cb6148202b33916c66693fe82> (patch)
- <https://git.kernel.org/stable/c/8767fe4079affa74314d7eb3220e700150289842> (patch)
- <https://git.kernel.org/stable/c/fda6573a46ad24f35348e024905ee5bdf729797e> (patch)
- <https://git.kernel.org/stable/c/941d7394efda5e054e2d6f3e0dd0f6a9ba19aaa3> (patch)
- <https://git.kernel.org/stable/c/f9a0e4b61054cde89a2a77845293c726cc07cc43> (patch)
- <https://git.kernel.org/stable/c/c32b26aaa2f9216520a38b3f4bfeec846eb3eb8a> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-53212](https://www.cve.org/CVERecord?id=CVE-2026-53212), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-53212](https://nvd.nist.gov/vuln/detail/CVE-2026-53212), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-53212 · Whole record: https://cve.day/CVE-2026-53212.json · Rebuilt by cve.day 2026-11-25T22:59:26.315Z
