In the Linux kernel, the following vulnerability has been resolved:
afs: Fix page leak
There's a loop in afs_extend_writeback() that adds extra pages to a write
we want to make to improve the efficiency of the writeback by making it
larger. This loop stops, however, if we hit a page we can't write back
from immediately, but it doesn't get rid of the page ref we speculatively
acquired.
This was caused by the removal of the cleanup loop when the code switched
from using find_get_pages_contig() to xarray scanning as the latter only
gets a single page at a time, not a batch.
Fix this by putting the page on a ref on an early break from the loop.
Unfortunately, we can't just add that page to the pagevec we're employing
as we'll go through that and add those pages to the RPC call.
This was found by the generic/074 test. It leaks ~4GiB of RAM each time it
is run - which can be observed with "top".
Security readout for executives and security teams
Plain-English summary
This Linux kernel issue is a memory leak in the AFS filesystem writeback path. Under the affected condition, pages are not released after an early loop exit, causing significant RAM loss. The source notes about 4 GiB leaked per generic/074 test run, making availability the main concern.
Executive priority
Treat this as a targeted availability risk, not an internet-wide emergency based on available evidence. Patch through normal kernel maintenance, with higher priority for systems using AFS or sensitive to memory exhaustion.
Technical view
In afs_extend_writeback(), speculative page references acquired during xarray scanning were not released when the loop stopped early on a page that could not be written back immediately. The fix releases that page reference on early break. The issue was introduced during a change away from find_get_pages_contig().
Likely exposure
Exposure appears limited to Linux systems running affected kernel versions with the in-kernel AFS filesystem path reachable. The record identifies Linux 5.13-era affected versions and stable fixes around 5.14.9 and 5.15. Validate against vendor kernel backports rather than upstream version strings alone.
Exploitation context
The provided sources do not show active exploitation, public exploit tooling, or KEV listing. Evidence supports a denial-of-service style risk through memory exhaustion in the AFS writeback path, demonstrated by kernel testing, not a documented real-world attack campaign.
Researcher notes
The record lacks CVSS, CWE, exploit status, and detailed affected distribution mapping. The strongest evidence is the upstream kernel description and stable commits. Research should focus on reachability of afs_extend_writeback() in deployed configurations and whether downstream vendors backported the fix.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2021-47365 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.