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 43ADE394470 for ; Sun, 18 Oct 2026 15:37:29 +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=1792337850; cv=none; b=pvIjhzKxElF9dGBRgnEzhhgagP/vVG6amLo9PnaWiPiblP68h8bvVDtGWMYCoXdI3yr8hUhwvSn+dN4q0ScvjN68xJw9fEfzM5BjqCyjCcjVEv6AsYKtQfl9RVUMefEn9e7ImIFfJ1Ue7A0/NLOMDNrt+k7r2quosbNWEkJWE6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337850; c=relaxed/simple; bh=3BetCsdjWkoToJQdWQleZRy0+tlxuoS8Rn5Qi8GxWzk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=P/owBHrSE289xDPCykR70J/nm5PRhrMIRhSGk1eZaURcErrgmpSa1rb+s12apZP7fvAjVPOIZivSI2QzF5/xg539i1mXfbadMJzV4H3LDrfCa1lgCzH02XdBJkAdUVuz5af6CK+HbYUgKjGDlkOB0RtGS5ppBNB98+ROyq4fAbA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uaxl2N3I; 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="uaxl2N3I" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54C3A1F000C4; Sun, 18 Oct 2026 15:37:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337849; bh=QavYFoH0vm0SRRnHTAA57A1j9mV9DjC9WeNrI+swDm0=; h=From:To:Cc:Subject:Date:Reply-To; b=uaxl2N3I578zuIvE+sIWyOBnWFxvYBzIfx7Jfplfgn2KxPmg85vSZygj78qlYzlqa xJf3WADtWnVoPzaEGVU5FeTBAnX6BjjersdVOmECKU54FiJbLHKEeaf4QGUUmNOY0D T8/xT4uezcRXSswmtdAucnHLWrlQi0P3ye4YX338= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98650: KVM: s390: Fix potential races in dat skey functions Date: Sun, 18 Oct 2026 17:18:34 +0200 Message-ID: <2026101847-CVE-2026-98650-26b0@gregkh> X-Mailer: git-send-email 2.56.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=2590; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Wsp1wPWG9lvTDscf2hUdE53SBr5M+zN871YRXa6WbOw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHi2+3PMsek909rwfilei9l5/v3PZltNzN74UFVEJf miz80nvnY5YFgZBJgZZMUWWL9t4ju6vOKToZWh7GmYOKxPIEAYuTgGYCPdphgV9ahNOmc6q0M1e sqvtW4HSs5lXHZUY5lfMrF/u3632nHdKipfFRkUuvR7/CgA= 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: Fix potential races in dat skey functions When dat_cond_set_storage_key() finds a large page, it will conditionally set the storage key in absolute memory using large_crste_to_phys() to get the absolute address. There is a race window between dat_entry_walk() and large_crste_to_phys(): the large page could have been split concurrently, and large_crste_to_phys() might be called with a crste that does not designate a large page, leading to crashes. Similar issues were also present in dat_set_storage_key(). dat_get_storage_key() and dat_reset_reference_bit() did instead check for a potential concurrent splitting of the large page, but then handled it incorrectly. Fix by performing a READ_ONCE on the crste pointer, checking and using the result, instead of dereferencing the pointer again. In case a race is detacted, try dat_entry_walk() again. The Linux kernel CVE team has assigned CVE-2026-98650 to this issue. Affected and fixed versions =========================== Issue introduced in 7.0 with commit 8e03e8316eb242af307d1c789d09f1a1457cf9a3 and fixed in 7.2.9 with commit c958f0498891203fddf2764b28f8b102c6bfd719 Issue introduced in 7.0 with commit 8e03e8316eb242af307d1c789d09f1a1457cf9a3 and fixed in 7.3-rc5 with commit 27554b9505ddfc0aeab466aeb60929dfa17284c7 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-98650 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/gmap/dat.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/c958f0498891203fddf2764b28f8b102c6bfd719 https://git.kernel.org/stable/c/27554b9505ddfc0aeab466aeb60929dfa17284c7