# CVE-2026-53212: netfilter: nft\_tunnel: fix use-after-free on object destroy

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-25 · Modified: 2026-10-19
- Aliases: UBUNTU-CVE-2026-53212, DEBIAN-CVE-2026-53212, CGA-2m8p-3qxr-g6h5, CGA-8jph-7w73-7wrm, CGA-93r4-jrg8-v9mf, CGA-9c9g-7q3r-q7mp, CGA-9pxg-7wj4-xqv8, CGA-cr35-m759-mjc7, CGA-jwxv-mqwg-hp6g, CGA-mjw8-xpj8-2wm7, CGA-p52q-6c5m-vh9v, CGA-q6jj-cq3r-5xqc, CGA-v7rx-324m-5c38, CGA-w9r7-xppv-8xx2, CGA-xwjm-65vc-3f9c
- Record: https://cvemate.com/vulnerability/CVE-2026-53212 · JSON: https://cvemate.com/vulnerability/CVE-2026-53212/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.194%, percentile 9.475%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 181)

- chainguard linux-aws-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-aws-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-azure-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-azure-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-gcp-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-gcp-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-gcp-6.18-bootc-boot-installed (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-qemu-6.18 (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-6.18-bootc-boot-installed (Chainguard): \< 6.18.38-r0
- chainguard linux-qemu-melange (Chainguard): \< 6.18.38-r0
- chainguard linux-vmware-6.12 (Chainguard): \< 6.12.95-r0
- chainguard linux-vmware-6.18 (Chainguard): \< 6.18.38-r0
- debian linux (Debian): \< 6.1.176-1 \| \< 6.12.94-1 \| \< 7.0.13-1
- ubuntu linux (Ubuntu): \< 5.4.0-234.254 \| \< 5.15.0-187.197 \| \< 6.8.0-137.137 \| All versions (No fix recorded) \| \< 7.0.0-29.29
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1162.173 \| \< 5.15.0-1113.120 \| \< 6.8.0-1062.65 \| All versions (No fix recorded) \| \< 7.0.0-1010.10
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 50)

- <https://git.kernel.org/stable/c/349df61526d2e39decc685d246202e3e284cfe05>
- <https://git.kernel.org/stable/c/55b79b1ae42372012413ce0413181d26679b17ef>
- <https://git.kernel.org/stable/c/5e9ee18b27fde88cb6148202b33916c66693fe82>
- <https://git.kernel.org/stable/c/8767fe4079affa74314d7eb3220e700150289842>
- <https://git.kernel.org/stable/c/fda6573a46ad24f35348e024905ee5bdf729797e>
- <https://git.kernel.org/stable/c/941d7394efda5e054e2d6f3e0dd0f6a9ba19aaa3>
- <https://git.kernel.org/stable/c/f9a0e4b61054cde89a2a77845293c726cc07cc43>
- <https://git.kernel.org/stable/c/c32b26aaa2f9216520a38b3f4bfeec846eb3eb8a>
- <https://ubuntu.com/security/CVE-2026-53212>
- <https://www.cve.org/CVERecord?id=CVE-2026-53212>
- <https://git.kernel.org/linus/c32b26aaa2f9216520a38b3f4bfeec846eb3eb8a>
- <https://ubuntu.com/security/notices/USN-8629-1>
- <https://ubuntu.com/security/notices/USN-8630-1>
- <https://ubuntu.com/security/notices/USN-8631-1>
- <https://ubuntu.com/security/notices/USN-8636-1>
- <https://ubuntu.com/security/notices/USN-8630-2>
- <https://ubuntu.com/security/notices/USN-8631-2>
- <https://ubuntu.com/security/notices/USN-8637-1>
- <https://ubuntu.com/security/notices/USN-8631-3>
- <https://ubuntu.com/security/notices/USN-8629-2>

---

Data as of 2026-12-05T09:17:54.410Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
