CVE-2022-50107 Details
Description
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix memory leak when using fscache If we hit the 'index == next_cached' case, we leak a refcount on the struct page. Fix this by using readahead_folio() which takes care of the refcount for you.
A memory leak vulnerability has been identified in the Linux kernel's CIFS (Common Internet File System) implementation. This issue arises when the 'index' equals 'next_cached', leading to a reference count leak on the struct page. The vulnerability has been addressed by modifying the code to use 'readahead_folio()', which properly manages the reference count.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/7105b4047481bc2950fb767cff328d8b75292c0f | kernel.org | Patch |
| https://git.kernel.org/stable/c/ae497726cd090673a4d20ac725ccc2de8067a7a5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c6f62f81b488d00afaa86bae26c6ce9ab12c709e | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.17.1, < 5.18.18 >= 5.19, < 5.19.2 5.17 - 5.17 rc3 5.17 rc4 5.17 rc5 5.17 rc6 5.17 rc7 5.17 rc8 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 17, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |