Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()
Userspace provided string ’s’ could trivially have the length zero. Left
unchecked this will firstly result in an OOB read in the form
if (str[0 - 1] == '\n') followed closely by an OOB write in the form str[0 - 1] = ‘\0’`.
There is already a validating check to catch strings that are too long. Let’s supply an additional check for invalid strings that are too short.
Details
- Affected product:
- AlmaLinux 9.2 ESU , CentOS 6 ELS , CentOS 7 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , CloudLinux 6 ELS , CloudLinux 7 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 @ 2.6.32 (+17 more)
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()
Userspace provided string ’s’ could trivially have the length zero. Left
unchecked this will firstly result in an OOB read in the form
if (str[0 - 1] == '\n') followed closely by an OOB write in the form str[0 - 1] = ‘\0’`.
There is already a validating check to catch strings that are too long. Let’s supply an additional check for invalid strings that are too short.
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| Debian 11 | Released |
31 kernels
|
| Debian 11 cloud | Released |
11 kernels
|
| Debian 12 | Will Not Fix | — |
| Oracle Linux 7 UEK 5 | Released |
120 kernels
|
| Oracle Linux 7 UEK 6 | Released |
102 kernels
|
| Oracle Linux 8 UEK 6 | Released |
103 kernels
|
| Oracle Linux 8 UEK 7 | Released |
39 kernels
|
| Oracle Linux 9 UEK 7 | Released |
39 kernels
|
| Proxmox VE 7 5.15 | Released |
47 kernels
|
| Ubuntu 18.04 AWS Focal | Will Not Fix | — |
| Ubuntu 18.04 Azure Focal | Will Not Fix | — |
| Ubuntu 18.04 HWE Focal | Will Not Fix | — |
| Ubuntu 20.04 | Planned | — |
| Ubuntu 20.04 AWS | Planned | — |
| Ubuntu 20.04 Azure | Planned | — |
| Ubuntu 20.04 GCP | Planned | — |
| Ubuntu 20.04 HWE AWS | Released |
45 kernels
|
| Ubuntu 20.04 HWE Azure | Released |
28 kernels
|
| Ubuntu 22.04 | Released |
58 kernels
|
| Ubuntu 22.04 AWS | Released |
52 kernels
|
| Ubuntu 22.04 Azure | Released |
48 kernels
|
| Ubuntu 24.04 | Planned | — |