bpf: Check sk_state before sk_protocol in bpf_tcp_*_syncookie
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- Partial Red Hat: 5 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: Check sk_state before sk_protocol in bpf_tcp_*_syncookie bpf_tcp_gen_syncookie and bpf_tcp_check_syncookie accept a socket pointer 'sk' with argument type ARG_PTR_TO_BTF_ID_SOCK_COMMON. However, they access sk->sk_protocol without validating whether 'sk' represents a full socket. Fix this issue by checking sk->sk_state != TCP_LISTEN before inspecting sk->sk_protocol in both bpf_tcp_gen_syncookie and bpf_tcp_check_syncookie. Since mini-sockets are never in the TCP_LISTEN state, the condition short-circuits and prevents dereferencing fullsock-specific fields.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.1.191, 6.6.160, 6.12.114, 6.18.57, 7.1.9, 7.2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2026-80738
- 2026-10-03 Alias added: GHSA-83j6-pc2m-jhg5
- 2026-10-16 Fix available: Linux/Linux@22c2169770ad3b3595690e51caac875178cf496d, Linux/[email protected] · CNA
- 2026-10-16 1 new reference · CNA
- 2026-10-21 Fix available: Linux/Linux@5702e4c259809c760912c477c4ae34e9217bb4d9, Linux/[email protected], Linux/[email protected] +1 · CNA
- 2026-10-21 2 new references · CNA
- 2026-10-30 Fix available: Linux/[email protected], Linux/Linux@b75f1c071f31be7f4b950721e04240c250091ad4 · CNA
- 2026-10-30 1 new reference · CNA
- 2026-11-01 Affected versions changed · Red Hat
- 2026-11-01 CVSS score added · Red Hat
References
Other 6
- https://git.kernel.org/stable/c/b75f1c071f31be7f4b950721e04240c250091ad4
- https://git.kernel.org/stable/c/5702e4c259809c760912c477c4ae34e9217bb4d9
- https://git.kernel.org/stable/c/b5525e853a2a08a9559adb84b0616025958dc542
- https://git.kernel.org/stable/c/22c2169770ad3b3595690e51caac875178cf496d
- https://git.kernel.org/stable/c/23f682083aa3fbc0c49667818efd6979a8bc5ac2
- https://git.kernel.org/stable/c/31a420a822ff92e2090bd5d65efe8e34e2d6d9b8
More Linux 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-2021-02452 Incorrect authorization in Ubuntu linux kernel 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
Sources
- CVE-2026-80738 · CVE Program
- CVE-2026-80738 · NVD
- FIRST EPSS
- GHSA-83j6-pc2m-jhg5 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-80738 · 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