CVE-2023-53788

Source
https://cve.org/CVERecord?id=CVE-2023-53788
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53788.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53788
Downstream
Related
Published
2025-12-09T00:00:43.777Z
Modified
2026-04-02T09:45:11.506902Z
Summary
ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
Details

In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda/ca0132: fixup buffer overrun at tuningctlset()

tuningctlset() might have buffer overrun at (X) if it didn't break from loop by matching (A).

static int tuning_ctl_set(...)
{
    for (i = 0; i < TUNING_CTLS_COUNT; i++)

(A) if (nid == ca0132tuningctls[i].nid) break;

    snd_hda_power_up(...);

(X) dspiosetparam(..., ca0132tuningctls[i].mid, ...); sndhdapower_down(...); ^

    return 1;
}

We will get below error by cppcheck

sound/pci/hda/patch_ca0132.c:4229:2: note: After for loop, i has value 12
 for (i = 0; i < TUNING_CTLS_COUNT; i++)
 ^
sound/pci/hda/patch_ca0132.c:4234:43: note: Array index out of bounds
 dspio_set_param(codec, ca0132_tuning_ctls[i].mid, 0x20,
                                           ^

This patch cares non match case.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53788.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
44f0c9782cc6ab71ea947f8f710a46f2078a151c
Fixed
ff5e8b49348f6a550c136b74efaf8b3c1d3ceaea
Fixed
3590498117a11aa1f92a97e8a04d95320e347ebd
Fixed
7f12f99b8017ad5ed5aff4b0aefe3bb7bbdf8a99
Fixed
baef27176ea5fdc7ad0947e2dc7733855e35db71
Fixed
d23f65f08247068576a01e28b297e995b7dc3965
Fixed
32854bc91ae7debcdefdc7ae881ed83385a04792
Fixed
734a3deb6614e3597e7e9ef7fb6006c593c5ee18
Fixed
98e5eb110095ec77cb6d775051d181edbf9cd3cf

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53788.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.9.0
Fixed
4.14.312
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.280
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.240
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.177
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.106
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.23
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53788.json"