CVE-2023-53465
soundwire: qcom: fix storing port config out-of-bounds
Check your servers for CVE-2023-53465
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53465 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.36% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9916c02ccd74e672b62dd1a9017ac2f237ebf512, before 20f7c4d51c94abb1a1a7c21900db4fb5afe5c8ff affected from 9916c02ccd74e672b62dd1a9017ac2f237ebf512, before 801daff0078087b5df9145c9f5e643c28129734b affected from 9916c02ccd74e672b62dd1a9017ac2f237ebf512, before 32eb67d7360d48c15883e0d21b29c0aab9da022e affected from 9916c02ccd74e672b62dd1a9017ac2f237ebf512, before 490937d479abe5f6584e69b96df066bc87be92e9
Other versions: unaffected
|
| Linux |
affected 5.13 unaffected before 5.13 unaffected from 5.15.121 up to and including 5.15.* unaffected from 6.1.40 up to and including 6.1.* unaffected from 6.4.5 up to and including 6.4.* unaffected 6.5 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53465 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53465
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53465
trivy image --scanners vuln IMAGE | grep CVE-2023-53465
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/20f7c4d51c94abb1a1a7c21900db4fb5afe5c8ff git.kernel.org
- https://git.kernel.org/stable/c/801daff0078087b5df9145c9f5e643c28129734b git.kernel.org
- https://git.kernel.org/stable/c/32eb67d7360d48c15883e0d21b29c0aab9da022e git.kernel.org
- https://git.kernel.org/stable/c/490937d479abe5f6584e69b96df066bc87be92e9 git.kernel.org
Source: the record CVE-2023-53465 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse