{"id":"CVE-2023-53788","summary":"ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()\n\ntuning_ctl_set() might have buffer overrun at (X) if it didn't break\nfrom loop by matching (A).\n\n\tstatic int tuning_ctl_set(...)\n\t{\n\t\tfor (i = 0; i \u003c TUNING_CTLS_COUNT; i++)\n(A)\t\t\tif (nid == ca0132_tuning_ctls[i].nid)\n\t\t\t\tbreak;\n\n\t\tsnd_hda_power_up(...);\n(X)\t\tdspio_set_param(..., ca0132_tuning_ctls[i].mid, ...);\n\t\tsnd_hda_power_down(...);                ^\n\n\t\treturn 1;\n\t}\n\nWe will get below error by cppcheck\n\n\tsound/pci/hda/patch_ca0132.c:4229:2: note: After for loop, i has value 12\n\t for (i = 0; i \u003c TUNING_CTLS_COUNT; i++)\n\t ^\n\tsound/pci/hda/patch_ca0132.c:4234:43: note: Array index out of bounds\n\t dspio_set_param(codec, ca0132_tuning_ctls[i].mid, 0x20,\n\t                                           ^\nThis patch cares non match case.","modified":"2026-03-20T12:33:20.988633Z","published":"2025-12-09T00:00:43.777Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0316-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53788.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/32854bc91ae7debcdefdc7ae881ed83385a04792"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3590498117a11aa1f92a97e8a04d95320e347ebd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/734a3deb6614e3597e7e9ef7fb6006c593c5ee18"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f12f99b8017ad5ed5aff4b0aefe3bb7bbdf8a99"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98e5eb110095ec77cb6d775051d181edbf9cd3cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/baef27176ea5fdc7ad0947e2dc7733855e35db71"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d23f65f08247068576a01e28b297e995b7dc3965"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff5e8b49348f6a550c136b74efaf8b3c1d3ceaea"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53788.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53788"},{"type":"PACKAGE","url":"https://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/osv-test-cve-osv-conversion/osv-output/CVE-2023-53788.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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/osv-test-cve-osv-conversion/osv-output/CVE-2023-53788.json"}}],"schema_version":"1.7.5"}