[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100108-CVE-2023-53465-eb0b@gregkh>
Date: Wed, 1 Oct 2025 13:42:35 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53465: soundwire: qcom: fix storing port config out-of-bounds
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
soundwire: qcom: fix storing port config out-of-bounds
The 'qcom_swrm_ctrl->pconfig' has size of QCOM_SDW_MAX_PORTS (14),
however we index it starting from 1, not 0, to match real port numbers.
This can lead to writing port config past 'pconfig' bounds and
overwriting next member of 'qcom_swrm_ctrl' struct. Reported also by
smatch:
drivers/soundwire/qcom.c:1269 qcom_swrm_get_port_config() error: buffer overflow 'ctrl->pconfig' 14 <= 14
The Linux kernel CVE team has assigned CVE-2023-53465 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.13 with commit 9916c02ccd74e672b62dd1a9017ac2f237ebf512 and fixed in 5.15.121 with commit 20f7c4d51c94abb1a1a7c21900db4fb5afe5c8ff
Issue introduced in 5.13 with commit 9916c02ccd74e672b62dd1a9017ac2f237ebf512 and fixed in 6.1.40 with commit 801daff0078087b5df9145c9f5e643c28129734b
Issue introduced in 5.13 with commit 9916c02ccd74e672b62dd1a9017ac2f237ebf512 and fixed in 6.4.5 with commit 32eb67d7360d48c15883e0d21b29c0aab9da022e
Issue introduced in 5.13 with commit 9916c02ccd74e672b62dd1a9017ac2f237ebf512 and fixed in 6.5 with commit 490937d479abe5f6584e69b96df066bc87be92e9
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-2023-53465
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/soundwire/qcom.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/20f7c4d51c94abb1a1a7c21900db4fb5afe5c8ff
https://git.kernel.org/stable/c/801daff0078087b5df9145c9f5e643c28129734b
https://git.kernel.org/stable/c/32eb67d7360d48c15883e0d21b29c0aab9da022e
https://git.kernel.org/stable/c/490937d479abe5f6584e69b96df066bc87be92e9
Powered by blists - more mailing lists