Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C81B3AE1BC for ; Thu, 28 May 2026 09:42:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961344; cv=none; b=O9lvn7rk1H70SE4r3Oy3FJ7u7RlpBSbY26UwUcmyov+RKtjtfmoPw6RG/k0Wp7Y5bKFQK1wXaYysFefQWDLvQAAPCr/8oVGjRwILFFLcQOS1i47wjBpzkULGBh6u3D0ZgbPczLCyF5eguu1ixQx067IdpYvYRgAw+SmVm98/3Rw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961344; c=relaxed/simple; bh=DcVEMg091xwyOC3sq2jTfHYZbQv/c2GGSjDSS3IBuKo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YzKf3/DxKBThsUqJAzj0tI2Gda4BB+y7crvUbMlvU2fFphaIo6kfyb6x0r28GUcRQk+FlfE5yMOM2+shleatJXzpehDHn/gNxHYlz9Q7I1tTUsyRopBAQukqS2W5Ta3BjtIPyBWFVQnSb/ce7Ysza33wzszr3wHJ4tETZw7S6MY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HXR50dzZ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="HXR50dzZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4190F1F000E9; Thu, 28 May 2026 09:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961342; bh=PEAVBoMkSWkTksVW4TUL0Zm9Xoof59jHfobxZCFJQj0=; h=From:To:Cc:Subject:Date:Reply-To; b=HXR50dzZ1HIcPkBynWsqOTBfy9COd5CXl0MwkMHZbLJCvnYxeD30VxswYty4YZYqJ 0iBrrLJgD5RTbYK3tcN04JfpinhKq6qs7RYEcjl+OlzpBAvHHUY0qFM9B3h/TDnoK7 qhQdX7cRjNdnPuLiEi/GEh4yb+eSC8apxtWfuPTw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46182: pseries/papr-hvpipe: Prevent kernel stack memory leak to userspace Date: Thu, 28 May 2026 11:37:27 +0200 Message-ID: <2026052829-CVE-2026-46182-71eb@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2373; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HIknX6suU9iYjcuSoqguvXF3LH84EKW/k0rOxxGgRaE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSPPMess7UOl1ndOFxwRNLQ+W4ffVnLtqu+bm0OzJLS 5cl2eJgRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEyIxhwZkjC7nClm+oZrhS 53b+c+sPV/mO6QwLZp19/mzahkLrrb9OdXjsWvo5cXH/bwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-46182 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit cebdb522fd3edd1fe05f7b4a74a27da7dd0f8d86 and fixed in 6.18.30 with commit 0479b6e9f999cc1cbad7d9f09f574fc387e605d5 Issue introduced in 6.18 with commit cebdb522fd3edd1fe05f7b4a74a27da7dd0f8d86 and fixed in 7.0.7 with commit f88f8e4485b437e0a2f96a7ff1f88aa22d925659 Issue introduced in 6.18 with commit cebdb522fd3edd1fe05f7b4a74a27da7dd0f8d86 and fixed in 7.1-rc3 with commit cefeed44296261173a806bef988b26bc565da4be Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-46182 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: arch/powerpc/platforms/pseries/papr-hvpipe.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/0479b6e9f999cc1cbad7d9f09f574fc387e605d5 https://git.kernel.org/stable/c/f88f8e4485b437e0a2f96a7ff1f88aa22d925659 https://git.kernel.org/stable/c/cefeed44296261173a806bef988b26bc565da4be