Memory Leak Vulnerability in Linux Kernel - CVE-2022-50391

linux Updated 02 Oct 2025

Summary

18/09/2025
N/A
Yes i
Unrated
Not published

CVE-2022-50391: In the Linux kernel, the following vulnerability has been resolved: mm/mempolicy: fix memory leak in set_mempolicy_home_node system call When encountering any vma in the range with policy other than MPOL_BIND or MPOL_PRE... Affects linux versions < 6.1.4-1. Fixed in 6.1.4-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, managing hardware resources and providing essential services for software applications. It is known for its stability, performance, and security features. However, like any complex software, it can be susceptible to vulnerabilities. CVE-2022-50391 specifically addresses a memory leak issue in the kernel's memory policy management, which could potentially allow unauthorized users to access sensitive kernel memory.

Vulnerability Detail

CVE-2022-50391 is a vulnerability in the Linux kernel that arises from improper handling of memory policies in the set_mempolicy_home_node system call. When the kernel encounters a virtual memory area (VMA) with a policy other than MPOL_BIND or MPOL_PREFERRED_MANY, it returns an error without properly releasing the allocated memory policy. This oversight can lead to a memory leak, allowing arbitrary users to exploit the situation and leak kernel memory, which could contain sensitive information.

How To Fix

Minimum fixed version

6.1.4-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the patch by updating the kernel to the fixed version.

Conclusion

CVE-2022-50391 is a significant vulnerability in the Linux kernel that can lead to memory leaks and potential exposure of sensitive information. It is crucial for users to update their systems to the patched version to mitigate this risk. Regular monitoring and updating of software are essential practices for maintaining security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-50391 is a vulnerability in the Linux kernel that causes a memory leak due to improper handling of memory policies.

This vulnerability can allow unauthorized users to leak sensitive kernel memory, potentially exposing critical information.

Yes, a patch is available in version 6.1.4-1 of the Linux kernel. Users should update to this version or later.

You can check if your system is affected by using tools like Vulert, which monitors open-source vulnerabilities in your software.

Vulert is a service that monitors and alerts for open-source vulnerabilities in software using just a manifest file like package-lock.json, without requiring code access or installation.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.1.4-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback