Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
USB: serial: mos7840: fix crash on resume
Since commit c49cfa917025 (“USB: serial: use generic method if no alternative is provided in usb serial layer”), USB serial core calls the generic resume implementation when the driver has not provided one.
This can trigger a crash on resume with mos7840 since support for multiple read URBs was added back in 2011. Specifically, both port read URBs are now submitted on resume for open ports, but the context pointer of the second URB is left set to the core rather than mos7840 port structure.
Fix this by implementing dedicated suspend and resume functions for mos7840.
Tested with Delock 87414 USB 2.0 to 4x serial adapter.
[ johan: analyse crash and rewrite commit message; set busy flag on resume; drop bulk-in check; drop unnecessary usb_kill_urb() ]
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 , TuxCare 9.8 ESU , Ubuntu 16.04 ELS , Ubuntu 18.04 ELS , Ubuntu 20.04 ELS
- Affected packages:
- kernel-uek @ 5.4.17 (+16 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 8 | Released |
44 kernels
|
| AlmaLinux 9 | Released |
35 kernels
|
| AlmaLinux 9.2 ESU | Planned | — |
| Amazon Linux 2023 | Planned | — |
| CentOS 8 | Released |
33 kernels
|
| CloudLinux OS 7h | Released |
62 kernels
|
| CloudLinux OS 8 | Released |
58 kernels
|
| Debian 11 | Released |
31 kernels
|
| Debian 11 cloud | Released |
11 kernels
|
| Debian 12 | Will Not Fix | — |
| Oracle Linux 8 | Released |
69 kernels
|
| Oracle Linux 8 UEK 7 | Released |
39 kernels
|
| Oracle Linux 9 | Released |
41 kernels
|
| Oracle Linux 9 UEK 7 | Released |
39 kernels
|
| RHEL 8 | Released |
65 kernels
|
| RHEL 9 | Released |
35 kernels
|
| Rocky Linux 8 | Released |
39 kernels
|
| Rocky Linux 9 | Released |
34 kernels
|
| Ubuntu 14.04 HWE ESM | Will Not Fix | — |
| Ubuntu 16.04 AWS ESM | Will Not Fix | — |
| Ubuntu 16.04 AWS HWE ESM | Will Not Fix | — |
| Ubuntu 16.04 Azure ESM | Will Not Fix | — |
| Ubuntu 16.04 ESM | Will Not Fix | — |
| Ubuntu 16.04 GCP ESM | Will Not Fix | — |
| Ubuntu 16.04 HWE ESM | Will Not Fix | — |
| Ubuntu 18.04 | Planned | — |
| Ubuntu 18.04 AWS | Planned | — |
| 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 | In Progress | — |
| Ubuntu 20.04 AWS | Will Not Fix | — |
| Ubuntu 20.04 GCP | In Progress | — |
| Ubuntu 20.04 HWE AWS | Ready For Release | — |
| Ubuntu 20.04 HWE Azure | Will Not Fix | — |
| Ubuntu 22.04 | Ready For Release | — |
| Ubuntu 22.04 AWS | Ready For Release | — |
| Ubuntu 22.04 Azure | Will Not Fix | — |
| Ubuntu 24.04 | Released |
10 kernels
|