Kernel memory exhaustion via unreleased handshake buffers
Published Feb 26, 2025 · Updated May 11, 2026
A memory leak in Linux WireGuard socket code allows local users to exhaust kernel memory through repeated handshake sends when IPv6 is disabled. The send6 fallback in drivers/net/wireguard/socket.c returns without calling kfree_skb on the socket buffer after a handshake send fails because IPv6 support is absent. The flaw is reachable only on kernels built without CONFIG_IPV6 and can steadily consume kernel memory; no data read or modification is reported.
Summary
What happened
A memory leak in Linux WireGuard socket code allows local users to exhaust kernel memory through repeated handshake sends when IPv6 is disabled. The send6 fallback in drivers/net/wireguard/socket.c returns without calling kfree_skb on the socket buffer after a handshake send fails because IPv6 support is absent. The flaw is reachable only on kernels built without CONFIG_IPV6 and can steadily consume kernel memory; no data read or modification is reported.
The record
- CVE
- CVE-2022-49153
- Published
- Feb 26, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Feb 26, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.6
- Affected versionversion=e7096c131e5161fa3b8e52a650d7719d2857adfd <096f9d35cac0a0c95ffafc00db84786b665a4837
- Affected versionversion=e7096c131e5161fa3b8e52a650d7719d2857adfd <0b19bcb753dbfb74710d12bb2761ec5ed706c726
- Affected versionversion=e7096c131e5161fa3b8e52a650d7719d2857adfd <402991a9771587acc2947cf6c4d689c5397f2258
- Affected versionversion=e7096c131e5161fa3b8e52a650d7719d2857adfd <bbbf962d9460194993ee1943a793a0a0af4a7fbf
- Affected versionversion=e7096c131e5161fa3b8e52a650d7719d2857adfd <ebcc492f4ba14bae54b898f1016a37b4282558d1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo