CVE-2023-53788 (GCVE-0-2023-53788)
Vulnerability from cvelistv5
Published
2025-12-09 00:00
Modified
2026-01-05 10:32
Severity ?
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.
Impacted products
Vendor Product Version
Linux Linux Version: 44f0c9782cc6ab71ea947f8f710a46f2078a151c
Version: 44f0c9782cc6ab71ea947f8f710a46f2078a151c
Version: 44f0c9782cc6ab71ea947f8f710a46f2078a151c
Version: 44f0c9782cc6ab71ea947f8f710a46f2078a151c
Version: 44f0c9782cc6ab71ea947f8f710a46f2078a151c
Version: 44f0c9782cc6ab71ea947f8f710a46f2078a151c
Version: 44f0c9782cc6ab71ea947f8f710a46f2078a151c
Version: 44f0c9782cc6ab71ea947f8f710a46f2078a151c
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "sound/pci/hda/patch_ca0132.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ff5e8b49348f6a550c136b74efaf8b3c1d3ceaea",
              "status": "affected",
              "version": "44f0c9782cc6ab71ea947f8f710a46f2078a151c",
              "versionType": "git"
            },
            {
              "lessThan": "3590498117a11aa1f92a97e8a04d95320e347ebd",
              "status": "affected",
              "version": "44f0c9782cc6ab71ea947f8f710a46f2078a151c",
              "versionType": "git"
            },
            {
              "lessThan": "7f12f99b8017ad5ed5aff4b0aefe3bb7bbdf8a99",
              "status": "affected",
              "version": "44f0c9782cc6ab71ea947f8f710a46f2078a151c",
              "versionType": "git"
            },
            {
              "lessThan": "baef27176ea5fdc7ad0947e2dc7733855e35db71",
              "status": "affected",
              "version": "44f0c9782cc6ab71ea947f8f710a46f2078a151c",
              "versionType": "git"
            },
            {
              "lessThan": "d23f65f08247068576a01e28b297e995b7dc3965",
              "status": "affected",
              "version": "44f0c9782cc6ab71ea947f8f710a46f2078a151c",
              "versionType": "git"
            },
            {
              "lessThan": "32854bc91ae7debcdefdc7ae881ed83385a04792",
              "status": "affected",
              "version": "44f0c9782cc6ab71ea947f8f710a46f2078a151c",
              "versionType": "git"
            },
            {
              "lessThan": "734a3deb6614e3597e7e9ef7fb6006c593c5ee18",
              "status": "affected",
              "version": "44f0c9782cc6ab71ea947f8f710a46f2078a151c",
              "versionType": "git"
            },
            {
              "lessThan": "98e5eb110095ec77cb6d775051d181edbf9cd3cf",
              "status": "affected",
              "version": "44f0c9782cc6ab71ea947f8f710a46f2078a151c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/pci/hda/patch_ca0132.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.9"
            },
            {
              "lessThan": "3.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.312",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.280",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.240",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.177",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.106",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.23",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.312",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.280",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.240",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.177",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.106",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.23",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.10",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027t 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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-01-05T10:32:52.709Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ff5e8b49348f6a550c136b74efaf8b3c1d3ceaea"
        },
        {
          "url": "https://git.kernel.org/stable/c/3590498117a11aa1f92a97e8a04d95320e347ebd"
        },
        {
          "url": "https://git.kernel.org/stable/c/7f12f99b8017ad5ed5aff4b0aefe3bb7bbdf8a99"
        },
        {
          "url": "https://git.kernel.org/stable/c/baef27176ea5fdc7ad0947e2dc7733855e35db71"
        },
        {
          "url": "https://git.kernel.org/stable/c/d23f65f08247068576a01e28b297e995b7dc3965"
        },
        {
          "url": "https://git.kernel.org/stable/c/32854bc91ae7debcdefdc7ae881ed83385a04792"
        },
        {
          "url": "https://git.kernel.org/stable/c/734a3deb6614e3597e7e9ef7fb6006c593c5ee18"
        },
        {
          "url": "https://git.kernel.org/stable/c/98e5eb110095ec77cb6d775051d181edbf9cd3cf"
        }
      ],
      "title": "ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53788",
    "datePublished": "2025-12-09T00:00:43.777Z",
    "dateReserved": "2025-12-08T23:58:35.273Z",
    "dateUpdated": "2026-01-05T10:32:52.709Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…