CVE-2023-53465

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

State
Published
Severity
7.8 High
Published
Oct 1, 2025
Updated
Aug 5, 2026
Reserved
Oct 1, 2025

Read the record on cve.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

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9916c02ccd74e672b62dd1a9017ac2f237ebf512 to before 20f7c4d51c94abb1a1a7c21900db4fb5afe5c8ffAffected
  • 9916c02ccd74e672b62dd1a9017ac2f237ebf512 to before 801daff0078087b5df9145c9f5e643c28129734bAffected
  • 9916c02ccd74e672b62dd1a9017ac2f237ebf512 to before 32eb67d7360d48c15883e0d21b29c0aab9da022eAffected
  • 9916c02ccd74e672b62dd1a9017ac2f237ebf512 to before 490937d479abe5f6584e69b96df066bc87be92e9Affected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.121 through 5.15.*Not affected
  • 6.1.40 through 6.1.*Not affected
  • 6.4.5 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.