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 CDD4635959 for ; Fri, 27 Dec 2024 15:01:29 +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=1735311689; cv=none; b=dtJwUHWjv8n26YtX49GZZCbY2B7b6txlUSMsifld9kd4a1Bh/blLz/BSbH5iX56PH0TerM+mI8nrimt0xBnvqziPl5TfRAUBNWOBTqEK6aKr0QXzIbALbLrDyVHgrp+L942McImizkCaoq1+G8zwe229/esJasZ5iE+rrFXd8yU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735311689; c=relaxed/simple; bh=NcMr+5e9TRHumgQl4n9mBekH/obVK+syQwyTSjDckoU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GKJ2iID8YR1rhPGA1rPdIuCtx0AYaAtlvynse32DxQ4ewA1cN6FI9OWs9ZbvZMTQG/WJZhRqbm6b4OoFPFa8V7SCNj62ofUByH64f2vdZXruv+7qmSSY2AJs2xGzMiuY1tpdkzKqGs+J3EzdL57p9PAru8WfKliRCv2E7AWzvPA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lf2saNBQ; 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="lf2saNBQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 425D8C4CED6; Fri, 27 Dec 2024 15:01:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735311689; bh=NcMr+5e9TRHumgQl4n9mBekH/obVK+syQwyTSjDckoU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=lf2saNBQbOQLC8w58Uu/EhGbiM2HtcZopxSsGx+hstepRHrRD2KP4+0LJahtXYSct 0jXsmgst2/yX9YJA41MbWaEiEUKqQEKqnUfokt1qOp6l4Bf/sV4DAs44DAlQY+d/Po opEMyCu7yyGIrBZ3xrqkJWCOYTuqyDadShuE7GAo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56622: scsi: ufs: core: sysfs: Prevent div by zero Date: Fri, 27 Dec 2024 15:51:29 +0100 Message-ID: <2024122710-CVE-2024-56622-cee7@gregkh> X-Mailer: git-send-email 2.47.1 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=2501; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NcMr+5e9TRHumgQl4n9mBekH/obVK+syQwyTSjDckoU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5++4dPJhZxXNv2TvHsDd7ZY23G5Xu2Zzb9b4k/f9kt Zp1+16HdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEejgZ5qk8fyb9sPHK3+lz bcS5owvZPh6+PAUo+jNN4LGBywXh7Yk8AqIbkt32qUwHAA== 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: scsi: ufs: core: sysfs: Prevent div by zero Prevent a division by 0 when monitoring is not enabled. The Linux kernel CVE team has assigned CVE-2024-56622 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit 1d8613a23f3c3b8f0101e453ff150e05a0d1cd4f and fixed in 5.15.174 with commit 87bf3ea841a5d77beae6bb85af36b2b3848407ee Issue introduced in 5.14 with commit 1d8613a23f3c3b8f0101e453ff150e05a0d1cd4f and fixed in 6.1.120 with commit 7b21233e5f72d10f08310689f993c1dbdfde9f2c Issue introduced in 5.14 with commit 1d8613a23f3c3b8f0101e453ff150e05a0d1cd4f and fixed in 6.6.66 with commit 0069928727c2e95ca26c738fbe6e4b241aeaaf08 Issue introduced in 5.14 with commit 1d8613a23f3c3b8f0101e453ff150e05a0d1cd4f and fixed in 6.12.5 with commit 9c191055c7abea4912fdb83cb9b261732b25a0c8 Issue introduced in 5.14 with commit 1d8613a23f3c3b8f0101e453ff150e05a0d1cd4f and fixed in 6.13-rc2 with commit eb48e9fc0028bed94a40a9352d065909f19e333c 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-56622 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/ufs/core/ufs-sysfs.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/87bf3ea841a5d77beae6bb85af36b2b3848407ee https://git.kernel.org/stable/c/7b21233e5f72d10f08310689f993c1dbdfde9f2c https://git.kernel.org/stable/c/0069928727c2e95ca26c738fbe6e4b241aeaaf08 https://git.kernel.org/stable/c/9c191055c7abea4912fdb83cb9b261732b25a0c8 https://git.kernel.org/stable/c/eb48e9fc0028bed94a40a9352d065909f19e333c