{"id":"CVE-2026-46182","summary":"pseries/papr-hvpipe: Prevent kernel stack memory leak to userspace","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npseries/papr-hvpipe: Prevent kernel stack memory leak to userspace\n\nThe hdr variable is allocated on the stack and only hdr.version and\nhdr.flags are initialized explicitly. Because the struct papr_hvpipe_hdr\ncontains reserved padding bytes (reserved[3] and reserved2[40]), these\ncould leak the uninitialized bytes to userspace after copy_to_user().\n\nThis patch fixes that by initializing the whole struct to 0.","modified":"2026-07-08T08:13:37.635033002Z","published":"2026-05-28T09:36:35.528Z","related":["openSUSE-SU-2026:10954-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46182.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0479b6e9f999cc1cbad7d9f09f574fc387e605d5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cefeed44296261173a806bef988b26bc565da4be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f88f8e4485b437e0a2f96a7ff1f88aa22d925659"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46182.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46182"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"cebdb522fd3edd1fe05f7b4a74a27da7dd0f8d86"},{"fixed":"0479b6e9f999cc1cbad7d9f09f574fc387e605d5"},{"fixed":"f88f8e4485b437e0a2f96a7ff1f88aa22d925659"},{"fixed":"cefeed44296261173a806bef988b26bc565da4be"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46182.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.30"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46182.json"}}],"schema_version":"1.7.5"}