{"id":"CVE-2022-50107","title":"cifs: Fix memory leak when using fscache","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix memory leak when using fscache\n\nIf we hit the 'index == next_cached' case, we leak a refcount on the\nstruct page.  Fix this by using readahead_folio() which t…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 0174ee9947bd0f24fee2794b35258960d108b7aa < 7105b4047481bc2950fb767cff328d8b75292c0f","Linux >= 0174ee9947bd0f24fee2794b35258960d108b7aa < ae497726cd090673a4d20ac725ccc2de8067a7a5","Linux >= 0174ee9947bd0f24fee2794b35258960d108b7aa < c6f62f81b488d00afaa86bae26c6ce9ab12c709e","Linux 5.17"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T19:54:32.976458Z"},"published":"2025-06-18","updated":"2026-11-05","sourceUpdated":"2026-11-05T20:00:17.193Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-50107","references":[{"url":"https://git.kernel.org/stable/c/7105b4047481bc2950fb767cff328d8b75292c0f"},{"url":"https://git.kernel.org/stable/c/ae497726cd090673a4d20ac725ccc2de8067a7a5"},{"url":"https://git.kernel.org/stable/c/c6f62f81b488d00afaa86bae26c6ce9ab12c709e"}],"tags":["cve.org"],"epss":0.00191,"epssPercentile":0.08781,"ingestedAt":"2026-11-05T22:38:31.664Z","slug":"CVE-2022-50107","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix memory leak when using fscache\n\nIf we hit the 'index == next_cached' case, we leak a refcount on the\nstruct page.  Fix this by using readahead_folio() which takes care of\nthe refcount for you.\n\n## Affected\n\n- `Linux >= 0174ee9947bd0f24fee2794b35258960d108b7aa < 7105b4047481bc2950fb767cff328d8b75292c0f`\n- `Linux >= 0174ee9947bd0f24fee2794b35258960d108b7aa < ae497726cd090673a4d20ac725ccc2de8067a7a5`\n- `Linux >= 0174ee9947bd0f24fee2794b35258960d108b7aa < c6f62f81b488d00afaa86bae26c6ce9ab12c709e`\n- `Linux 5.17`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}