Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-53247

net: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst teardown
Back to all
CVE

CVE-2026-53247

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

In the Linux kernel, the following vulnerability has been resolved:

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

mtkfreedev() calls metadatadstfree() which frees the metadata_dst

with kfree() immediately, bypassing the RCU grace period.

In the RX path, skbdstset_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 metadatadstfree() 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 metadatadstfree() with dst_release() which properly goes

through the refcount path: when the refcount drops to zero, it schedules

the actual free via callrcuhurry(), ensuring all RCU readers have

completed before the memory is freed.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/2d86aeb46d5f69c704065a8c69822582787272a1, https://git.kernel.org/stable/c/459c6f35c58cf0fd5247e55d73ddaa29571d9b7e, https://git.kernel.org/stable/c/72775977e89c25c99ee84d2c5baa3f86a8ba5cb4, https://git.kernel.org/stable/c/80df409e1a483676826a6c66e693dba6ac507751, https://git.kernel.org/stable/c/e634408d2b0cd939cfe019398a21fb47b7a8ffe3, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53247.json, https://nvd.nist.gov/vuln/detail/CVE-2026-53247, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00507%
EPSS Percentile
0.39916%
Introduced Version
2d7605a729062bb554f03c5983d8cfb8c0b42e9c,6.2.0,6.7.0,6.13.0,6.19.0,0
Fix Available
80df409e1a483676826a6c66e693dba6ac507751,6.6.143,6.12.94,6.18.36,7.0.13,6.12.94-1,6.18.38-r0,6.18.36-r0

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading