Severity
Details
- CVSS score
- 9.8
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CWE ID
Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
tcp: fix potential race in tcp_v6_syn_recv_sock()
Code in tcp_v6_syn_recv_sock() after the call to tcp_v4_syn_recv_sock() is done too late.
After tcp_v4_syn_recv_sock(), the child socket is already visible from TCP ehash table and other cpus might use it.
Since newinet->pinet6 is still pointing to the listener ipv6_pinfo bad things can happen as syzbot found.
Move the problematic code in tcp_v6_mapped_child_init() and call this new helper from tcp_v4_syn_recv_sock() before the ehash insertion.
This allows the removal of one tcp_sync_mss(), since tcp_v4_syn_recv_sock() will call it with the correct context.
Details
- Affected product:
- AlmaLinux 9.2 ESU , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , TuxCare 9.6 ESU
- Affected packages:
- kernel @ 4.18.0 (+4 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 9 | Released |
112 kernels
|
| AlmaLinux 9.2 ESU | Planned | — |
| CentOS 7 | Will Not Fix |
35 kernels
|
| CentOS 7 plus | Will Not Fix |
23 kernels
|
| Oracle Linux 9 | Released |
111 kernels
|
| RHEL 10 | Planned | — |
| RHEL 7 | Will Not Fix |
58 kernels
|
| RHEL 8 | Ready For Release | — |
| RHEL 9 | Released |
110 kernels
|
| Rocky Linux 9 | Released |
89 kernels
|