CVE-2022-50446
publishedARC: mm: fix leakage of memory allocated for PTE
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd9820ff76f95fa26d33e412254a89cd65b23142d to < 14009ada5712649589ab4ad0441b811780ea8773 · d9820ff76f95fa26d33e412254a89cd65b23142d to < d83a69966e8b6ae9dd447f3ac704c0223bceb7f7 · d9820ff76f95fa26d33e412254a89cd65b23142d to < 4fd9df10cb7a9289fbd22d669f9f98164d95a1ce · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.77 through 5.15.* (unaffected · semver) · 6.0.7 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: ARC: mm: fix leakage of memory allocated for PTE Since commit d9820ff ("ARC: mm: switch pgtable_t back to struct page *") a memory leakage problem occurs. Memory allocated for page table entries not released during process termination. This issue can be reproduced by a small program that allocates a large amount of memory. After several runs, you'll see that the amount of free memory has reduced and will continue to reduce after each run. All ARC CPUs are effected by this issue. The issue was introduced since the kernel stable release v5.15-rc1. As described in commit d9820ff after switch pgtable_t back to struct page *, a pointer to "struct page" and appropriate functions are used to allocate and free a memory page for PTEs, but the pmd_pgtable macro hasn't changed and returns the direct virtual address from the PMD (PGD) entry. Than this address used as a parameter in the __pte_free() and as a result this function couldn't release memory page allocated for PTEs. Fix this issue by changing the pmd_pgtable macro and returning pointer to struct page.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d9820ff76f95fa26d33e412254a89cd65b23142d to < 14009ada5712649589ab4ad0441b811780ea8773 (affected · git)d9820ff76f95fa26d33e412254a89cd65b23142d to < d83a69966e8b6ae9dd447f3ac704c0223bceb7f7 (affected · git)d9820ff76f95fa26d33e412254a89cd65b23142d to < 4fd9df10cb7a9289fbd22d669f9f98164d95a1ce (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.77 through 5.15.* (unaffected · semver)6.0.7 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
ARC: mm: fix leakage of memory allocated for PTE
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1ea61a8f93ee37826d39c52c973069955b697fadf4bcf832a79d5c1cd7fcf450
- Ingested
- 23 Sep 2026, 08:04:48 UTC
- Source record
- Official CVE record