CVE-2022-50107

published 18 Jun 2025 · updated 7 Nov 2026

cifs: Fix memory leak when using fscache

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c6f62f81b488d00afaa86bae26c6ce9ab12c709e, Kernel 5.19.2, Kernel ae497726cd090673a4d20ac725ccc2de8067a7a5 and 2 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=0174ee9947bd0f24fee2794b35258960d108b7aa <c6f62f81b488d00afaa86bae26c6ce9ab12c709e, >=5.19 <5.19.2, =5.17, >=0174ee9947bd0f24fee2794b35258960d108b7aa <ae497726cd090673a4d20ac725ccc2de8067a7a5, >=5.17.1 <5.18.18, >=0174ee9947bd0f24fee2794b35258960d108b7aa <7105b4047481bc2950fb767cff328d8b75292c0fc6f62f81b488d00afaa86bae26c6ce9ab12c709e, 5.19.2, ae497726cd090673a4d20ac725ccc2de8067a7a5, 5.18.18, 7105b4047481bc2950fb767cff328d8b75292c0f
linux-kernel: Kernel>=5.17.0 <5.18.18, >=5.19.0 <5.19.25.18.18, 5.19.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50107 severity on Zeptric[![CVE-2022-50107](https://zeptric.io/badge/cve/CVE-2022-50107.svg)](https://zeptric.io/cve/CVE-2022-50107)