{"id":"CVE-2022-50107","aliases":["CVE-2022-50107"],"related":[],"kind":"vulnerability","state":"published","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 takes care of\nthe refcount for you.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 takes care of\nthe refcount for you.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cifs: Se corrige la pérdida de memoria al usar fscache. Si se da el caso 'index == next_cached', se filtra un recuento de referencias en la página de estructura. Para solucionar esto, use readahead_folio(), que se encarga del recuento de referencias.","source":"nvd"}],"published":"2025-06-18T11:02:41.395Z","modified":"2026-11-05T20:17:23.873Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"0174ee9947bd0f24fee2794b35258960d108b7aa","fixed":"7105b4047481bc2950fb767cff328d8b75292c0f","status":"affected"},{"type":"git","introduced":"0174ee9947bd0f24fee2794b35258960d108b7aa","fixed":"ae497726cd090673a4d20ac725ccc2de8067a7a5","status":"affected"},{"type":"git","introduced":"0174ee9947bd0f24fee2794b35258960d108b7aa","fixed":"c6f62f81b488d00afaa86bae26c6ce9ab12c709e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"5.18.18","lastAffected":"5.18.*","status":"unaffected"},{"type":"semver","introduced":"5.19.2","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.17.1","fixed":"5.18.18"},{"status":"affected","introduced":"5.19","fixed":"5.19.2"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7105b4047481bc2950fb767cff328d8b75292c0f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae497726cd090673a4d20ac725ccc2de8067a7a5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c6f62f81b488d00afaa86bae26c6ce9ab12c709e","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:54:32.976Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50107","url":"https://www.cve.org/CVERecord?id=CVE-2022-50107","licence":"CVE Terms of Use","modified":"2026-11-05T20:00:17.193Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50107","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50107","licence":"Public domain","modified":"2026-11-05T20:17:23.873Z"}],"updatedAt":"2026-11-25T22:58:21.057Z","epss":{"score":0.002,"percentile":0.10328,"date":"2026-12-01T12:00:22.000Z"}}