CVE-2026-53212·Kernel vulnerability
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
- high
- Software
- Kernel
- Fixed in
- 7.0.13
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.19% — higher than 8% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-53212 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.19%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.13
Fixed in: 7.0.13
How to fix this CVE
Update your Linux kernel to version 7.0.13 or later to resolve a use-after-free vulnerability in the netfilter tunnel module that can cause kernel memory corruption when packets remain queued during object destruction. This fix ensures proper reference counting of metadata_dst objects, preventing access to freed memory when dequeued packets attempt cleanup operations.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with `uname -r` and compare against the affected range (6.19 to 7.0.12)
- Step 2: Verify netfilter nft_tunnel module is loaded with `lsmod | grep nf_tables` and `lsmod | grep nft_tunnel`
- Step 3: Monitor kernel logs for memory corruption or crash indicators: `sudo dmesg | grep -i 'use-after-free\|metadata_dst\|double free\|memory leak'`
- Step 4: After patching, confirm the new kernel version is active with `uname -r` and reboot if necessary
FAQ
What is CVE-2026-53212?
CVE-2026-53212 is a use-after-free vulnerability in the Linux kernel's netfilter nft_tunnel module where the metadata_dst object is freed without properly releasing all packet references, leading to potential memory corruption when queued packets are dequeued.
Is CVE-2026-53212 being actively exploited?
No, this vulnerability is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available, though the high CVSS score (7.8) indicates significant local privilege escalation potential.
What versions of Kernel are affected by CVE-2026-53212?
Linux kernel versions 6.19 through 7.0.12 are vulnerable. Version 7.0.13 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-53212?
Run `uname -r` to display your kernel version. If it shows a version between 6.19 and 7.0.12 inclusive, and nft_tunnel is active, your system is vulnerable.
Does Defensia detect CVE-2026-53212?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-53212 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- 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/941d7394efda5e054e2d6f3e0dd0f6a9ba19aaa3
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-53212. Free for 1 server.
Get started free