Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0174ee9947bd0f24fee2794b35258960d108b7aa to < 7105b4047481bc2950fb767cff328d8b75292c0faffected
  • 0174ee9947bd0f24fee2794b35258960d108b7aa to < ae497726cd090673a4d20ac725ccc2de8067a7a5affected
  • 0174ee9947bd0f24fee2794b35258960d108b7aa to < c6f62f81b488d00afaa86bae26c6ce9ab12c709eaffected

Linux Linux

Default version status: affected

  • 5.17affected
  • 0 to < 5.17unaffected
  • 5.18.18 to ≤ 5.18.*unaffected
  • 5.19.2 to ≤ 5.19.*unaffected
  • 6.0 to ≤ *unaffected

References