What’s Vulnerable › Vulnerabilities

CVE-2022-50107: cifs: Fix memory leak when using fscache

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.18.18, 5.19.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50107 or the next vulnerability affects your stack