Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-49938

cifs: fix small mempool leak in SMB2_negotiate()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 9764c02fcbad40001fd3f63558d918e4d519bb75 to < 9e3c9efa7caf16e5acc05eab5e4d0a714e1610b0affected
  • 9764c02fcbad40001fd3f63558d918e4d519bb75 to < 38a6b469bf22f153282fbe7d702a24e9eb43f50eaffected
  • 9764c02fcbad40001fd3f63558d918e4d519bb75 to < 27893dfc1285f80f80f46b3b8c95f5d15d2e66d0affected
  • 1ae6f05d4204d3a128bb9ba2c42e2a6c4ac687f1affected
  • 4.13.5 to < 4.14affected

Linux Linux

Default version status: affected

  • 4.14affected
  • 0 to < 4.14unaffected
  • 5.15.66 to ≤ 5.15.*unaffected
  • 5.19.8 to ≤ 5.19.*unaffected
  • 6.0 to ≤ *unaffected

References