[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024122430-CVE-2024-53158-9e9f@gregkh>
Date: Tue, 24 Dec 2024 12:29:38 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-53158: soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
This loop is supposed to break if the frequency returned from
clk_round_rate() is the same as on the previous iteration. However,
that check doesn't make sense on the first iteration through the loop.
It leads to reading before the start of these->clk_perf_tbl[] array.
The Linux kernel CVE team has assigned CVE-2024-53158 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.18 with commit eddac5af06546d2e7a0730e3dc02dde3dc91098a and fixed in 4.19.325 with commit 37cdd4f0c266560b7b924c42361eeae3dc5f0c3e
Issue introduced in 4.18 with commit eddac5af06546d2e7a0730e3dc02dde3dc91098a and fixed in 5.4.287 with commit 7a3465b79ef0539aa10b310ac3cc35e0ae25b79e
Issue introduced in 4.18 with commit eddac5af06546d2e7a0730e3dc02dde3dc91098a and fixed in 5.10.231 with commit 748557ca7dc94695a6e209eb68fce365da9a3bb3
Issue introduced in 4.18 with commit eddac5af06546d2e7a0730e3dc02dde3dc91098a and fixed in 5.15.174 with commit f4b7bf5a50f1fa25560f0b66a13563465542861b
Issue introduced in 4.18 with commit eddac5af06546d2e7a0730e3dc02dde3dc91098a and fixed in 6.1.120 with commit b0a9c6ccaf88c4701787f61ecd2ec0eb014a0677
Issue introduced in 4.18 with commit eddac5af06546d2e7a0730e3dc02dde3dc91098a and fixed in 6.6.64 with commit c24e019ca12d9ec814af04b30a64dd7173fb20fe
Issue introduced in 4.18 with commit eddac5af06546d2e7a0730e3dc02dde3dc91098a and fixed in 6.11.11 with commit 56eda41dcce0ec4d3418b4f85037bdea181486cc
Issue introduced in 4.18 with commit eddac5af06546d2e7a0730e3dc02dde3dc91098a and fixed in 6.12.2 with commit 351bb7f9ecb9d1f09bd7767491a2b8d07f4f1ea4
Issue introduced in 4.18 with commit eddac5af06546d2e7a0730e3dc02dde3dc91098a and fixed in 6.13-rc1 with commit 78261cb08f06c93d362cab5c5034bf5899bc7552
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-53158
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/soc/qcom/qcom-geni-se.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/37cdd4f0c266560b7b924c42361eeae3dc5f0c3e
https://git.kernel.org/stable/c/7a3465b79ef0539aa10b310ac3cc35e0ae25b79e
https://git.kernel.org/stable/c/748557ca7dc94695a6e209eb68fce365da9a3bb3
https://git.kernel.org/stable/c/f4b7bf5a50f1fa25560f0b66a13563465542861b
https://git.kernel.org/stable/c/b0a9c6ccaf88c4701787f61ecd2ec0eb014a0677
https://git.kernel.org/stable/c/c24e019ca12d9ec814af04b30a64dd7173fb20fe
https://git.kernel.org/stable/c/56eda41dcce0ec4d3418b4f85037bdea181486cc
https://git.kernel.org/stable/c/351bb7f9ecb9d1f09bd7767491a2b8d07f4f1ea4
https://git.kernel.org/stable/c/78261cb08f06c93d362cab5c5034bf5899bc7552
Powered by blists - more mailing lists