Linux Kernel Memory Leak Vulnerability in set_mempolicy_home_node System Call

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's handling of the set_mempolicy_home_node system call. When the system call 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 memory allocated for the policy. This oversight allows arbitrary users to leak kernel memory.

Impact

Exploitation of this vulnerability can lead to unauthorized memory leakage from the kernel, potentially allowing users to access sensitive information or disrupt system operations.

Reproduction

To reproduce this vulnerability, invoke the set_mempolicy_home_node system call with a virtual memory area that has a memory policy other than MPOL_BIND or MPOL_PREFERRED_MANY. The system call will return an error, but the memory allocated for the policy will not be released, causing a memory leak.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. Instructions for upgrading the kernel can be found in the official Linux kernel documentation.

Added: Sep 18, 2025, 3:45 PM
Updated: Sep 18, 2025, 3:45 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
0.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.