Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 56c762eb9bee330bb4e6d11c589434f2904d3ab6 to < 775d6625f96b26b90b9be9164b855ea2c471c0e5affected
  • 56c762eb9bee330bb4e6d11c589434f2904d3ab6 to < a9059e338fc000c0b87d8cf29e93c74fd703212eaffected
  • 56c762eb9bee330bb4e6d11c589434f2904d3ab6 to < 0a087842d10b5daa123ee5291e386cdd78413705affected
  • 56c762eb9bee330bb4e6d11c589434f2904d3ab6 to < 1dcdf5f5b2137185cbdd5385f29949ab3da4f00caffected

Linux Linux

Default version status: affected

  • 5.0affected
  • 0 to < 5.0unaffected
  • 5.10.258 to ≤ 5.10.*unaffected
  • 5.15.81 to ≤ 5.15.*unaffected
  • 6.0.10 to ≤ 6.0.*unaffected
  • 6.1 to ≤ *unaffected

References