soundwire: qcom: fix storing port config out-of-bounds
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
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.121, 6.1.40, 6.4.5
- CVEs
- CVE-2023-53465
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 02:53 UTC · Revision 1
Source evidence
soundwire: qcom: fix storing port config out-of-bounds
core-osv · Original sourcePublished 1 Oct 2025, 11:42 UTC
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
osv:CVE-2023-53465
Kernel
Fixed versions: 5.15.121, 6.1.40, 6.4.5
Complete source record
{
"id": "a1782efd3584cac753807b6b50a0b2726e71cbfd564bbb3da6026153026c3dae",
"url": "https://osv.dev/vulnerability/CVE-2023-53465",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "soundwire: qcom: fix storing port config out-of-bounds",
"summary": "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",
"evidence": "osv:CVE-2023-53465",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.121",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.40",
"evidence": "/affected/1/ranges"
},
{
"value": "6.4.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2023-53465",
"aliases": [
"CVE-2023-53465"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "9916c02ccd74e672b62dd1a9017ac2f237ebf512"
},
{
"fixed": "20f7c4d51c94abb1a1a7c21900db4fb5afe5c8ff"
},
{
"fixed": "801daff0078087b5df9145c9f5e643c28129734b"
},
{
"fixed": "32eb67d7360d48c15883e0d21b29c0aab9da022e"
},
{
"fixed": "490937d479abe5f6584e69b96df066bc87be92e9"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53465.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.13.0"
},
{
"fixed": "5.15.121"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.40"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.4.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53465.json"
}
}
],
"modified": "2026-10-28T02:30:32.853484589Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/20f7c4d51c94abb1a1a7c21900db4fb5afe5c8ff",
"https://git.kernel.org/stable/c/32eb67d7360d48c15883e0d21b29c0aab9da022e",
"https://git.kernel.org/stable/c/490937d479abe5f6584e69b96df066bc87be92e9",
"https://git.kernel.org/stable/c/801daff0078087b5df9145c9f5e643c28129734b",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53465.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-53465",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53465.json"
}
},
"related_cves": [
{
"value": "CVE-2023-53465",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499830,
"published_at": "2025-10-01T11:42:36.007+00:00"
}