{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2023-52988",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-03-27T16:40:15.741Z",
        "datePublished": "2025-03-27T16:43:25.056Z",
        "dateUpdated": "2026-08-05T09:12:17.567Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T09:12:17.567Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()\n\nsnd_hda_get_connections() can return a negative error code.\nIt may lead to accessing 'conn' array at a negative index.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The vulnerable path runs only during VIA HD-audio codec probe (`hda_codec_driver_probe` → `patch_vt1718S`/`patch_vt2002P`/`patch_vt1812`/`patch_vt3476` → `add_secret_dac_path`), reached via local driver bind/module autoload on systems with affected VIA codecs—not via network or remote peer input.\nAC:L - An attacker can force `snd_hda_get_connections()` to fail with `-ENOMEM` by exhausting memory before codec bind/autoload (same pattern as CVE-2023-52999), and VIA codecs with analog DAC widgets then hit the `conn[nums++]=nid` path deterministically; no uncontrollable race is required.\nPR:L - Direct sysfs rebind needs root, but an unprivileged audio-capable user can trigger ALSA lazy module autoload (`/dev/aloadC*` → `request_module` of the VIA codec driver) as in CVE-2025-68205, and a local account is enough to leverage boot-time probe corruption.\nUI:N - Codec probe is system-driven (boot bind or attacker-initiated autoload); no separate victim must open a file, mount media, or otherwise interact.\nS:U - The stack underflow corrupts kernel stack memory in the same host kernel authority; this is not a VM escape, IOMMU bypass, or sandbox boundary cross.\nC:H - When `nums` is a negative error code, `conn[nums++]=nid` is a stack out-of-bounds write; under scoring guidance, OOB write memory corruption is treatable as High confidentiality impact (same treatment as CVE-2023-52999).\nI:H - The bug is a stack out-of-bounds write of a widget NID below the on-stack `conn[8]` array, which is memory-corruption integrity impact and can corrupt frame/control data for control-flow hijack; OOB write scores High.\nA:H - Stack corruption from the negative-index write (and continued probe with a corrupted frame, since callers ignore `add_secret_dac_path()`’s return) can produce an oops/panic; any kernel crash is High availability impact."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/pci/hda/patch_via.c"
                    ],
                    "versions": [
                        {
                            "version": "30b4503378c976cf66201a1e81820519f6bd79ac",
                            "lessThan": "437e50ef6290ac835d526d0e45f466a0aa69ba1b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "30b4503378c976cf66201a1e81820519f6bd79ac",
                            "lessThan": "6e1f586ddec48d71016b81acf68ba9f49ca54db8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "30b4503378c976cf66201a1e81820519f6bd79ac",
                            "lessThan": "d6870f3800dbb212ae8433183ee82f566d067c6c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "30b4503378c976cf66201a1e81820519f6bd79ac",
                            "lessThan": "2b557fa635e7487f638c0f030c305870839eeda2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "30b4503378c976cf66201a1e81820519f6bd79ac",
                            "lessThan": "1b9256c96220bcdba287eeeb90e7c910c77f8c46",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "30b4503378c976cf66201a1e81820519f6bd79ac",
                            "lessThan": "f011360ad234a07cb6fbcc720fff646a93a9f0d6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "30b4503378c976cf66201a1e81820519f6bd79ac",
                            "lessThan": "b9cee506da2b7920b5ea02ccd8e78a907d0ee7aa",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/pci/hda/patch_via.c"
                    ],
                    "versions": [
                        {
                            "version": "3.1",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.1",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.306",
                            "lessThanOrEqual": "4.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.273",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.232",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.168",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.93",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.11",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.1",
                                    "versionEndExcluding": "4.14.306"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.1",
                                    "versionEndExcluding": "4.19.273"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.1",
                                    "versionEndExcluding": "5.4.232"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.1",
                                    "versionEndExcluding": "5.10.168"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.1",
                                    "versionEndExcluding": "5.15.93"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.1",
                                    "versionEndExcluding": "6.1.11"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.1",
                                    "versionEndExcluding": "6.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/437e50ef6290ac835d526d0e45f466a0aa69ba1b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6e1f586ddec48d71016b81acf68ba9f49ca54db8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d6870f3800dbb212ae8433183ee82f566d067c6c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2b557fa635e7487f638c0f030c305870839eeda2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1b9256c96220bcdba287eeeb90e7c910c77f8c46"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f011360ad234a07cb6fbcc720fff646a93a9f0d6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b9cee506da2b7920b5ea02ccd8e78a907d0ee7aa"
                }
            ],
            "title": "ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-129",
                                "lang": "en",
                                "description": "CWE-129 Improper Validation of Array Index"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 7.8,
                            "attackVector": "LOCAL",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-10-01T17:20:44.580398Z",
                                "id": "CVE-2023-52988",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-10-01T17:20:48.141Z"
                }
            }
        ]
    }
}