What’s Vulnerable › Vulnerabilities

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

How to fix

Upgrade to a fixed version: Linux kernel 5.15.66, 5.19.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49938 or the next vulnerability affects your stack