{"id":"CVE-2026-80828","revision":"950907664de949c7b4aeafb93abdb46b","records":[{"revision":"950907664de949c7b4aeafb93abdb46b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-80828","aliases":[],"title":"ALSA: usb-audio: Complete cleanup after system-resume errors","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: Complete cleanup after system-resume errors\n\nA failed system resume can leave the card unusable until reboot.\nusb_audio_resume() jumps to err_out when snd_usb_pcm_resume() or\nsnd_usb_mixer_resume() fails. The error path skips the out: block, which\nrestores D0 and decrements chip->num_suspended_intf.\n\nThe card stays in SNDRV_CTL_POWER_D3hot, so later control access blocks in\nsnd_power_ref_and_wait(). USB core logs an interface resume callback error.\nIt does not retry that callback, so a later callback cannot complete the\nskipped cleanup.\n\nusb_audio_suspend() increments num_suspended_intf before returning success.\nA system-resume callback must consume the system-suspend count even if a\ncomponent resume fails. Otherwise, the stranded count skews later suspend\nand resume cycles.\n\nDo not apply this cleanup to runtime-resume errors. Runtime PM can retry\n-EAGAIN or -EBUSY without another suspend callback. The count must continue\nto describe that suspended interface. Other runtime-resume errors latch\nruntime_error in the PM core and do not cause an immediate callback retry.\n\nBoth parts of the system-resume error path are longstanding. Commit\n88a8516a2128a (\"ALSA: usbaudio: implement USB autosuspend\") introduced\nerr_out past the D0 restore. Commit 862b2509d157c (\"ALSA: usb-audio: Fix\ninconsistent card PM state after resume\") later moved\nnum_suspended_intf-- into the out: block. The error path now skips both\noperations.\n\nNo third-party code is needed to reach the error path.\nsnd_usb_mixer_resume() ends in snd_usb_mixer_activate(), which returns the\nresult of usb_submit_urb() for devices that have a mixer status URB. Its\nmixer->private_resume hook can also fail through scarlett2_init_notify().\nsnd_usb_pcm_resume() issues a SET_CUR request to a UAC3 power domain. It\ncan return -EPIPE or -EIO when the device stalls the request.\n\nRoute a component error through out: only when system_suspend is nonzero.\nContinue to return runtime-resume errors through err_out. Later component\nresume stages remain skipped. The original error still reaches USB core.\nA later transfer can fail if the device did not recover.\n\nI reproduced the system-resume failure on an Audient iD14 MkI with an\nout-of-tree diagnostic mixer resume hook. An injected -EIO on the unpatched\ncore left control readers in uninterruptible sleep in\nsnd_power_ref_and_wait() until a reboot. With this patch, the same failure\nrestored control access. A second system suspend and resume also succeeded\nafter I disabled fault injection.","state":0,"publishedAt":"2026-09-04T15:54:32.894+00:00","modifiedAt":"2026-10-19T08:44:20.734+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"sound/usb/card.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"88a8516a2128a6d078a106ead48092240e8a138f\",\n                            \"lessThan\": \"3fa521c3c54b42e16cad8ade76551113a783752b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"88a8516a2128a6d078a106ead48092240e8a138f\",\n                            \"lessThan\": \"3f06f3f5b16212f180764654a9398ff5f7a855c8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"88a8516a2128a6d078a106ead48092240e8a138f\",\n                            \"lessThan\": \"f1c05c41d07b874635d681ae328d13ec550470c5\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"88a8516a2128a6d078a106ead48092240e8a138f\",\n                            \"lessThan\": \"5a625fc2284e35f33693efd9534aebaca3b005d4\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"88a8516a2128a6d078a106ead48092240e8a138f\",\n                            \"lessThan\": \"6d3e202670b819c414076a5d07dffac8a39274ad\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"88a8516a2128a6d078a106ead48092240e8a138f\",\n                            \"lessThan\": \"6c94877b6bab9185898bcad4b082ff5592558921\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"88a8516a2128a6d078a106ead48092240e8a138f\",\n                            \"lessThan\": \"d1f643b1c0258bd519146f7a342bbb394d413912\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"88a8516a2128a6d078a106ead48092240e8a138f\",\n                            \"lessThan\": \"1739a976312e110c93a8dee66a1cdf893a1b187e\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"sound/usb/card.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"2.6.39\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"2.6.39\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.220\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.187\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.156\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.108\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.49\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1.13\",\n                            \"lessThanOrEqual\": \"7.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.3\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/3fa521c3c54b42e16cad8ade76551113a783752b","https://git.kernel.org/stable/c/3f06f3f5b16212f180764654a9398ff5f7a855c8","https://git.kernel.org/stable/c/f1c05c41d07b874635d681ae328d13ec550470c5","https://git.kernel.org/stable/c/5a625fc2284e35f33693efd9534aebaca3b005d4","https://git.kernel.org/stable/c/6d3e202670b819c414076a5d07dffac8a39274ad","https://git.kernel.org/stable/c/6c94877b6bab9185898bcad4b082ff5592558921","https://git.kernel.org/stable/c/d1f643b1c0258bd519146f7a342bbb394d413912","https://git.kernel.org/stable/c/1739a976312e110c93a8dee66a1cdf893a1b187e"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-80828","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-80828","identifiers":["CVE-2026-80828"]},"retained":false,"historicalAffected":[]}],"coverage":[]}