CVE-2026-53247

net: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst teardown

9.8 critical EPSS 0.69%

Published 25 Jun 2026 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2026-53247

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-53247 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:

net: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst teardown

mtk_free_dev() calls metadata_dst_free() which frees the metadata_dst with kfree() immediately, bypassing the RCU grace period. In the RX path, skb_dst_set_noref() sets a non-refcounted pointer from the skb to the metadata_dst. This function requires RCU read-side protection and the dst must remain valid until all RCU readers complete. Since metadata_dst_free() calls kfree() directly, a use-after-free can occur if any skb still holds a noref pointer to the dst when the driver tears it down. Replace metadata_dst_free() with dst_release() which properly goes through the refcount path: when the refcount drops to zero, it schedules the actual free via call_rcu_hurry(), ensuring all RCU readers have completed before the memory is freed.

Severity (CVSS)

9.8 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an 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.69%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 47.8% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, before 72775977e89c25c99ee84d2c5baa3f86a8ba5cb4
affected from 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, before 459c6f35c58cf0fd5247e55d73ddaa29571d9b7e
affected from 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, before e634408d2b0cd939cfe019398a21fb47b7a8ffe3
affected from 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, before 2d86aeb46d5f69c704065a8c69822582787272a1
affected from 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, before 80df409e1a483676826a6c66e693dba6ac507751
Other versions: unaffected
Linux
affected 6.2
unaffected before 6.2
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-53247 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-53247

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-53247
trivy image --scanners vuln IMAGE | grep CVE-2026-53247

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-53247 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.