# CVE-2026-53247: net: ethernet: mtk\_eth\_soc: Fix use-after-free in metadata dst teardown

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.69% (percentile 48, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-06-25T08:39:40.654Z
- **Modified:** 2026-08-05T12:34:31.498Z

## Who should check

- Anyone running Linux \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< 72775977e89c25c99ee84d2c5baa3f86a8ba5cb4; \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< 459c6f35c58cf0fd5247e55d73ddaa29571d9b7e; \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< e634408d2b0cd939cfe019398a21fb47b7a8ffe3; \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< 2d86aeb46d5f69c704065a8c69822582787272a1; \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< 80df409e1a483676826a6c66e693dba6ac507751
- Anyone running Linux 6.2

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

## Affected and fixed versions

- Linux: \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< 72775977e89c25c99ee84d2c5baa3f86a8ba5cb4; \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< 459c6f35c58cf0fd5247e55d73ddaa29571d9b7e; \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< e634408d2b0cd939cfe019398a21fb47b7a8ffe3; \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< 2d86aeb46d5f69c704065a8c69822582787272a1; \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< 80df409e1a483676826a6c66e693dba6ac507751 (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- Upgrade Linux to 80df409e1a483676826a6c66e693dba6ac507751 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53247. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53247.md
Affected: Linux >= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, < 72775977e89c25c99ee84d2c5baa3f86a8ba5cb4; >= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, < 459c6f35c58cf0fd5247e55d73ddaa29571d9b7e; >= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, < e634408d2b0cd939cfe019398a21fb47b7a8ffe3; >= 2d7605a729062bb554f03c5…
Fixed in: Linux 72775977e89c25c99ee84d2c5baa3f86a8ba5cb4, Linux 459c6f35c58cf0fd5247e55d73ddaa29571d9b7e, Linux 2d86aeb46d5f69c704065a8c69822582787272a1, Linux 80df409e1a483676826a6c66e693dba6ac507751

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53247 being exploited?

There is no confirmed exploitation: CVE-2026-53247 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.69% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53247?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-53247?

Linux \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< 72775977e89c25c99ee84d2c5baa3f86a8ba5cb4; \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< 459c6f35c58cf0fd5247e55d73ddaa29571d9b7e; \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< e634408d2b0cd939cfe019398a21fb47b7a8ffe3; \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< 2d86aeb46d5f69c704065a8c69822582787272a1; \>= 2d7605a729062bb554f03c5983d8cfb8c0b42e9c, \< 80df409e1a483676826a6c66e693dba6ac507751; Linux 6.2.

### Is there a fix for CVE-2026-53247?

Yes. Fixed in Linux 72775977e89c25c99ee84d2c5baa3f86a8ba5cb4, Linux 459c6f35c58cf0fd5247e55d73ddaa29571d9b7e, Linux 2d86aeb46d5f69c704065a8c69822582787272a1, Linux 80df409e1a483676826a6c66e693dba6ac507751. Upgrade Linux to 80df409e1a483676826a6c66e693dba6ac507751 or later.

### How do I check if I'm affected by CVE-2026-53247?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/72775977e89c25c99ee84d2c5baa3f86a8ba5cb4>
- patch: <https://git.kernel.org/stable/c/459c6f35c58cf0fd5247e55d73ddaa29571d9b7e>
- patch: <https://git.kernel.org/stable/c/e634408d2b0cd939cfe019398a21fb47b7a8ffe3>
- patch: <https://git.kernel.org/stable/c/2d86aeb46d5f69c704065a8c69822582787272a1>
- patch: <https://git.kernel.org/stable/c/80df409e1a483676826a6c66e693dba6ac507751>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53247>

HTML: <https://flawdb.com/CVE-2026-53247> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53247>
