{"id":"CVE-2022-49822","summary":"cifs: Fix connections leak when tlink setup failed","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix connections leak when tlink setup failed\n\nIf the tlink setup failed, lost to put the connections, then\nthe module refcnt leak since the cifsd kthread not exit.\n\nAlso leak the fscache info, and for next mount with fsc, it will\nprint the follow errors:\n  CIFS: Cache volume key already in use (cifs,127.0.0.1:445,TEST)\n\nLet's check the result of tlink setup, and do some cleanup.","modified":"2026-04-03T13:14:35.744482645Z","published":"2025-05-01T14:09:43.572Z","related":["SUSE-SU-2025:01918-1","SUSE-SU-2025:01966-1","SUSE-SU-2025:01983-1","SUSE-SU-2025:02173-1","SUSE-SU-2025:02262-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49822.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0a087842d10b5daa123ee5291e386cdd78413705"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1dcdf5f5b2137185cbdd5385f29949ab3da4f00c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9059e338fc000c0b87d8cf29e93c74fd703212e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49822.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49822"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"56c762eb9bee330bb4e6d11c589434f2904d3ab6"},{"fixed":"a9059e338fc000c0b87d8cf29e93c74fd703212e"},{"fixed":"0a087842d10b5daa123ee5291e386cdd78413705"},{"fixed":"1dcdf5f5b2137185cbdd5385f29949ab3da4f00c"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49822.json"}}],"schema_version":"1.7.5"}