Memory exhaustion via leaked SMB response buffers
Published Jun 18, 2025 · Updated May 23, 2026
Memory leak in the Linux kernel CIFS client allows local users to exhaust memory through repeated SMB2 dialect mismatches. SMB2_negotiate returns directly on a mismatched server dialect after allocating a response buffer from a mempool, bypassing the neg_exit cleanup path. Exploitation requires local access to initiate CIFS connections to a server that returns an unrequested dialect; repetition can interrupt service by depleting kernel memory.
Summary
What happened
Memory leak in the Linux kernel CIFS client allows local users to exhaust memory through repeated SMB2 dialect mismatches. SMB2_negotiate returns directly on a mismatched server dialect after allocating a response buffer from a mempool, bypassing the neg_exit cleanup path. Exploitation requires local access to initiate CIFS connections to a server that returns an unrequested dialect; repetition can interrupt service by depleting kernel memory.
The record
- CVE
- CVE-2022-49938
- Published
- Jun 18, 2025
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- May 23, 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=1ae6f05d4204d3a128bb9ba2c42e2a6c4ac687f1
- Affected versionversion=4.13.5 <4.14
- Affected versionversion=4.14
- Affected versionversion=9764c02fcbad40001fd3f63558d918e4d519bb75 <27893dfc1285f80f80f46b3b8c95f5d15d2e66d0
- Affected versionversion=9764c02fcbad40001fd3f63558d918e4d519bb75 <38a6b469bf22f153282fbe7d702a24e9eb43f50e
- Affected versionversion=9764c02fcbad40001fd3f63558d918e4d519bb75 <9e3c9efa7caf16e5acc05eab5e4d0a714e1610b0
What conditions does exploitation require?
What is affected?
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