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 62449514764 for ; Wed, 14 Oct 2026 13:26:20 +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=1791984382; cv=none; b=suc9BbDpjFzE9WyTNvgxPmsrHwDE1XkCb74ZRpdmUA4jGMrouo8kkkk7RWdvM5U21DaipWWwpMdJHfGftM1mixtY+C93ag3ToRus3D6le0liyKm8mO3N1XEuLPSr72F1YEa895NEPUmzI0j5i05/TSYz2B9m/t55l2gltKCZltw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791984382; c=relaxed/simple; bh=JIfkRZY6nGrV2Y4KofZkxmjWta8U28A5ai2A6C2falo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RJhxiySVqEnduDwhOlzMIJtUDvDQqoyoMp15RouQ/vrYzieC0TFtlK9tj+o0DD485Tdsi1PY1erUKlfx8Gv192lDWhc6oW+3nPDwxpKSpI11ZJIXVsZdDnohXP3ZEKn1OMOjvMTXHaP1uqG+KLbtTqFZDQsbxD1NabUU+S5wUPY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Fdgq5ng6; 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="Fdgq5ng6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E9901F000FF; Wed, 14 Oct 2026 13:26:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791984379; bh=ENfx/idCrfNeEjZet0vO0H9IpYPmFjFwaBlaoR22G6Q=; h=From:To:Cc:Subject:Date:Reply-To; b=Fdgq5ng6kmWbGxG2hZwwnejrRQ2kH+68pQ3o37tNk5SzCbHHbE84qvSrjmiEq0zk5 tg5sfZeZZAW8FFpsICOYvILOC41D5s6yRim4k+GKFsXvJ0Zi5YqhOpfzAFA6gPvPNd xSzK966HRamAHxC9B80Z9nOHJJ7QoWsBwHT3L+xE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98387: s390/crypto: Fix skcipher_walk return code handling in aes_s390 Date: Wed, 14 Oct 2026 15:26:17 +0200 Message-ID: <2026101419-CVE-2026-98387-4da1@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=2726; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ufHMUvHbMM9qCcQ25k6CcCteIE5XJkuIzJGjd72rKCQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnnm37fMzWXSE8PXHjrruCu2tBdRoLPcpqOcLz02fnvn sWxFMFnHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRlD6GBWfU9nxSKCrrZfqS 983jbG3K6x9iBgwL2ooW81/YF8L3e/FC7r/TZlXlHPs1BwA= 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: s390/crypto: Fix skcipher_walk return code handling in aes_s390 The return codes from skcipher_walk_virt() were not properly checked before entering the processing loops in ecb_aes_crypt() and ctr_aes_crypt(). If skcipher_walk_virt() fails, the walk structure may be in an undefined state, and attempting to process data could lead to incorrect behavior or accessing uninitialized memory. Add proper return code checking to ensure correct handling of the walk initialization and walk advance and eventually return to the caller with that return code. The Linux kernel CVE team has assigned CVE-2026-98387 to this issue. Affected and fixed versions =========================== Issue introduced in 5.5 with commit 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 and fixed in 6.12.111 with commit 89b58645646d1dac34162cc2597f42266bfbf930 Issue introduced in 5.5 with commit 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 and fixed in 6.18.53 with commit 35c3f97569306050e818fa18e17fa97c358f0f28 Issue introduced in 5.5 with commit 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 and fixed in 7.2.7 with commit aea3e1588f08e381a7a57b2bf1a60cc2347904cd Issue introduced in 5.5 with commit 7988fb2c03c8cf9936f851ab19a6d21b3c3411c0 and fixed in 7.3-rc3 with commit 15fa028589c3a2545f0bff355eff06d5844196bf 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-98387 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/crypto/aes_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/89b58645646d1dac34162cc2597f42266bfbf930 https://git.kernel.org/stable/c/35c3f97569306050e818fa18e17fa97c358f0f28 https://git.kernel.org/stable/c/aea3e1588f08e381a7a57b2bf1a60cc2347904cd https://git.kernel.org/stable/c/15fa028589c3a2545f0bff355eff06d5844196bf