Kernel memory leak via cached readahead branch
Published Jun 18, 2025 · Updated May 11, 2026
Memory leak in CIFS file caching in affected Linux kernel releases allows attackers to retain a page reference during cached readahead. The index == next_cached branch in fs/cifs/file.c obtains a struct page reference without releasing it after readahead_page(). The condition requires a CIFS workload using FS-Cache to enter that branch, and repeated hits consume kernel memory without modifying file data.
Summary
What happened
Memory leak in CIFS file caching in affected Linux kernel releases allows attackers to retain a page reference during cached readahead. The index == next_cached branch in fs/cifs/file.c obtains a struct page reference without releasing it after readahead_page(). The condition requires a CIFS workload using FS-Cache to enter that branch, and repeated hits consume kernel memory without modifying file data.
The record
- CVE
- CVE-2022-50107
- Published
- Jun 18, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0174ee9947bd0f24fee2794b35258960d108b7aa <7105b4047481bc2950fb767cff328d8b75292c0f
- Affected versionversion=0174ee9947bd0f24fee2794b35258960d108b7aa <ae497726cd090673a4d20ac725ccc2de8067a7a5
- Affected versionversion=0174ee9947bd0f24fee2794b35258960d108b7aa <c6f62f81b488d00afaa86bae26c6ce9ab12c709e
- Affected versionversion=5.17
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
No sourced classifications are available.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo