pseries/papr-hvpipe: Prevent kernel stack memory leak to userspace
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.30, 7.0.7
- CVEs
- CVE-2026-46182
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 02:52 UTC · Revision 1
Source evidence
pseries/papr-hvpipe: Prevent kernel stack memory leak to userspace
core-osv · Original sourcePublished 28 May 2026, 09:36 UTC
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.
osv:CVE-2026-46182
Kernel
Fixed versions: 6.18.30, 7.0.7
Complete source record
{
"id": "d5aca8d50ba8906598e9854f441311ba753dd947b5b6e30291319f1a33c89994",
"url": "https://osv.dev/vulnerability/CVE-2026-46182",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "pseries/papr-hvpipe: Prevent kernel stack memory leak to userspace",
"summary": "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.",
"evidence": "osv:CVE-2026-46182",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.30",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-46182",
"aliases": [
"CVE-2026-46182"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.18.0"
},
{
"fixed": "6.18.30"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46182.json"
}
}
],
"modified": "2026-10-28T02:30:32.876983007Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0479b6e9f999cc1cbad7d9f09f574fc387e605d5",
"https://git.kernel.org/stable/c/cefeed44296261173a806bef988b26bc565da4be",
"https://git.kernel.org/stable/c/f88f8e4485b437e0a2f96a7ff1f88aa22d925659",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46182.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-46182",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46182.json"
}
},
"related_cves": [
{
"value": "CVE-2026-46182",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 499826,
"published_at": "2026-05-28T09:36:35.528+00:00"
}