Linux Kernel TCP tcp_setsockopt race condition
Key facts
- Attack vector
- Adjacent network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 12 fixed, 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
A vulnerability was identified in Linux Kernel up to 4.19.316/5.4.278/5.10.220/5.15.161. This impacts the function tcp_getsockopt/tcp_setsockopt of the component TCP Handler. Such manipulation leads to race condition. A high complexity level is associated with this attack. The exploitability is said to be difficult. The vulnerability was introduced in 2.6.12, commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 ("Linux-2.6.12-rc2"). Upgrading to version 4.19.317, 5.4.279, 5.10.221, 5.15.162 and 6.1 will fix this issue. The name of the patch is fcd31dd8291b23d713245947ec2b2d99ef07aef2/3b32f265805a49071e2c4568a524398ba22bf93c/d529193eae979a7bf2255cd9fe68b7af7a1c91b3/5bb642cc3355ffd3c8bca0a8bd8e6e65bcc2091c/f49cd2f4d6170d27a2c61f1fecb03d8a70c91f57. The affected component should be upgraded.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Kernel | 4.19.316; 5.4.278; 5.10.220; 5.15.161 | 4.19.317, 5.4.279, 5.10.221, 5.15.162, 6.1 | Patch available | CNA |
- Kernel VendorLinux Affected 4.19.316; 5.4.278; 5.10.220; 5.15.161 Fixed in 4.19.317, 5.4.279, 5.10.221, 5.15.162, 6.1 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 2.6.12 to before 4.19.317; 4.20 to before 5.4.279; 5.5 to before 5.10.221; 5.11 to before 5.15.162 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 2.6.12 to before 4.19.317; 4.20 to before 5.4.279; 5.5 to before 5.10.221; 5.11 to before 5.15.162 Vulnerable ·Linux
Remediation
- Fix · CNA Kernel (Linux) Fixed in 4.19.317, 5.4.279, 5.10.221, 5.15.162, 6.1
Red Hat 5 advisories
- RHSA-2024:0724 Released 2024-02-07 · Red Hat rating Importantkernel security and bug fix update
- Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-tools-libs-devel-4.18.0-372.91.1.el8_6
- Red Hat Enterprise Linux BaseOS EUS (v.8.6) bpftool-4.18.0-372.91.1.el8_6, kernel-4.18.0-372.91.1.el8_6, kernel-abi-stablelists-4.18.0-372.91.1.el8_6 +19
- Red Hat Virtualization 4 Hypervisor for RHEL 8 kernel-devel-4.18.0-372.91.1.el8_6, perf-4.18.0-372.91.1.el8_6
- RHSA-2023:2951 Released 2023-05-16 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-477.10.1.el8_8, kernel-4.18.0-477.10.1.el8_8, kernel-abi-stablelists-4.18.0-477.10.1.el8_8 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-477.10.1.el8_8
- RHSA-2023:2736 Released 2023-05-16 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-core-4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-4.18.0-477.10.1.rt7.274.el8_8 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-core-4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-4.18.0-477.10.1.rt7.274.el8_8 +7
Show 2 more Red Hat advisories
- RHSA-2023:2458 Released 2023-05-09 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-284.11.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.11.1.el9_2, kernel-64k-devel-5.14.0-284.11.1.el9_2 +10
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.0.0-284.11.1.el9_2, kernel-5.14.0-284.11.1.el9_2, kernel-64k-5.14.0-284.11.1.el9_2 +29
- Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-284.11.1.el9_2
- RHSA-2023:2148 Released 2023-05-09 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV (v. 9) kernel-rt-5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-core-5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-5.14.0-284.11.1.rt14.296.el9_2 +11
- Red Hat Enterprise Linux RT (v. 9) kernel-rt-5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-core-5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-5.14.0-284.11.1.rt14.296.el9_2 +9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat CodeReady Linux Builder EUS (v.8.6) | Fixed | RHSA-2024:0724 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:2458 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2023:2951 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2023:2458 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.6) | Fixed | RHSA-2024:0724 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2023:2951 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2023:2458 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2023:2736 |
| Red Hat Enterprise Linux NFV (v. 9) | Fixed | RHSA-2023:2148 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2023:2736 |
| Red Hat Enterprise Linux RT (v. 9) | Fixed | RHSA-2023:2148 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2024:0724 |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-3566
- 2026-10-03 Alias added: GHSA-qfg2-8gf5-3xfc
References
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2022-3566 · CVE Program
- CVE-2022-3566 · NVD
- FIRST EPSS
- GHSA-qfg2-8gf5-3xfc · GitHub Advisory Database · CC BY 4.0
- CVE-2022-3566 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences