CVE Database›Document archive›CVE-2021-47365

CVE-2021-47365

kernel: afs: Fix page leak

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · May 21, 2024

Updated · November 21, 2025

Description

A vulnerability was found in the afs_extend_writeback() function in the Linux kernel’s AFS module. A loop designed to enhance write efficiency can leak memory caused by the removal of the cleanup loop when the code switches from using find_get_pages_contig() to xarray scanning, as the latter only gets a single page at a time, not a batch results in a memory leak that accumulates, eventually using up to 4GiB of RAM with repeated operations.

Statement

This vulnerability is considered moderate severity because it does not expose sensitive data or allow remote code execution, but it can cause significant system resource consumption, leading to performance issues and potential system instability.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CWE-402 · Transmission of Private Resources into a New Sphere ('Resource Leak')