CVE-2022-50446

MEDIUM EPSS 4.0%
Published Oct 1, 20259mo ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Oct 1, 2025 9mo ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
4.0% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-401

Affected Products 4

VendorProductVersionRange
linuxlinux_kernel*≥5.15  –  <5.15.77
linuxlinux_kernel*≥5.16  –  <6.0.7
linuxlinux_kernel6.1any
linuxlinux_kernel6.1any

References 3

  • git.kernel.org https://git.kernel.org/stable/c/14009ada5712649589ab4ad0441b811780ea8773
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/4fd9df10cb7a9289fbd22d669f9f98164d95a1ce
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/d83a69966e8b6ae9dd447f3ac704c0223bceb7f7
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/14009ada5712649589ab4ad0441b811780ea8773
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/4fd9df10cb7a9289fbd22d669f9f98164d95a1ce
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/d83a69966e8b6ae9dd447f3ac704c0223bceb7f7
    Patch