Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
media: gspca: cpia1: shift-out-of-bounds in set_flicker
Syzkaller reported the following issue: UBSAN: shift-out-of-bounds in drivers/media/usb/gspca/cpia1.c:1031:27 shift exponent 245 is too large for 32-bit type ‘int’
When the value of the variable “sd->params.exposure.gain” exceeds the number of bits in an integer, a shift-out-of-bounds error is reported. It is triggered because the variable “currentexp” cannot be left-shifted by more than the number of bits in an integer. In order to avoid invalid range during left-shift, the conditional expression is added.
Details
- Affected product:
- AlmaLinux 9.2 ESU , Amazon Linux 2 ELS , CentOS 6 ELS , CentOS 7 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , CloudLinux 6 ELS , CloudLinux 7 ELS , Debian 10 ELS , Oracle Linux 6 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 @ 3.10.0 (+18 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 8 | Released |
43 kernels
|
| AlmaLinux 9.2 ESU | Released |
7 kernels
|
| CentOS 7 ELS | Released |
20 kernels
|
| CentOS 8 | Released |
33 kernels
|
| CloudLinux OS 7h | Released |
58 kernels
|
| CloudLinux OS 8 | Released |
54 kernels
|
| Debian 10 | Planned | — |
| Oracle Linux 8 | Released |
67 kernels
|
| RHEL 8 | Released |
64 kernels
|
| Rocky Linux 8 | Released |
37 kernels
|
| Ubuntu 20.04 | Planned | — |
| Ubuntu 22.04 | Planned | — |