Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
ALSA: usb-audio: Add sanity check for OOB writes at silencing
At silencing the playback URB packets in the implicit fb mode before the actual playback, we blindly assume that the received packets fit with the buffer size. But when the setup in the capture stream differs from the playback stream (e.g. due to the USB core limitation of max packet size), such an inconsistency may lead to OOB writes to the buffer, resulting in a crash.
For addressing it, add a sanity check of the transfer buffer size at prepare_silent_urb(), and stop the data copy if the received data overflows. Also, report back the transfer error properly from there, too.
Note that this doesn’t fix the root cause of the playback error itself, but this merely covers the kernel Oops.
Details
- Affected product:
- AlmaLinux 9.2 ESU , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , TuxCare 9.6 ESU , Ubuntu 20.04 ELS
- Affected packages:
- kernel @ 4.18.0 (+5 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 10 | Released |
42 kernels
|
| AlmaLinux 8 | Released |
110 kernels
|
| AlmaLinux 9 | Released |
110 kernels
|
| AlmaLinux 9.2 ESU | Planned | — |
| CentOS 8 | Released |
21 kernels
|
| CloudLinux OS 7h | Released |
104 kernels
|
| CloudLinux OS 8 | Released |
101 kernels
|
| Debian 13 | Planned | — |
| Oracle Linux 8 | Released |
119 kernels
|
| Oracle Linux 9 | Released |
109 kernels
|
| RHEL 10 | Released |
45 kernels
|
| RHEL 7 | In Progress | — |
| RHEL 8 | Released |
114 kernels
|
| RHEL 9 | Released |
108 kernels
|
| Rocky Linux 10 | Released |
32 kernels
|
| Rocky Linux 8 | Released |
92 kernels
|
| Rocky Linux 9 | Released |
88 kernels
|
| Ubuntu 22.04 | Planned | — |
| Ubuntu 24.04 | Released |
45 kernels
|
| Ubuntu 24.04 AWS | Planned | — |