# CVE-2026-46182: pseries/papr-hvpipe: Prevent kernel stack memory leak to userspace

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-28T09:36:35.528Z
- Modified: 2026-11-06T17:17:42.983Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from cebdb522fd3edd1fe05f7b4a74a27da7dd0f8d86 before 0479b6e9f999cc1cbad7d9f09f574fc387e605d5; from cebdb522fd3edd1fe05f7b4a74a27da7dd0f8d86 before f88f8e4485b437e0a2f96a7ff1f88aa22d925659; from cebdb522fd3edd1fe05f7b4a74a27da7dd0f8d86 before cefeed44296261173a806bef988b26bc565da4be; 6.18 (not affected: before 6.18; from 6.18.30 up to 6.18.*; from 7.0.7 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.18 before 6.18.30; from 6.19 before 7.0.7; 7.1

## References

- <https://git.kernel.org/stable/c/0479b6e9f999cc1cbad7d9f09f574fc387e605d5> (patch)
- <https://git.kernel.org/stable/c/f88f8e4485b437e0a2f96a7ff1f88aa22d925659> (patch)
- <https://git.kernel.org/stable/c/cefeed44296261173a806bef988b26bc565da4be> (patch)

## Sources

- CVE List: [CVE-2026-46182](https://www.cve.org/CVERecord?id=CVE-2026-46182), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-46182](https://nvd.nist.gov/vuln/detail/CVE-2026-46182), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-46182 · Whole record: https://cve.day/CVE-2026-46182.json · Rebuilt by cve.day 2026-11-25T22:59:22.847Z
