Public vulnerability disclosure

CVE-2022-49938

cifs: fix small mempool leak in SMB2_negotiate()

published

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.

Technical severityUnscoredNo score in collected sources
Published2025-06-18Source updated 2026-11-05
Collected2026-11-052 attributed sources

Fixes and workarounds

No remediation reported in collected sources.

Missing remediation information is not evidence that no patch exists.

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
Linux
Linux
≥ 9764c02fcbad40001fd3f63558d918e4d519bb75; < 9e3c9efa7caf16e5acc05eab5e4d0a714e1610b0 (affected, git)
≥ 9764c02fcbad40001fd3f63558d918e4d519bb75; < 38a6b469bf22f153282fbe7d702a24e9eb43f50e (affected, git)
≥ 9764c02fcbad40001fd3f63558d918e4d519bb75; < 27893dfc1285f80f80f46b3b8c95f5d15d2e66d0 (affected, git)
1ae6f05d4204d3a128bb9ba2c42e2a6c4ac687f1 (affected, git)
≥ 4.13.5; < 4.14 (affected, semver)
Other versions: unaffected
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)
Other versions: affected
CNA: Linux

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

No CVSS assessment reported. An unscored record is not a low-severity determination.

Exploit evidence

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

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide