What’s Vulnerable › Vulnerabilities

CVE-2022-49822: cifs: Fix connections leak when tlink setup failed

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: Fix connections leak when tlink setup failed If the tlink setup failed, lost to put the connections, then the module refcnt leak since the cifsd kthread not exit. Also leak the fscache info, and for next mount with fsc, it will print the follow errors: CIFS: Cache volume key already in use (cifs,127.0.0.1:445,TEST) Let's check the result of tlink setup, and do some cleanup.

Affected products

How to fix

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

References

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