Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nftables: exthdr: fix 4-byte stack OOB write
If priv->len is a multiple of 4, then dst[len / 4] can write past the destination array which leads to stack corruption.
This construct is necessary to clean the remainder of the register in case ->len is NOT a multiple of the register size, so make it conditional just like nft_payload.c does.
The bug was added in 4.1 cycle and then copied/inherited when tcp/sctp and ip option support was added.
Bug reported by Zero Day Initiative project (ZDI-CAN-21950, ZDI-CAN-21951, ZDI-CAN-21961).
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 , RHEL 7 ELS , TuxCare 9.6 ESU , Ubuntu 16.04 ELS , Ubuntu 18.04 ELS , Ubuntu 20.04 ELS
- Affected packages:
- kernel @ 4.18.0 (+16 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| Amazon Linux 1 | Released |
74 kernels
|
| Amazon Linux 2 | Released |
109 kernels
|
| Amazon Linux 2023 | Will Not Fix | — |
| Amazon Linux 2 5.10 | Will Not Fix | — |
| Amazon Linux 2 5.4 | Will Not Fix | — |
| CentOS 7 ELS | Released |
4 kernels
|
| Debian 10 | Released |
29 kernels
|
| Debian 10 cloud | Released |
22 kernels
|
| Oracle Linux 6 UEK 4 | Will Not Fix | — |
| Oracle Linux 7 UEK 4 | Will Not Fix | — |
| Oracle Linux 7 UEK 6 | Released |
102 kernels
|
| Oracle Linux 8 UEK 6 | Released |
103 kernels
|
| RHEL 9 | Will Not Fix | — |
| RHEL9 EUS 9.0 | Planned | — |
| Ubuntu 16.04 AWS ESM | Will Not Fix | — |
| Ubuntu 18.04 | Planned | — |
| Ubuntu 20.04 | Planned | — |
| Ubuntu 20.04 AWS | Planned | — |
| Ubuntu 22.04 | Planned | — |
| Ubuntu 22.04 AWS | Planned | — |
| Ubuntu 22.04 Azure | Planned | — |