ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set() (Linux Linux)

CVE-2023-53788
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 44f0c9782cc6ab71ea947f8f710a46f2078a151c < ff5e8b49348f6a550c136b74efaf8b3c1d3ceaea ; affected 44f0c9782cc6ab71ea947f8f710a46f2078a151c < 3590498117a11aa1f92a97e8a04d95320e347ebd ; affected 44f0c9782cc6ab71ea947f8f710a46f2078a151c < 7f12f99b8017ad5ed5aff4b0aefe3bb7bbdf8a99 ; affected 44f0c9782cc6ab71ea947f8f710a46f2078a151c < baef27176ea5fdc7ad0947e2dc7733855e35db71 ; affected 44f0c9782cc6ab71ea947f8f710a46f2078a151c < d23f65f08247068576a01e28b297e995b7dc3965 ; affected 44f0c9782cc6ab71ea947f8f710a46f2078a151c < 32854bc91ae7debcdefdc7ae881ed83385a04792
Linux · Linuxaffected 3.9 ; unaffected 0 < 3.9 ; unaffected 4.14.312 ≤ 4.14.* ; unaffected 4.19.280 ≤ 4.19.* ; unaffected 5.4.240 ≤ 5.4.* ; unaffected 5.10.177 ≤ 5.10.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD