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.
Published: 2026-05-28
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel component responsible for papr-hvpipe allocates a structure on the kernel stack but initializes only a subset of its fields. The remaining reserved padding remains uninitialized. When the structure is copied to user space, those bytes can leak kernel‑level data to an attacker, resulting in a local information‑disclosure vulnerability. The weakness is a classic use of uninitialized memory that may expose sensitive data.

Affected Systems

The vulnerability is present in the Linux kernel's pseries/papr-hvpipe module. Any build that includes this module may be vulnerable. Information about the specific operating contexts, such as IBM Power PC systems, is not explicitly stated; it is inferred from the module name but is not directly provided in the description.

Risk and Exploitability

The CVSS score is 5.5, the EPSS score is less than 1%, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw requires the copy_to_user path—typically exercised by the kernel when managing the hypervisor pipe API—the attack surface is limited to local processes that can exercise that interface. Nonetheless, the exposure of kernel stack data could leak privileged information. The lack of a publicly documented exploitation vector suggests moderate risk pending further analysis.

Generated by OpenCVE AI on June 11, 2026 at 06:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the patch initializing the papr_hvpipe header structure to zero.
  • If an immediate kernel upgrade is unavailable, recompile the kernel with the latest commit that contains the fix or apply the patch from the provided git blobs.
  • As a temporary measure, restrict access to the hypervisor pipe interface or disable the feature if it is not required for your environment.

Generated by OpenCVE AI on June 11, 2026 at 06:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 11 Jun 2026 05:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-254

Thu, 11 Jun 2026 03:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*

Fri, 29 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Thu, 28 May 2026 13:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-254

Thu, 28 May 2026 10:15:00 +0000

Type Values Removed Values Added
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.
Title pseries/papr-hvpipe: Prevent kernel stack memory leak to userspace
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-14T18:00:50.449Z

Reserved: 2026-05-13T15:03:33.103Z

Link: CVE-2026-46182

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-28T10:16:33.837

Modified: 2026-06-11T03:00:58.923

Link: CVE-2026-46182

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-05-28T00:00:00Z

Links: CVE-2026-46182 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-11T06:30:09Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-908

    Use of Uninitialized Resource