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 C206036F911 for ; Sat, 15 Aug 2026 06:21:44 +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=1786774905; cv=none; b=SIy4d9dF/pUXjjskqduuNYix4G1T3WPg2Q9+tiGQZhSRXHhd5+n0eCSVE1/BmLz/Lc6/rBLQ9yceD2D2yp5xmj7c4pUGWldRS9jAzObNEqVYQ3XVBaqXbIc+PWHkFgifzMuligzL9SfQU78PF9+ClRG/PdOTfPyue22IrWDbykE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774905; c=relaxed/simple; bh=JXSDnisJtHddOJ4vtuXvLkDaTFcjZl8TXIqfEeyWOAg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EUMiABOTdpdmZIsJTvMR1lDaZPTIRBISykzGoZmJRzzY4H3rx8ZzhawGZI2GcdHCKxn7gtqFrgEhMoNe4ujzfXgb1wiyEQn7lH0e7ivh1PRRfodfiFz7c5H+0wol5d7MxOHgz8fRqQkWmQjh870bc9i9W/85BoVqpwKKpVApSIA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MRMg1/Ut; 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="MRMg1/Ut" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 242621F000E9; Sat, 15 Aug 2026 06:21:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774904; bh=gIKsPyK4FGYibYYNd3keuVuQiRpRZjf4FPFkpggehss=; h=From:To:Cc:Subject:Date:Reply-To; b=MRMg1/UttMO6Wkv0ceGE9RFDnNacd0cmz+lvrhJEPqjJhljGHLUVaOAGYQcTECyLT Cytj16RKNs44+GZY6RjVhkmake4YBIBj0GeeUMyBBtlUT3qkLAG7PbSBA/3wC3jx7U ZsmkZ56LacSDs18+FiqEuB6pFx8FK+y+NCcj5w2s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72292: KVM: s390: Initialize KVM_S390_GET_CMMA_BITS memory Date: Sat, 15 Aug 2026 15:06:11 +0900 Message-ID: <2026081501-CVE-2026-72292-247c@gregkh> X-Mailer: git-send-email 2.55.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=2715; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TyKqF1psTJJ9NrvAouT0ncKk41GwsUrurLt9KoW+Tc4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDDefr3vmNfePfbBCEqerLt+fQx7zYjZ2lji+yBT6G nh0bpRbRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwk4SXD/BC1cKHWk0t3nfF6 YSC/sXTlPdvs5QzzDB5WqS3n3it5t4tH8s+y7KgJ96fkAQA= 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: KVM: s390: Initialize KVM_S390_GET_CMMA_BITS memory kvm_s390_get_cmma_bits() allocates its output buffer with vmalloc(), which does not zero the returned pages: values = vmalloc(args->count); In the non-peek (migration) path, dat_get_cmma() reports a byte count spanning from the first to the last dirty page, but __dat_get_cmma_pte() writes values[gfn - start] only for pages whose CMMA dirty bit is set. The walk uses DAT_WALK_IGN_HOLES, so clean and unmapped pages that lie between two dirty pages within the reported span are visited but never store their byte. Those gaps (up to KVM_S390_MAX_BIT_DISTANCE pages each) stay uninitialized yet fall inside [0, count) and are copied out by copy_to_user(), disclosing stale kernel memory to user space. Before the switch to the new gmap implementation the buffer was fully populated for every gfn in the span, so no uninitialized bytes were exposed; the dirty-only walk introduced the leak. Use vzalloc() so the gaps read back as zero. The Linux kernel CVE team has assigned CVE-2026-72292 to this issue. Affected and fixed versions =========================== Issue introduced in 7.0 with commit e38c884df92119d96f652d51f82661dd2fc0b885 and fixed in 7.1.5 with commit a4a19941ccb2164edc3491faa5ac5df82e94b363 Issue introduced in 7.0 with commit e38c884df92119d96f652d51f82661dd2fc0b885 and fixed in 7.2-rc1 with commit c7dda3d0f869dc97223448a06c9a2e5235928e48 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-72292 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/s390/kvm/kvm-s390.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/a4a19941ccb2164edc3491faa5ac5df82e94b363 https://git.kernel.org/stable/c/c7dda3d0f869dc97223448a06c9a2e5235928e48