CVE-2026-46182
Received Received - Intake
Kernel Memory Leak in Linux Kernel pseries/papr-hvpipe

Publication date: 2026-05-28

Last updated on: 2026-05-28

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: pseries/papr-hvpipe: Prevent kernel stack memory leak to userspace The hdr variable is allocated on the stack and only hdr.version and hdr.flags are initialized explicitly. Because the struct papr_hvpipe_hdr contains reserved padding bytes (reserved[3] and reserved2[40]), these could leak the uninitialized bytes to userspace after copy_to_user(). This patch fixes that by initializing the whole struct to 0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-28
Last Modified
2026-05-28
Generated
2026-05-28
AI Q&A
2026-05-28
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability impact me? :

This vulnerability can lead to a kernel stack memory leak to userspace. As a result, sensitive or confidential information residing in the kernel stack memory could be exposed to unprivileged userspace processes. This could potentially allow attackers to gain insights into kernel memory contents, which might aid in further exploitation or information disclosure attacks.


Can you explain this vulnerability to me?

This vulnerability exists in the Linux kernel, specifically in the pseries/papr-hvpipe component. The issue arises because a structure named papr_hvpipe_hdr is allocated on the kernel stack, but only some of its fields (version and flags) are explicitly initialized. The structure contains reserved padding bytes that remain uninitialized. When this structure is copied to userspace using the copy_to_user() function, these uninitialized bytes can leak kernel stack memory contents to userspace.

The vulnerability was fixed by modifying the code to initialize the entire structure to zero, preventing any uninitialized data from leaking.


What immediate steps should I take to mitigate this vulnerability?

The vulnerability is fixed by a patch that initializes the entire papr_hvpipe_hdr struct to zero, preventing kernel stack memory leaks to userspace.

To mitigate this vulnerability, you should update your Linux kernel to a version that includes this patch.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart