Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
net: tls: handle backlogging of crypto requests
Since we’re setting the CRYPTO_TFM_REQ_MAY_BACKLOG flag on our requests to the crypto API, crypto_aead_{encrypt,decrypt} can return -EBUSY instead of -EINPROGRESS in valid situations. For example, when the cryptd queue for AESNI is full (easy to trigger with an artificially low cryptd.cryptd_max_cpu_qlen), requests will be enqueued to the backlog but still processed. In that case, the async callback will also be called twice: first with err == -EINPROGRESS, which it seems we can just ignore, then with err == 0.
Compared to Sabrina’s original patch this version uses the new tls_*crypt_async_wait() helpers and converts the EBUSY to EINPROGRESS to avoid having to modify all the error handling paths. The handling is identical.
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 , Debian 10 ELS , Oracle Linux 6 ELS , Oracle Linux 7 ELS , TuxCare 9.6 ESU , Ubuntu 16.04 ELS , Ubuntu 18.04 ELS , Ubuntu 20.04 ELS
- Affected packages:
- kernel @ 5.14.0 (+14 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 8 | Released |
42 kernels
|
| AlmaLinux 9 | Will Not Fix |
19 kernels
|
| Amazon Linux 2023 | Planned | — |
| Amazon Linux 2 5.10 | Will Not Fix | — |
| Amazon Linux 2 5.4 | Ready For Release | — |
| CentOS 8 | Released |
26 kernels
|
| CloudLinux OS 7h | Released |
56 kernels
|
| CloudLinux OS 8 | Released |
53 kernels
|
| Debian 12 | Will Not Fix |
11 kernels
|
| Oracle Linux 8 | Released |
59 kernels
|
| Oracle Linux 9 | Will Not Fix |
25 kernels
|
| Proxmox VE 7 5.15 | Will Not Fix |
44 kernels
|
| RHEL 8 | Released |
56 kernels
|
| RHEL8 EUS 8.6 | Released |
20 kernels
|
| RHEL 9 | Will Not Fix |
19 kernels
|
| Rocky Linux 8 | Released |
36 kernels
|
| Rocky Linux 9 | Will Not Fix |
18 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 | Ready For Release | — |
| Ubuntu 20.04 AWS | Will Not Fix | — |
| Ubuntu 20.04 Azure | Ready For Release | — |
| Ubuntu 20.04 GCP | Ready For Release | — |
| Ubuntu 20.04 HWE AWS | Will Not Fix |
39 kernels
|
| Ubuntu 20.04 HWE Azure | Will Not Fix |
23 kernels
|
| Ubuntu 22.04 | Will Not Fix |
52 kernels
|
| Ubuntu 22.04 AWS | Will Not Fix |
46 kernels
|
| Ubuntu 22.04 Azure | Will Not Fix |
43 kernels
|