CVE-2022-50107
published 2025-06-18CVE-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…
PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.16%
5.3th percentile
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
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.2-1 (bookworm) | linux 6.0.2-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 0174ee9947bd0f24fee2794b35258960d108b7aa < 7105b4047481bc2950fb767cff328d8b75292c0f | 7105b4047481bc2950fb767cff328d8b75292c0f |
| linux | linux | >= 0174ee9947bd0f24fee2794b35258960d108b7aa < ae497726cd090673a4d20ac725ccc2de8067a7a5 | ae497726cd090673a4d20ac725ccc2de8067a7a5 |
| linux | linux | >= 0174ee9947bd0f24fee2794b35258960d108b7aa < c6f62f81b488d00afaa86bae26c6ce9ab12c709e | c6f62f81b488d00afaa86bae26c6ce9ab12c709e |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 5.17.1 < 5.18.18 | 5.18.18 |
| linux | linux_kernel | >= 5.19 < 5.19.2 | 5.19.2 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-xqcp-9p67-2j64: In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix memory leak when using fscache
If we hit the 'index == next_cached' ca
ghsa_unreviewed·2025-06-18
CVE-2022-50107 [MEDIUM] CWE-401 GHSA-xqcp-9p67-2j64: In the Linux kernel, the following vulnerability has been resolved:
cifs: Fix memory leak when using fscache
If we hit the 'index == next_cached' ca
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.
OSV
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
osv·2025-06-18·CVSS 5.5
CVE-2022-50107 [MEDIUM] 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
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.
Red Hat
kernel: cifs: Fix memory leak when using fscache
vendor_redhat·2025-06-18·CVSS 5.5
CVE-2022-50107 [MEDIUM] CWE-911 kernel: cifs: Fix memory leak when using fscache
kernel: cifs: Fix memory leak when using fscache
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.
A flaw was found in the cifs module in the Linux kernel. A missing decrement of the reference count will cause a memory leak, potentially impacting system performance and resulting in a denial of service.
Statement: This issue has been fixed in Red Hat Enterprise Linux 9.3 via RHSA-2023:6583 [1].
[1]. https://access.redhat.com/errata/RHSA-2023:6583
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Out of support sco
Debian
CVE-2022-50107: linux - In the Linux kernel, the following vulnerability has been resolved: cifs: Fix m...
vendor_debian·2022·CVSS 5.5
CVE-2022-50107 [MEDIUM] CVE-2022-50107: linux - In the Linux kernel, the following vulnerability has been resolved: cifs: Fix m...
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.
Scope: local
bookworm: resolved (fixed in 6.0.2-1)
bullseye: resolved
forky: resolved (fixed in 6.0.2-1)
sid: resolved (fixed in 6.0.2-1)
trixie: resolved (fixed in 6.0.2-1)
No detection rules found.
No public exploits indexed.
2025-06-18
Published