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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-05-01T14:09:43.572Z
- Modified: 2026-11-05T20:17:14.307Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 56c762eb9bee330bb4e6d11c589434f2904d3ab6 before 775d6625f96b26b90b9be9164b855ea2c471c0e5; from 56c762eb9bee330bb4e6d11c589434f2904d3ab6 before a9059e338fc000c0b87d8cf29e93c74fd703212e; from 56c762eb9bee330bb4e6d11c589434f2904d3ab6 before 0a087842d10b5daa123ee5291e386cdd78413705; from 56c762eb9bee330bb4e6d11c589434f2904d3ab6 before 1dcdf5f5b2137185cbdd5385f29949ab3da4f00c; 5.0 (not affected: before 5.0; from 5.10.258 up to 5.10.*; from 5.15.81 up to 5.15.*; from 6.0.10 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.0 before 5.15.81; from 5.16 before 6.0.10; 6.1

## References

- <https://git.kernel.org/stable/c/775d6625f96b26b90b9be9164b855ea2c471c0e5>
- <https://git.kernel.org/stable/c/a9059e338fc000c0b87d8cf29e93c74fd703212e> (patch)
- <https://git.kernel.org/stable/c/0a087842d10b5daa123ee5291e386cdd78413705> (patch)
- <https://git.kernel.org/stable/c/1dcdf5f5b2137185cbdd5385f29949ab3da4f00c> (patch)

## Sources

- CVE List: [CVE-2022-49822](https://www.cve.org/CVERecord?id=CVE-2022-49822), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-49822](https://nvd.nist.gov/vuln/detail/CVE-2022-49822), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-49822 · Whole record: https://cve.day/CVE-2022-49822.json · Rebuilt by cve.day 2026-11-25T22:58:20.886Z
