CVE-2022-49938

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux9764c02fcbad40001fd3f63558d918e4d519bb75 < 9e3c9efa7caf16e5acc05eab5e4d0a714e1610b0affected
LinuxLinux9764c02fcbad40001fd3f63558d918e4d519bb75 < 38a6b469bf22f153282fbe7d702a24e9eb43f50eaffected
LinuxLinux9764c02fcbad40001fd3f63558d918e4d519bb75 < 27893dfc1285f80f80f46b3b8c95f5d15d2e66d0affected
LinuxLinux1ae6f05d4204d3a128bb9ba2c42e2a6c4ac687f1affected
LinuxLinux4.13.5 < 4.14affected
LinuxLinux4.14affected
LinuxLinux0 < 4.14unaffected
LinuxLinux5.15.66 <= 5.15.*unaffected
LinuxLinux5.19.8 <= 5.19.*unaffected
LinuxLinux6.0 <= *unaffected

Weaknesses

References