NetSight
medium5.5

CVE-2022-50107

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…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 5.17.1 before 5.18.18
from 5.19 before 5.19.2
Version 5.17

Weakness classification

References