ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
In the Linux kernel, the following vulnerability has been resolved: ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set() tuning_ctl_set() 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 == ca0132_tuning_ctls[i].nid) break; snd_hda_power_up(...); (X) dspio_set_param(..., ca0132_tuning_ctls[i].mid, ...); snd_hda_power_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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.14.312, 4.19.280, 5.10.177, 5.15.106, 5.4.240, 6.1.23, 6.2.10
- CVEs
- CVE-2023-53788
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 22:52 UTC · Revision 1
Source evidence
ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
core-osv · Original sourcePublished 9 Dec 2025, 00:00 UTC
In the Linux kernel, the following vulnerability has been resolved: ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set() tuning_ctl_set() 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 == ca0132_tuning_ctls[i].nid) break; snd_hda_power_up(...); (X) dspio_set_param(..., ca0132_tuning_ctls[i].mid, ...); snd_hda_power_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.
osv:CVE-2023-53788
Kernel
Fixed versions: 4.14.312, 4.19.280, 5.4.240, 5.10.177, 5.15.106, 6.1.23, 6.2.10
Complete source record
{
"id": "17f6f9fb34bfca320ffb5554df2d5932d86a9c4c962154216e09d6f716be2628",
"url": "https://osv.dev/vulnerability/CVE-2023-53788",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set() tuning_ctl_set() 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 == ca0132_tuning_ctls[i].nid) break; snd_hda_power_up(...); (X) dspio_set_param(..., ca0132_tuning_ctls[i].mid, ...); snd_hda_power_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.",
"evidence": "osv:CVE-2023-53788",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.14.312",
"evidence": "/affected/1/ranges"
},
{
"value": "4.19.280",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.240",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.177",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.106",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.23",
"evidence": "/affected/1/ranges"
},
{
"value": "6.2.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2023-53788",
"aliases": [
"CVE-2023-53788"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53788.json"
}
}
],
"modified": "2026-10-28T02:30:32.020853250Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/32854bc91ae7debcdefdc7ae881ed83385a04792",
"https://git.kernel.org/stable/c/3590498117a11aa1f92a97e8a04d95320e347ebd",
"https://git.kernel.org/stable/c/734a3deb6614e3597e7e9ef7fb6006c593c5ee18",
"https://git.kernel.org/stable/c/7f12f99b8017ad5ed5aff4b0aefe3bb7bbdf8a99",
"https://git.kernel.org/stable/c/98e5eb110095ec77cb6d775051d181edbf9cd3cf",
"https://git.kernel.org/stable/c/baef27176ea5fdc7ad0947e2dc7733855e35db71",
"https://git.kernel.org/stable/c/d23f65f08247068576a01e28b297e995b7dc3965",
"https://git.kernel.org/stable/c/ff5e8b49348f6a550c136b74efaf8b3c1d3ceaea",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53788.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-53788",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53788.json"
}
},
"related_cves": [
{
"value": "CVE-2023-53788",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 499192,
"published_at": "2025-12-09T00:00:43.777+00:00"
}