CVE-2026-80828
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/09/2026
Last modified:
19/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ALSA: usb-audio: Complete cleanup after system-resume errors<br />
<br />
A failed system resume can leave the card unusable until reboot.<br />
usb_audio_resume() jumps to err_out when snd_usb_pcm_resume() or<br />
snd_usb_mixer_resume() fails. The error path skips the out: block, which<br />
restores D0 and decrements chip->num_suspended_intf.<br />
<br />
The card stays in SNDRV_CTL_POWER_D3hot, so later control access blocks in<br />
snd_power_ref_and_wait(). USB core logs an interface resume callback error.<br />
It does not retry that callback, so a later callback cannot complete the<br />
skipped cleanup.<br />
<br />
usb_audio_suspend() increments num_suspended_intf before returning success.<br />
A system-resume callback must consume the system-suspend count even if a<br />
component resume fails. Otherwise, the stranded count skews later suspend<br />
and resume cycles.<br />
<br />
Do not apply this cleanup to runtime-resume errors. Runtime PM can retry<br />
-EAGAIN or -EBUSY without another suspend callback. The count must continue<br />
to describe that suspended interface. Other runtime-resume errors latch<br />
runtime_error in the PM core and do not cause an immediate callback retry.<br />
<br />
Both parts of the system-resume error path are longstanding. Commit<br />
88a8516a2128a ("ALSA: usbaudio: implement USB autosuspend") introduced<br />
err_out past the D0 restore. Commit 862b2509d157c ("ALSA: usb-audio: Fix<br />
inconsistent card PM state after resume") later moved<br />
num_suspended_intf-- into the out: block. The error path now skips both<br />
operations.<br />
<br />
No third-party code is needed to reach the error path.<br />
snd_usb_mixer_resume() ends in snd_usb_mixer_activate(), which returns the<br />
result of usb_submit_urb() for devices that have a mixer status URB. Its<br />
mixer->private_resume hook can also fail through scarlett2_init_notify().<br />
snd_usb_pcm_resume() issues a SET_CUR request to a UAC3 power domain. It<br />
can return -EPIPE or -EIO when the device stalls the request.<br />
<br />
Route a component error through out: only when system_suspend is nonzero.<br />
Continue to return runtime-resume errors through err_out. Later component<br />
resume stages remain skipped. The original error still reaches USB core.<br />
A later transfer can fail if the device did not recover.<br />
<br />
I reproduced the system-resume failure on an Audient iD14 MkI with an<br />
out-of-tree diagnostic mixer resume hook. An injected -EIO on the unpatched<br />
core left control readers in uninterruptible sleep in<br />
snd_power_ref_and_wait() until a reboot. With this patch, the same failure<br />
restored control access. A second system suspend and resume also succeeded<br />
after I disabled fault injection.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/1739a976312e110c93a8dee66a1cdf893a1b187e
- https://git.kernel.org/stable/c/3f06f3f5b16212f180764654a9398ff5f7a855c8
- https://git.kernel.org/stable/c/3fa521c3c54b42e16cad8ade76551113a783752b
- https://git.kernel.org/stable/c/5a625fc2284e35f33693efd9534aebaca3b005d4
- https://git.kernel.org/stable/c/6c94877b6bab9185898bcad4b082ff5592558921
- https://git.kernel.org/stable/c/6d3e202670b819c414076a5d07dffac8a39274ad
- https://git.kernel.org/stable/c/d1f643b1c0258bd519146f7a342bbb394d413912
- https://git.kernel.org/stable/c/f1c05c41d07b874635d681ae328d13ec550470c5


