Bug 2363431 (CVE-2022-49822) - CVE-2022-49822 kernel: cifs: Fix connections leak when tlink setup failed
Summary: CVE-2022-49822 kernel: cifs: Fix connections leak when tlink setup failed
Keywords:
Status: NEW
Alias: CVE-2022-49822
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-01 15:04 UTC by OSIDB Bzimport
Modified: 2025-06-06 01:44 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-01 15:04:20 UTC
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.

Comment 1 Avinash Hanwate 2025-05-02 05:44:22 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050133-CVE-2022-49822-1913@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.