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 0F87310E3 for ; Tue, 30 Jul 2024 07:48:13 +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=1722325694; cv=none; b=NzM1vEPA2iaf3FBCnMF+XRno4c2InqSzHMDr5D50n6p8nJCXJMU4YMKYIudaPft6aL9lIDpcestGlRZEiuvj30BA9yq/fl4EiWQP+tr7UNxF4H/RDU1PH7JLogm3uignz5+xw0xVDCq9q5AQz/lcj4w1hiZrECQpGfuK2AjlWkk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722325694; c=relaxed/simple; bh=eTpqU/ORo+/jKLVijIl5QMdf3X0AF8Rcu1x6xe4PD4o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jSjySX6RZNvGPfwlk+lfck5cEV6AT+Bx4X6zHqw1tO+jgFG+XEORzsWLGByItN3kaBoxVGpx32NyWDXCkBnX5RJfgIt33a/NlS3atQ1drK3Hfjuo0omL2bfUHjJ/ZX0dVxppNbEdsQCoZ8Oc9Nhb4XBeEn5YIpknb7HQUIAXtow= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=M8q4wmra; 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="M8q4wmra" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFDDDC32782; Tue, 30 Jul 2024 07:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722325693; bh=eTpqU/ORo+/jKLVijIl5QMdf3X0AF8Rcu1x6xe4PD4o=; h=From:To:Cc:Subject:Date:Reply-to:From; b=M8q4wmra7dOejwzC7JYQM/shZcuoKiud1H6DJc25180Q2EyAb5EOh8yEW2Au8MG9m /j+banZ7vlBgPLjnm1adAFx4huQvlWJjhCLKN7DLIEhqxprqZf13kZ44EuhePdTeEK U4HnPFyE5vWvDbE6OBfBbMC4WvW6IVcyfv9oyB54= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42099: s390/dasd: Fix invalid dereferencing of indirect CCW data pointer Date: Tue, 30 Jul 2024 09:47:17 +0200 Message-ID: <2024073018-CVE-2024-42099-d7b7@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=2182; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eTpqU/ORo+/jKLVijIl5QMdf3X0AF8Rcu1x6xe4PD4o=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkrZrUVbL7NJPtS9qnnRcGJsRKtRhuDOCVlK/OeT2J49 27t4VcuHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRxmUM87NmsGdI8cqH3Lbt UfJpebLvumuUDsNstsiUqTzrJN/Nf5rhPX/5vml33weLAwA= 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/dasd: Fix invalid dereferencing of indirect CCW data pointer Fix invalid dereferencing of indirect CCW data pointer in dasd_eckd_dump_sense() that leads to a kernel panic in error cases. When using indirect addressing for DASD CCWs (IDAW) the CCW CDA pointer does not contain the data address itself but a pointer to the IDAL. This needs to be translated from physical to virtual as well before using it. This dereferencing is also used for dasd_page_cache and also fixed although it is very unlikely that this code path ever gets used. The Linux kernel CVE team has assigned CVE-2024-42099 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit c0bd39601c13 and fixed in 6.9.9 with commit c116475f7d64 Issue introduced in 6.9 with commit c0bd39601c13 and fixed in 6.10 with commit b3a58f3b90f5 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-2024-42099 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/block/dasd_eckd.c drivers/s390/block/dasd_fba.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/c116475f7d6410b1e6d399207ac75de6cf9c3652 https://git.kernel.org/stable/c/b3a58f3b90f564f42a5c35778d8c5107b2c2150b