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 3F88740BF5 for ; Tue, 20 May 2025 16:47:51 +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=1747759672; cv=none; b=IR6lY4IbC+NEkULeqTvVXnl+0KfAvDAwAp5y4uyT4jXpyQ0dy/bDXmUzE/aCzweXSF1RWaR1jrHz7WhFZ0EOpeIKBQomuEC05t/U1VzGa9bFNlg1WoGkeP0YbYiRDBoIQmvdYaEZJhXEdDCrQQulIUuwFK4d3YKN4VQGPr2LLno= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747759672; c=relaxed/simple; bh=ldPuwQiLxxRG+Iu+tZAYln+ehEQl25wv6VpofpV8RfQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=S7d+FTw0bzNsgPAlAWmr4PC+Sw2e8NivAA7tSjIZ/Yd71sgUwa/DArUous3D02HJFI4Ge5hKTT6SbhhD626lszyk5VXecuZM0ZsdsLtjrM+C2JAGJ0TmEyXNsFIeusytubPrAXgTQRzwIUkBrT9uHJF5N372o3Nu0kQvbCcD9aM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=N5s/pzJY; 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="N5s/pzJY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D087C4CEE9; Tue, 20 May 2025 16:47:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747759671; bh=ldPuwQiLxxRG+Iu+tZAYln+ehEQl25wv6VpofpV8RfQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=N5s/pzJYf1HHS9je6FdX8J6HOD+YimPGnyaLjbmIpJPTq6jM6L9zOHQv8s84b1hFM wKtUlMmR1XzoVGyC1TrlybCD19IUrwlk4XCOuhLzp8vh1bhtsXcvEsgXvuzGBRFY6N XP2LJJRsN8osMuJU0ubCmCV5mLUFXCuw7AG6O2w8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37969: iio: imu: st_lsm6dsx: fix possible lockup in st_lsm6dsx_read_tagged_fifo Date: Tue, 20 May 2025 18:45:48 +0200 Message-ID: <2025052045-CVE-2025-37969-a239@gregkh> X-Mailer: git-send-email 2.49.0 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=2862; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hUz+eT2dAR9y9lx0431Qbw5+nshKMTILG14wU7mGgAg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk6G3fOmadwctnOffrHOVsbup94t240eluf/dW4Zblus NRh/8cbO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi648xzM8647f3SMynb0s0 ua/H33IIfcZudZhhwcTZlxKU/9q57c1MfmdkX/HewKJ1IgA= 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: iio: imu: st_lsm6dsx: fix possible lockup in st_lsm6dsx_read_tagged_fifo Prevent st_lsm6dsx_read_tagged_fifo from falling in an infinite loop in case pattern_len is equal to zero and the device FIFO is not empty. The Linux kernel CVE team has assigned CVE-2025-37969 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 5.15.183 with commit 35b8c0a284983b71d92d082c54b7eb655ed4194f Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 6.1.139 with commit 16857370b3a30663515956b3bd27f3def6a2cf06 Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 6.6.91 with commit 9ce662851380fe2018e36e15c0bdcb1ad177ed95 Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 6.12.29 with commit dadf9116108315f2eb14c7415c7805f392c476b4 Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 6.14.7 with commit 9ddb4cf2192c213e4dba1733bbcdc94cf6d85bf7 Issue introduced in 4.20 with commit 801a6e0af0c6cedca2e99155e343ad385a50f08e and fixed in 6.15-rc6 with commit 8114ef86e2058e2554111b793596f17bee23fa15 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-2025-37969 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/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.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/35b8c0a284983b71d92d082c54b7eb655ed4194f https://git.kernel.org/stable/c/16857370b3a30663515956b3bd27f3def6a2cf06 https://git.kernel.org/stable/c/9ce662851380fe2018e36e15c0bdcb1ad177ed95 https://git.kernel.org/stable/c/dadf9116108315f2eb14c7415c7805f392c476b4 https://git.kernel.org/stable/c/9ddb4cf2192c213e4dba1733bbcdc94cf6d85bf7 https://git.kernel.org/stable/c/8114ef86e2058e2554111b793596f17bee23fa15