CVE-2022-49822

cifs: Fix connections leak when tlink setup failed

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 56c762eb9bee330bb4e6d11c589434f2904d3ab6 < 775d6625f96b26b90b9be9164b855ea2c471c0e5 ; affected 56c762eb9bee330bb4e6d11c589434f2904d3ab6 < a9059e338fc000c0b87d8cf29e93c74fd703212e ; affected 56c762eb9bee330bb4e6d11c589434f2904d3ab6 < 0a087842d10b5daa123ee5291e386cdd78413705 ; affected 56c762eb9bee330bb4e6d11c589434f2904d3ab6 < 1dcdf5f5b2137185cbdd5385f29949ab3da4f00c
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.81 ≤ 5.15.* ; unaffected 6.0.10 ≤ 6.0.* ; unaffected 6.1 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD