Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
ALSA: aloop: Fix peer runtime UAF during format-change stop
loopback_check_format() may stop the capture side when playback starts with parameters that no longer match a running capture stream. Commit 826af7fa62e3 (“ALSA: aloop: Fix racy access at PCM trigger”) moved the peer lookup under cable->lock, but the actual snd_pcm_stop() still runs after dropping that lock.
A concurrent close can clear the capture entry from cable->streams[] and detach or free its runtime while the playback trigger path still holds a stale peer substream pointer.
Keep a per-cable count of in-flight peer stops before dropping cable->lock, and make free_cable() wait for those stops before detaching the runtime. This preserves the existing behavior while making the peer runtime lifetime explicit.
Details
- Affected product:
- AlmaLinux 9.2 ESU , Amazon Linux 2 ELS , CentOS 7 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , CloudLinux 7 ELS , Debian 10 ELS , Oracle Linux 7 ELS , RHEL 7 ELS , TuxCare 9.6 ESU , Ubuntu 16.04 ELS , Ubuntu 18.04 ELS , Ubuntu 20.04 ELS
- Affected packages:
- kernel @ 5.10.0 (+15 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 10 | Will Not Fix |
46 kernels
|
| AlmaLinux 8 | Released |
110 kernels
|
| AlmaLinux 9 | Released |
111 kernels
|
| CentOS 7 ELS | Planned | — |
| CentOS 8 | Released |
21 kernels
|
| CloudLinux OS 7h | Released |
104 kernels
|
| CloudLinux OS 8 | Released |
101 kernels
|
| Debian 11 | Planned | — |
| Debian 11 cloud | Planned | — |
| Debian 13 | Planned | — |
| Oracle Linux 10 | Will Not Fix |
36 kernels
|
| Oracle Linux 8 | Released |
119 kernels
|
| Oracle Linux 9 | Released |
110 kernels
|
| RHEL 10 | Will Not Fix |
45 kernels
|
| RHEL 7 | In Progress | — |
| RHEL 8 | Released |
114 kernels
|
| RHEL 9 | Released |
109 kernels
|
| Rocky Linux 10 | Will Not Fix |
32 kernels
|
| Rocky Linux 8 | Released |
92 kernels
|
| Rocky Linux 9 | Released |
89 kernels
|
| Ubuntu 24.04 | Planned | — |