CVE-2022-50107

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux0174ee9947bd0f24fee2794b35258960d108b7aa < 7105b4047481bc2950fb767cff328d8b75292c0faffected
LinuxLinux0174ee9947bd0f24fee2794b35258960d108b7aa < ae497726cd090673a4d20ac725ccc2de8067a7a5affected
LinuxLinux0174ee9947bd0f24fee2794b35258960d108b7aa < c6f62f81b488d00afaa86bae26c6ce9ab12c709eaffected
LinuxLinux5.17affected
LinuxLinux0 < 5.17unaffected
LinuxLinux5.18.18 <= 5.18.*unaffected
LinuxLinux5.19.2 <= 5.19.*unaffected
LinuxLinux6.0 <= *unaffected

Weaknesses

References