Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
cifs: potential buffer overflow in handling symlinks
Smatch printed a warning: arch/x86/crypto/poly1305_glue.c:198 poly1305_update_arch() error: __memcpy() ‘dctx->buf’ too small (16 vs u32max)
It’s caused because Smatch marks ’link_len’ as untrusted since it comes from sscanf(). Add a check to ensure that ’link_len’ is not larger than the size of the ’link_str’ buffer.
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 , Ubuntu 16.04 ELS , Ubuntu 18.04 ELS , Ubuntu 20.04 ELS
- Affected packages:
- kernel @ 4.18.0 (+15 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 8 | Released |
65 kernels
|
| Amazon Linux 1 | Will Not Fix | — |
| Amazon Linux 2 | Released |
44 kernels
|
| Amazon Linux 2 5.10 | Will Not Fix | — |
| Amazon Linux 2 5.4 | Will Not Fix | — |
| CentOS 7 ELS | Released |
19 kernels
|
| CentOS 8 | Released |
33 kernels
|
| CloudLinux OS 7h | Released |
83 kernels
|
| CloudLinux OS 8 | Released |
79 kernels
|
| Debian 11 | Planned | — |
| Oracle Linux 8 | Released |
90 kernels
|
| RHEL 8 | Released |
86 kernels
|
| RHEL8 EUS 8.6 | Released |
44 kernels
|
| RHEL 9 | Will Not Fix | — |
| Rocky Linux 8 | Released |
58 kernels
|
| Ubuntu 16.04 AWS HWE ESM | Planned | — |
| Ubuntu 16.04 Azure ESM | Will Not Fix | — |
| Ubuntu 16.04 GCP ESM | Planned | — |
| Ubuntu 16.04 HWE ESM | Planned | — |
| Ubuntu 18.04 | Planned | — |
| Ubuntu 18.04 AWS Focal | Planned | — |
| Ubuntu 20.04 | Planned | — |
| Ubuntu 22.04 | Planned | — |
| Ubuntu 22.04 AWS | Planned | — |