CVE-2022-50107

Source
https://cve.org/CVERecord?id=CVE-2022-50107
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50107.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50107
Downstream
Published
2025-06-18T11:02:41.395Z
Modified
2026-03-20T12:24:53.656079Z
Summary
cifs: Fix memory leak when using fscache
Details

In the Linux kernel, the following vulnerability has been resolved:

cifs: Fix memory leak when using fscache

If we hit the 'index == nextcached' case, we leak a refcount on the struct page. Fix this by using readaheadfolio() which takes care of the refcount for you.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50107.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0174ee9947bd0f24fee2794b35258960d108b7aa
Fixed
7105b4047481bc2950fb767cff328d8b75292c0f
Fixed
ae497726cd090673a4d20ac725ccc2de8067a7a5
Fixed
c6f62f81b488d00afaa86bae26c6ce9ab12c709e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50107.json"