CVE-2022-50107
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50107 is a memory leak vulnerability in the Linux kernel's CIFS (Common Internet File System) implementation when file system caching (fscache) is enabled. The flaw occurs in a specific code path where, upon hitting the index == next_cached condition, a reference count on a struct page is not properly released, resulting in a memory leak. Affected versions include Linux kernel 5.17 (including release candidates), 5.17.1 through 5.18.17, and 5.19 through 5.19.1. It was published on June 18, 2025, and carries a CVSS v3.1 base score of 5.5 (Medium) (Feedly, Kernel Patches).

Technical details

The root cause is classified as CWE-401 (Missing Release of Memory after Effective Lifetime). In the CIFS fscache read path, when the page index matches the next cached page (index == next_cached), the code fails to release the reference count on the struct page obtained during readahead processing. The fix replaces the problematic page handling with readahead_folio(), which automatically manages the reference count, preventing the leak. Exploitation requires local access with low-privilege permissions and is limited to systems where CIFS mounts are used with fscache enabled (Feedly, Kernel Patches).

Impact

Successful exploitation of this vulnerability by a local, low-privileged attacker can cause gradual memory resource exhaustion on the affected system, leading to denial of service through system instability or significant performance degradation. There is no impact on confidentiality or integrity; the impact is limited to availability. The vulnerability affects only systems running vulnerable kernel versions with CIFS mounts and fscache active (Feedly).

Exploitability

There is no public proof-of-concept exploit available for CVE-2022-50107, and no evidence of in-the-wild exploitation has been observed. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.017%, reflecting a very low probability of exploitation in the near term (Feedly).

Mitigation and workarounds

Update the Linux kernel to version 5.18.18 or later, or 5.19.2 or later, which include the fix via readahead_folio(). Official patches are available from the Linux kernel stable repositories at three separate commits. As a workaround, disabling CIFS fscache (if not critically required) will prevent the vulnerable code path from being triggered. Administrators should also monitor system memory usage for signs of gradual resource exhaustion on affected systems (Feedly, Kernel Patches).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74726NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 22, 2026
CVE-2026-74719NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 22, 2026
CVE-2026-74717NONEN/A
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management