mm/mempolicy: fix memory leak in set_mempolicy_home_node system call
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.0.176.1.36.2In 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_PREFERRED_MANY, an error is returned without issuing a mpol_put on the policy just allocated with mpol_dup().
This allows arbitrary users to leak kernel memory.
From the CVE record · Linux
The set_mempolicy_home_node system call can leak kernel memory when a VMA in the specified range has a policy other than MPOL_BIND or MPOL_PREFERRED_MANY. A local user can trigger the leak; no additional user interaction is described.
Engineers running the Linux kernel should check their versions against the vendor advisory; affected versions are not specified in the input.