Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EE94F199242 for ; Tue, 16 Jul 2024 11:47:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721130460; cv=none; b=Nxr0mKlQ+bZnqr+irtVH8FgGR9LZPHaY9RAgKTuUM4DfC73+Ps0wZII2xCTDA4KzvUxmNHFSLs5r1ddo1oRb3vXz0NChs0Ye4S/Vfv09QF97KAyv90IS0hG43G+IA6gLXQxDaz/T7sbMRl2exHG5HaM56X7I9FlW2dGf9enTcHA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721130460; c=relaxed/simple; bh=CVoDKMvnywVP6svZS/hkUJvkDwgeP5NvzmoGIew8tTU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sEDKd4m7KupxOh4tSPPs/VjipFb2xjCS8Q6n+3XRC+AILHyFt/5ZDk4glS30r9lHF2CReQPu7+Qi2gjvSFAiTS/BnCQWtPP9tkxTlZK5SNhN6VtDBb3YiTlNwBkf4jh+bDQRthbn6UNNFowU/ZhC9JFkLdkrBXNfnajJ+Ar2M5I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UDgXYHmG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="UDgXYHmG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6AE63C116B1; Tue, 16 Jul 2024 11:47:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1721130459; bh=CVoDKMvnywVP6svZS/hkUJvkDwgeP5NvzmoGIew8tTU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=UDgXYHmGgFhUviLRsaUS+mFiIwD+r0vNnHwlPO74gZy/iLMBNubGfYZDlT190c4SH W+MFAk33NaGj2QJepeRWtXrz+61ydfjBgmeaAt1VL1wv28inOCMrYkx/KXr4pm/Liq 78Y5KcfaisqXhAB3MvgpCU8Niihaza88fNY9Sals= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48798: s390/cio: verify the driver availability for path_event call Date: Tue, 16 Jul 2024 13:45:50 +0200 Message-ID: <2024071643-CVE-2022-48798-2628@gregkh> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2060; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CVoDKMvnywVP6svZS/hkUJvkDwgeP5NvzmoGIew8tTU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnTYtPLJ95dpLXw5W/V57NTIqL7rCYyctxf9WXFzyly6 47ore/s6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJNJQxzLP1i43QeXFY8tPv 9glHUrcd5ue8vIxhnqnK+euL5E4FvL/+mbl4+8L3NTqSrQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: s390/cio: verify the driver availability for path_event call If no driver is attached to a device or the driver does not provide the path_event function, an FCES path-event on this device could end up in a kernel-panic. Verify the driver availability before the path_event function call. The Linux kernel CVE team has assigned CVE-2022-48798 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit 32ef938815c1 and fixed in 5.15.24 with commit fe990b7bf6ac Issue introduced in 5.11 with commit 32ef938815c1 and fixed in 5.16.10 with commit a0619027f115 Issue introduced in 5.11 with commit 32ef938815c1 and fixed in 5.17 with commit dd9cb842fa9d 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-2022-48798 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: drivers/s390/cio/device.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/fe990b7bf6ac93f1d850d076b8f0e758268aa4ab https://git.kernel.org/stable/c/a0619027f11590b2070624297530c34dc7f91bcd https://git.kernel.org/stable/c/dd9cb842fa9d90653a9b48aba52f89c069f3bc50