---
id: CVE-2022-49822
title: 'cifs: Fix connections leak when tlink setup failed'
summary: |-
  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…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 56c762eb9bee330bb4e6d11c589434f2904d3ab6 <
    775d6625f96b26b90b9be9164b855ea2c471c0e5
  - >-
    Linux >= 56c762eb9bee330bb4e6d11c589434f2904d3ab6 <
    a9059e338fc000c0b87d8cf29e93c74fd703212e
  - >-
    Linux >= 56c762eb9bee330bb4e6d11c589434f2904d3ab6 <
    0a087842d10b5daa123ee5291e386cdd78413705
  - >-
    Linux >= 56c762eb9bee330bb4e6d11c589434f2904d3ab6 <
    1dcdf5f5b2137185cbdd5385f29949ab3da4f00c
  - Linux 5.0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T19:49:38.156388Z'
published: '2025-05-01'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:00:07.809Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-49822'
references:
  - url: 'https://git.kernel.org/stable/c/775d6625f96b26b90b9be9164b855ea2c471c0e5'
  - url: 'https://git.kernel.org/stable/c/a9059e338fc000c0b87d8cf29e93c74fd703212e'
  - url: 'https://git.kernel.org/stable/c/0a087842d10b5daa123ee5291e386cdd78413705'
  - url: 'https://git.kernel.org/stable/c/1dcdf5f5b2137185cbdd5385f29949ab3da4f00c'
tags:
  - cve.org
epss: 0.00203
epssPercentile: 0.10346
ingestedAt: '2026-11-05T22:38:31.613Z'
---

## Overview

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

- `Linux >= 56c762eb9bee330bb4e6d11c589434f2904d3ab6 < 775d6625f96b26b90b9be9164b855ea2c471c0e5`
- `Linux >= 56c762eb9bee330bb4e6d11c589434f2904d3ab6 < a9059e338fc000c0b87d8cf29e93c74fd703212e`
- `Linux >= 56c762eb9bee330bb4e6d11c589434f2904d3ab6 < 0a087842d10b5daa123ee5291e386cdd78413705`
- `Linux >= 56c762eb9bee330bb4e6d11c589434f2904d3ab6 < 1dcdf5f5b2137185cbdd5385f29949ab3da4f00c`
- `Linux 5.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
