CVE-2022-49822

cifs: Fix connections leak when tlink setup failed

State
Published
Severity
Not scored
Published
May 1, 2025
Updated
Jun 1, 2026
Reserved
May 1, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 56c762eb9bee330bb4e6d11c589434f2904d3ab6 to before 775d6625f96b26b90b9be9164b855ea2c471c0e5Affected
  • 56c762eb9bee330bb4e6d11c589434f2904d3ab6 to before a9059e338fc000c0b87d8cf29e93c74fd703212eAffected
  • 56c762eb9bee330bb4e6d11c589434f2904d3ab6 to before 0a087842d10b5daa123ee5291e386cdd78413705Affected
  • 56c762eb9bee330bb4e6d11c589434f2904d3ab6 to before 1dcdf5f5b2137185cbdd5385f29949ab3da4f00cAffected
LinuxLinux
  • 5.0Affected
  • before 5.0Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.81 through 5.15.*Not affected
  • 6.0.10 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.