# CVE-2022-48809: net: fix a memleak when uncloning an skb dst and its metadata

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-07-16T11:43:59.757Z
- **Modified:** 2026-06-17T05:16:14.983Z

## Who should check

- Anyone running Linux \>= fc4099f17240767554ff3a73977acb78ef615404, \< 4ac84498fbe84a00e7aef185e2bb3e40ce71eca4; \>= fc4099f17240767554ff3a73977acb78ef615404, \< c1ff27d100e2670b03cbfddb9117e5f9fc672540; \>= fc4099f17240767554ff3a73977acb78ef615404, \< 0be943916d781df2b652793bb2d3ae4f9624c10a; \>= fc4099f17240767554ff3a73977acb78ef615404, \< a80817adc2a4c1ba26a7aa5f3ed886e4a18dff88; \>= fc4099f17240767554ff3a73977acb78ef615404, \< 00e6d6c3bc14dfe32824e2c515f0e0f2d6ecf2f1; \>= fc4099f17240767554ff3a73977acb78ef615404, \< fdcb263fa5cda15b8cb24a641fa2718c47605314; \>= fc4099f17240767554ff3a73977acb78ef615404, \< 8b1087b998e273f07be13dcb5f3ca4c309c7f108; \>= fc4099f17240767554ff3a73977acb78ef615404, \< 9eeabdf17fa0ab75381045c867c370f4cc75a613
- Anyone running Linux 4.3

## Description

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

net: fix a memleak when uncloning an skb dst and its metadata

When uncloning an skb dst and its associated metadata, a new
dst+metadata is allocated and later replaces the old one in the skb.
This is helpful to have a non-shared dst+metadata attached to a specific
skb.

The issue is the uncloned dst+metadata is initialized with a refcount of
1, which is increased to 2 before attaching it to the skb. When
tun\_dst\_unclone returns, the dst+metadata is only referenced from a
single place (the skb) while its refcount is 2. Its refcount will never
drop to 0 (when the skb is consumed), leading to a memory leak.

Fix this by removing the call to dst\_hold in tun\_dst\_unclone, as the
dst+metadata refcount is already 1.

## Affected and fixed versions

- Linux: \>= fc4099f17240767554ff3a73977acb78ef615404, \< 4ac84498fbe84a00e7aef185e2bb3e40ce71eca4; \>= fc4099f17240767554ff3a73977acb78ef615404, \< c1ff27d100e2670b03cbfddb9117e5f9fc672540; \>= fc4099f17240767554ff3a73977acb78ef615404, \< 0be943916d781df2b652793bb2d3ae4f9624c10a; \>= fc4099f17240767554ff3a73977acb78ef615404, \< a80817adc2a4c1ba26a7aa5f3ed886e4a18dff88; \>= fc4099f17240767554ff3a73977acb78ef615404, \< 00e6d6c3bc14dfe32824e2c515f0e0f2d6ecf2f1; \>= fc4099f17240767554ff3a73977acb78ef615404, \< fdcb263fa5cda15b8cb24a641fa2718c47605314; \>= fc4099f17240767554ff3a73977acb78ef615404, \< 8b1087b998e273f07be13dcb5f3ca4c309c7f108; \>= fc4099f17240767554ff3a73977acb78ef615404, \< 9eeabdf17fa0ab75381045c867c370f4cc75a613 (cvelist)
- Linux: 4.3 (cvelist)

## Mitigation

- Upgrade Linux to 9eeabdf17fa0ab75381045c867c370f4cc75a613 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-48809.md
Affected: Linux >= fc4099f17240767554ff3a73977acb78ef615404, < 4ac84498fbe84a00e7aef185e2bb3e40ce71eca4; >= fc4099f17240767554ff3a73977acb78ef615404, < c1ff27d100e2670b03cbfddb9117e5f9fc672540; >= fc4099f17240767554ff3a73977acb78ef615404, < 0be943916d781df2b652793bb2d3ae4f9624c10a; >= fc4099f17240767554ff3a7…
Fixed in: Linux 4ac84498fbe84a00e7aef185e2bb3e40ce71eca4, Linux 0be943916d781df2b652793bb2d3ae4f9624c10a, Linux 00e6d6c3bc14dfe32824e2c515f0e0f2d6ecf2f1, Linux 8b1087b998e273f07be13dcb5f3ca4c309c7f108, Linux 9eeabdf17fa0ab75381045c867c370f4cc75a613

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-2022-48809 being exploited?

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

### How serious is CVE-2022-48809?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48809?

Linux \>= fc4099f17240767554ff3a73977acb78ef615404, \< 4ac84498fbe84a00e7aef185e2bb3e40ce71eca4; \>= fc4099f17240767554ff3a73977acb78ef615404, \< c1ff27d100e2670b03cbfddb9117e5f9fc672540; \>= fc4099f17240767554ff3a73977acb78ef615404, \< 0be943916d781df2b652793bb2d3ae4f9624c10a; \>= fc4099f17240767554ff3a73977acb78ef615404, \< a80817adc2a4c1ba26a7aa5f3ed886e4a18dff88; \>= fc4099f17240767554ff3a73977acb78ef615404, \< 00e6d6c3bc14dfe32824e2c515f0e0f2d6ecf2f1; \>= fc4099f17240767554ff3a73977acb78ef615404, \< fdcb263fa5cda15b8cb24a641fa2718c47605314; \>= fc4099f17240767554ff3a73977acb78ef615404, \< 8b1087b998e273f07be13dcb5f3ca4c309c7f108; \>= fc4099f17240767554ff3a73977acb78ef615404, \< 9eeabdf17fa0ab75381045c867c370f4cc75a613; Linux 4.3.

### Is there a fix for CVE-2022-48809?

Yes. Fixed in Linux 4ac84498fbe84a00e7aef185e2bb3e40ce71eca4, Linux 0be943916d781df2b652793bb2d3ae4f9624c10a, Linux 00e6d6c3bc14dfe32824e2c515f0e0f2d6ecf2f1, Linux 8b1087b998e273f07be13dcb5f3ca4c309c7f108, Linux 9eeabdf17fa0ab75381045c867c370f4cc75a613. Upgrade Linux to 9eeabdf17fa0ab75381045c867c370f4cc75a613 or later.

### How do I check if I'm affected by CVE-2022-48809?

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/4ac84498fbe84a00e7aef185e2bb3e40ce71eca4>
- patch: <https://git.kernel.org/stable/c/c1ff27d100e2670b03cbfddb9117e5f9fc672540>
- patch: <https://git.kernel.org/stable/c/0be943916d781df2b652793bb2d3ae4f9624c10a>
- patch: <https://git.kernel.org/stable/c/a80817adc2a4c1ba26a7aa5f3ed886e4a18dff88>
- patch: <https://git.kernel.org/stable/c/00e6d6c3bc14dfe32824e2c515f0e0f2d6ecf2f1>
- patch: <https://git.kernel.org/stable/c/fdcb263fa5cda15b8cb24a641fa2718c47605314>
- patch: <https://git.kernel.org/stable/c/8b1087b998e273f07be13dcb5f3ca4c309c7f108>
- patch: <https://git.kernel.org/stable/c/9eeabdf17fa0ab75381045c867c370f4cc75a613>

## 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-2022-48809>

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