Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
serial: 8250: omap: Don’t skip resource freeing if pm_runtime_resume_and_get() failed
Returning an error code from .remove() makes the driver core emit the little helpful error message:
remove callback returned a non-zero value. This will be ignored.
and then remove the device anyhow. So all resources that were not freed are leaked in this case. Skipping serial8250_unregister_port() has the potential to keep enough of the UART around to trigger a use-after-free.
So replace the error return (and with it the little helpful error message) by a more useful error message and continue to cleanup.
Details
- Affected product:
- AlmaLinux 9.2 ESU , CentOS 6 ELS , CentOS 7 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CloudLinux 6 ELS , Debian 10 ELS , Oracle Linux 6 ELS , Ubuntu 16.04 ELS , Ubuntu 18.04 ELS
- Affected packages:
- linux-hwe @ 4.15.0 (+11 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| Proxmox VE 7 5.15 | Released |
43 kernels
|
| Ubuntu 18.04 AWS Focal | Released |
5 kernels
|
| Ubuntu 18.04 Azure Focal | Released |
6 kernels
|
| Ubuntu 18.04 HWE Focal | Released |
6 kernels
|
| Ubuntu 20.04 | Released |
24 kernels
|
| Ubuntu 20.04 AWS | Released |
23 kernels
|
| Ubuntu 20.04 Azure | Released |
22 kernels
|
| Ubuntu 20.04 GCP | Released |
7 kernels
|
| Ubuntu 20.04 HWE AWS | Released |
35 kernels
|
| Ubuntu 20.04 HWE Azure | Released |
19 kernels
|
| Ubuntu 22.04 | Released |
48 kernels
|
| Ubuntu 22.04 AWS | Released |
42 kernels
|
| Ubuntu 22.04 Azure | Released |
39 kernels
|