All reports
Medium

kernel: soundwire: qcom: fix storing port config out-of-bounds

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-53465

Probability of exploitation in the next 30 days: 0.19%

FIRST EPSS · 2026-11-21

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 flaw was found in the Linux kernel's Qualcomm SoundWire driver. Due to an incorrect array indexing calculation when storing port configurations, the driver can write past the allocated bounds of the port configuration structure. A local user on a system with Qualcomm SoundWire hardware could exploit this vulnerability to corrupt kernel memory, potentially leading to privilege escalation or a Denial of Service (DoS) via a system crash.