# CVE-2022-49153: wireguard: socket: free skb in send6 when ipv6 is disabled

> 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, CNA) `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.28% (percentile 14, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-02-26T01:55:18.745Z
- **Modified:** 2026-06-17T05:17:13.757Z

## Who should check

- Anyone running Linux \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< 096f9d35cac0a0c95ffafc00db84786b665a4837; \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< 402991a9771587acc2947cf6c4d689c5397f2258; \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< ebcc492f4ba14bae54b898f1016a37b4282558d1; \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< 0b19bcb753dbfb74710d12bb2761ec5ed706c726; \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< bbbf962d9460194993ee1943a793a0a0af4a7fbf
- Anyone running Linux 5.6

## Description

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

wireguard: socket: free skb in send6 when ipv6 is disabled

I got a memory leak report:

unreferenced object 0xffff8881191fc040 (size 232):
  comm "kworker/u17:0", pid 23193, jiffies 4295238848 (age 3464.870s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    \[\<ffffffff814c3ef4\>\] slab\_post\_alloc\_hook+0x84/0x3b0
    \[\<ffffffff814c8977\>\] kmem\_cache\_alloc\_node+0x167/0x340
    \[\<ffffffff832974fb\>\] \_\_alloc\_skb+0x1db/0x200
    \[\<ffffffff82612b5d\>\] wg\_socket\_send\_buffer\_to\_peer+0x3d/0xc0
    \[\<ffffffff8260e94a\>\] wg\_packet\_send\_handshake\_initiation+0xfa/0x110
    \[\<ffffffff8260ec81\>\] wg\_packet\_handshake\_send\_worker+0x21/0x30
    \[\<ffffffff8119c558\>\] process\_one\_work+0x2e8/0x770
    \[\<ffffffff8119ca2a\>\] worker\_thread+0x4a/0x4b0
    \[\<ffffffff811a88e0\>\] kthread+0x120/0x160
    \[\<ffffffff8100242f\>\] ret\_from\_fork+0x1f/0x30

In function wg\_socket\_send\_buffer\_as\_reply\_to\_skb() or wg\_socket\_send\_
buffer\_to\_peer(), the semantics of send6() is required to free skb. But
when CONFIG\_IPV6 is disable, kfree\_skb() is missing. This patch adds it
to fix this bug.

## Affected and fixed versions

- Linux: \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< 096f9d35cac0a0c95ffafc00db84786b665a4837; \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< 402991a9771587acc2947cf6c4d689c5397f2258; \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< ebcc492f4ba14bae54b898f1016a37b4282558d1; \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< 0b19bcb753dbfb74710d12bb2761ec5ed706c726; \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< bbbf962d9460194993ee1943a793a0a0af4a7fbf (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49153.md
Affected: Linux >= e7096c131e5161fa3b8e52a650d7719d2857adfd, < 096f9d35cac0a0c95ffafc00db84786b665a4837; >= e7096c131e5161fa3b8e52a650d7719d2857adfd, < 402991a9771587acc2947cf6c4d689c5397f2258; >= e7096c131e5161fa3b8e52a650d7719d2857adfd, < ebcc492f4ba14bae54b898f1016a37b4282558d1; >= e7096c131e5161fa3b8e52a…
Fixed in: Linux 096f9d35cac0a0c95ffafc00db84786b665a4837, Linux 402991a9771587acc2947cf6c4d689c5397f2258, Linux 0b19bcb753dbfb74710d12bb2761ec5ed706c726

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-49153 being exploited?

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

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

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

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

Linux \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< 096f9d35cac0a0c95ffafc00db84786b665a4837; \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< 402991a9771587acc2947cf6c4d689c5397f2258; \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< ebcc492f4ba14bae54b898f1016a37b4282558d1; \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< 0b19bcb753dbfb74710d12bb2761ec5ed706c726; \>= e7096c131e5161fa3b8e52a650d7719d2857adfd, \< bbbf962d9460194993ee1943a793a0a0af4a7fbf; Linux 5.6.

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

Yes. Fixed in Linux 096f9d35cac0a0c95ffafc00db84786b665a4837, Linux 402991a9771587acc2947cf6c4d689c5397f2258, Linux 0b19bcb753dbfb74710d12bb2761ec5ed706c726. No fix listed yet: follow the vendor advisory.

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

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/096f9d35cac0a0c95ffafc00db84786b665a4837>
- patch: <https://git.kernel.org/stable/c/402991a9771587acc2947cf6c4d689c5397f2258>
- patch: <https://git.kernel.org/stable/c/ebcc492f4ba14bae54b898f1016a37b4282558d1>
- patch: <https://git.kernel.org/stable/c/0b19bcb753dbfb74710d12bb2761ec5ed706c726>
- patch: <https://git.kernel.org/stable/c/bbbf962d9460194993ee1943a793a0a0af4a7fbf>

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

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