{"id":"CVE-2023-53788","published":"2025-12-09T00:00:43Z","modified":"2026-05-11T19:51:32Z","title":"ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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 < 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 < 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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00291,"percentile":0.14216,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ff5e8b49348f6a550c136b74efaf8b3c1d3ceaea","tags":[]},{"url":"https://git.kernel.org/stable/c/3590498117a11aa1f92a97e8a04d95320e347ebd","tags":[]},{"url":"https://git.kernel.org/stable/c/7f12f99b8017ad5ed5aff4b0aefe3bb7bbdf8a99","tags":[]},{"url":"https://git.kernel.org/stable/c/baef27176ea5fdc7ad0947e2dc7733855e35db71","tags":[]},{"url":"https://git.kernel.org/stable/c/d23f65f08247068576a01e28b297e995b7dc3965","tags":[]},{"url":"https://git.kernel.org/stable/c/32854bc91ae7debcdefdc7ae881ed83385a04792","tags":[]},{"url":"https://git.kernel.org/stable/c/734a3deb6614e3597e7e9ef7fb6006c593c5ee18","tags":[]},{"url":"https://git.kernel.org/stable/c/98e5eb110095ec77cb6d775051d181edbf9cd3cf","tags":[]}],"priority":{"score":2.8,"factors":[{"name":"EPSS percentile","points":2.84}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 44f0c9782cc6ab71ea947f8f710a46f2078a151c, < ff5e8b49348f6a550c136b74efaf8b3c1d3ceaea",">= 44f0c9782cc6ab71ea947f8f710a46f2078a151c, < 3590498117a11aa1f92a97e8a04d95320e347ebd",">= 44f0c9782cc6ab71ea947f8f710a46f2078a151c, < 7f12f99b8017ad5ed5aff4b0aefe3bb7bbdf8a99",">= 44f0c9782cc6ab71ea947f8f710a46f2078a151c, < baef27176ea5fdc7ad0947e2dc7733855e35db71",">= 44f0c9782cc6ab71ea947f8f710a46f2078a151c, < d23f65f08247068576a01e28b297e995b7dc3965",">= 44f0c9782cc6ab71ea947f8f710a46f2078a151c, < 32854bc91ae7debcdefdc7ae881ed83385a04792",">= 44f0c9782cc6ab71ea947f8f710a46f2078a151c, < 734a3deb6614e3597e7e9ef7fb6006c593c5ee18",">= 44f0c9782cc6ab71ea947f8f710a46f2078a151c, < 98e5eb110095ec77cb6d775051d181edbf9cd3cf"]},{"vendor":"Linux","product":"Linux","versions":["3.9"]}],"euvd":{"id":"EUVD-2023-60118","exploited":false,"provenance":"source"}}