# CVE-2022-49938: cifs: fix small mempool leak in SMB2_negotiate()

Status: published. Published: 2025-06-18. Updated: 2026-11-05.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 9764c02fcbad40001fd3f63558d918e4d519bb75; < 9e3c9efa7caf16e5acc05eab5e4d0a714e1610b0 (affected, git); ≥ 9764c02fcbad40001fd3f63558d918e4d519bb75; < 38a6b469bf22f153282fbe7d702a24e9eb43f50e (affected, git); ≥ 9764c02fcbad40001fd3f63558d918e4d519bb75; < 27893dfc1285f80f80f46b3b8c95f5d15d2e66d0 (affected, git); 1ae6f05d4204d3a128bb9ba2c42e2a6c4ac687f1 (affected, git); ≥ 4.13.5; < 4.14 (affected, semver). Source: CNA: Linux
- Linux / Linux: 4.14 (affected); ≥ 0; < 4.14 (unaffected, semver); ≥ 5.15.66; ≤ 5.15.* (unaffected, semver); ≥ 5.19.8; ≤ 5.19.* (unaffected, semver); ≥ 6.0; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.18% as of 2026-11-05; percentile 7.65%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/9e3c9efa7caf16e5acc05eab5e4d0a714e1610b0 (CNA: Linux)

- https://git.kernel.org/stable/c/38a6b469bf22f153282fbe7d702a24e9eb43f50e (CNA: Linux)

- https://git.kernel.org/stable/c/27893dfc1285f80f80f46b3b8c95f5d15d2e66d0 (CNA: Linux)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2022-49938; retrieved 2026-11-05; source updated 2026-11-05

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2022-49938; retrieved 2026-11-05; source updated Not reported

Revision: 55774f05f7bdad84b21a3976bfc8f1cfbd0e110a76c3f2817c703bba603c7547

Canonical: https://y2.dev/cve/CVE-2022-49938

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.