{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99317",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.407Z",
        "datePublished": "2026-11-18T08:42:09.208Z",
        "dateUpdated": "2026-11-23T08:01:21.855Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-23T08:01:21.855Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hwdep: Serialize DSP load requests\n\nThe check of the loaded DSP indices and the call of the driver's\ndsp_load callback in snd_hwdep_dsp_load() are not serialized.  A hwdep\nfile descriptor can be shared among threads, or inherited across fork,\nso two SNDRV_HWDEP_IOCTL_DSP_LOAD requests for the same index can both\nobserve the index as unloaded and enter the driver's callback\nconcurrently, even though the device itself is opened exclusively.\n\nThis breaks the assumption behind hw->dsp_loaded that a firmware index\nis loaded only once.  For example, snd-usb-usx2y hits\nWARN_ON(usx2y->as04.buffer) in usx2y_async_seq04_init() and may\nallocate the US-428 sequence URBs twice.\n\nSerialize the check, the callback invocation and the bookkeeping with a\nper-hwdep mutex, so that the second request returns -EBUSY."
                }
            ],
            "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 patched snd_hwdep_dsp_load is reached from snd_hwdep_ioctl's SNDRV_HWDEP_IOCTL_DSP_LOAD on the local hwdep node (/dev/snd/hwC*D*), via snd_hwdep_dsp_load_user. The only driver callback is snd_usx2y_hwdep_dsp_load; the colliding index and image come from that ioctl, not from a remote protocol message.\nAC:L - A local holder of one hwdep fd (exclusive=1 still allows threads and fork to share it) issues two DSP_LOAD ioctls for index 1 while hw->dsp_loaded is clear, which the attacker gets by opening the node before usx2yloader or by replugging the US-x2y. Both calls pass the unlocked dsp_loaded test and run snd_usx2y_hwdep_dsp_load together.\nPR:L - snd_hwdep_open and snd_hwdep_ioctl contain no capable() check. udev grants the active session ACL on SUBSYSTEM==\"sound\" (uaccess, group audio), so an ordinary logged-in user can open the hwdep node and issue DSP_LOAD.\nUI:N - The attacker opens the fd and fires both SNDRV_HWDEP_IOCTL_DSP_LOAD calls. Firmware loading and replug, if needed to clear dsp_loaded, are the attacker's own actions.\nS:U - Impact stays inside the host kernel the caller is already running in: usx2ydev, its URBs, and the snd_card device list. No guest/host or IOMMU boundary is crossed.\nC:H - Both USB_ID_US224 and USB_ID_US428 loads call usx2y_rate_set, which kfrees the snd_usx2y_urb_seq still linked from usx2y->us04 while i_usx2y_in04_int passes us04->urb[] to usb_submit_urb. After reclaim, that urb pointer is attacker-controlled and usb_submit_urb dereferences it.\nI:H - i_usx2y_in04_int increments us04->submitted and usb_submit_urb writes urb->status, urb->hcpriv and the endpoint queue through the reclaimed us04->urb pointer. On USB_ID_US428 the second usx2y_audio_stream_new also stores pointers past usx2y->subs[4] into prepare_subs and prepare_wait_queue.\nA:H - The freed us04 URB is used in interrupt context, snd_device_new list_add races on card->devices from concurrent usx2y_create_alsa_devices, and wait_event runs on the overwritten prepare_wait_queue. Any of those oopses or livelocks the kernel; usx2y_async_seq04_init's WARN_ON(as04.buffer) is the same race when the second call loses."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "include/sound/hwdep.h",
                        "sound/core/hwdep.c"
                    ],
                    "versions": [
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "204f368204a1951da349ba68c82f99c464347dd7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "ef2aebb0543a20d1ee42ac95483eb54fc8457e88",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "0e8365c7a4c5202f6b1e802a377d798db2b0e0ab",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "8fb646220d48322311e135b2508fb9569fbe1d28",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "200bda52a9fd604e13c57d3a548639c13bdfb19c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "3634a1beb0395f02807d41a2edf4288732d3f90e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                            "lessThan": "aee83c204f80d56b4d55f53acdb8594308ddcd4a",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "include/sound/hwdep.h",
                        "sound/core/hwdep.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.5",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "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": "2.6.12",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.12",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.12",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.12",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.12",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.12",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.12",
                                    "versionEndExcluding": "7.3.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.12",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/204f368204a1951da349ba68c82f99c464347dd7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ef2aebb0543a20d1ee42ac95483eb54fc8457e88"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0e8365c7a4c5202f6b1e802a377d798db2b0e0ab"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8fb646220d48322311e135b2508fb9569fbe1d28"
                },
                {
                    "url": "https://git.kernel.org/stable/c/200bda52a9fd604e13c57d3a548639c13bdfb19c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3634a1beb0395f02807d41a2edf4288732d3f90e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1b94ca29b1edbbdb357c2c8a9163d1d1755e4ad2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/aee83c204f80d56b4d55f53acdb8594308ddcd4a"
                }
            ],
            "title": "ALSA: hwdep: Serialize DSP load requests",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}