CVE-2023-53465 Details
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
A buffer overflow vulnerability has been identified in the Linux kernel's Soundwire implementation for Qualcomm devices. The issue arises in the 'qcom_swrm_ctrl' structure, where the port configuration array 'pconfig' is sized for a maximum of 14 ports. However, the indexing starts at 1 to align with actual port numbers, leading to potential writes beyond the allocated buffer and overwriting adjacent memory. This vulnerability was flagged by the kernel test robot and Dan Carpenter, and has been addressed in a recent patch.
Users can upgrade to the patched version of the Linux kernel available in the Linux Kernel Stable Patches repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/20f7c4d51c94abb1a1a7c21900db4fb5afe5c8ff | kernel.org | Patch |
| https://git.kernel.org/stable/c/32eb67d7360d48c15883e0d21b29c0aab9da022e | kernel.org | Patch |
| https://git.kernel.org/stable/c/490937d479abe5f6584e69b96df066bc87be92e9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/801daff0078087b5df9145c9f5e643c28129734b | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.13, < 5.15.121 >= 5.16, < 6.1.40 >= 6.2, < 6.4.5 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 20, 2026 | Initial Analysis | [email protected] |
| Oct 1, 2025 | New CVE Received | kernel.org |