{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-52964",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-06-09T07:44:35.374Z",
        "datePublished": "2026-06-24T16:28:44.345Z",
        "dateUpdated": "2026-06-24T16:28:44.345Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-06-24T16:28:44.345Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: Bound MIDI 2.0 endpoint descriptor scans\n\nThe USB MIDI 2.0 endpoint parser has the same descriptor walking\npattern as the legacy MIDI parser. It validates bLength against\nbNumGrpTrmBlock before reading baAssoGrpTrmBlkID[], but not against the\nremaining bytes in the endpoint-extra scan.\n\nA malformed device can therefore make later baAssoGrpTrmBlkID[] reads\nconsume bytes past the walked descriptor.\n\nReject zero-length and overlong descriptors while walking endpoint\nextras."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/usb/midi2.c"
                    ],
                    "versions": [
                        {
                            "version": "ff49d1df79aef7580fe3ac99d17c3f886655d080",
                            "lessThan": "fafc97bd01e4c737eaeafadfdadb1af4bbfa7307",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ff49d1df79aef7580fe3ac99d17c3f886655d080",
                            "lessThan": "a310b4bebda5e4a1b26520c0cc5145ccd6d617e2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ff49d1df79aef7580fe3ac99d17c3f886655d080",
                            "lessThan": "f9c184a83574549a36ea69b755f650e57d164c78",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ff49d1df79aef7580fe3ac99d17c3f886655d080",
                            "lessThan": "17e76b19de1aff5ff4de64d269290bd1b07a01d3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ff49d1df79aef7580fe3ac99d17c3f886655d080",
                            "lessThan": "918be519c7876329e1b6e2ea1c59f0b75e792dca",
                            "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/usb/midi2.c"
                    ],
                    "versions": [
                        {
                            "version": "6.5",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.5",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.141",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.91",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.33",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.10",
                            "lessThanOrEqual": "7.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1",
                            "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": "6.5",
                                    "versionEndExcluding": "6.6.141"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.5",
                                    "versionEndExcluding": "6.12.91"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.5",
                                    "versionEndExcluding": "6.18.33"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.5",
                                    "versionEndExcluding": "7.0.10"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.5",
                                    "versionEndExcluding": "7.1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/fafc97bd01e4c737eaeafadfdadb1af4bbfa7307"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a310b4bebda5e4a1b26520c0cc5145ccd6d617e2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f9c184a83574549a36ea69b755f650e57d164c78"
                },
                {
                    "url": "https://git.kernel.org/stable/c/17e76b19de1aff5ff4de64d269290bd1b07a01d3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/918be519c7876329e1b6e2ea1c59f0b75e792dca"
                }
            ],
            "title": "ALSA: usb-audio: Bound MIDI 2.0 endpoint descriptor scans",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}