CVE-2023-53465 soundwire: qcom: fix storing port config out-of-bounds

High 7.8 Published Updated

A buffer overflow in the Qualcomm SoundWire driver allows out-of-bounds writes, potentially leading to memory corruption and privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-53465?

CVE-2023-53465 is a high-severity memory corruption vulnerability in Linux kernel, published on 1 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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

Weakness: CWE-125

Which versions are affected by CVE-2023-53465?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53465?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-53465 being exploited?

There is no known exploitation of CVE-2023-53465 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53465, DEBIAN-CVE-2023-53465, GHSA-qhgr-vhx2-3qm4, UBUNTU-CVE-2023-53465.

Is CVE-2023-53465 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free