CVE-2022-49822

cifs: Fix connections leak when tlink setup failed

MEDIUM
5.5
CVSS Score
Published: May 1, 2025 at 02:09 PM UTC
Updated: June 17, 2026 at 05:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.0 ≤ v < 5.10.2585.0 ≤ v < 5.15.815.0 ≤ v < 6.0.105.0 ≤ v < 6.15.16 ≤ v < 6.0.1056c762eb9bee330bb4e6d11c589434f2904d3ab66.1 rc16.1 rc26.1 rc36.1 rc46.1 rc5
Vendor states this is fixed in 0a087842d10b5daa123ee5291e386cdd78413705 (fixed)
Vendor states this is fixed in 1dcdf5f5b2137185cbdd5385f29949ab3da4f00c (fixed)
Vendor states this is fixed in 775d6625f96b26b90b9be9164b855ea2c471c0e5 (fixed)
Vendor states this is fixed in a9059e338fc000c0b87d8cf29e93c74fd703212e (fixed)
Vendor states this is fixed in 5.0 (unaffected)
Vendor states this is fixed in 5.10.258 (unaffected)
Vendor states this is fixed in 5.15.81 (unaffected)
Vendor states this is fixed in 6.0.10 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card