CVE-2026-80738

published 3 Sep 2026 · updated 5 Nov 2026

bpf: Check sk_state before sk_protocol in bpf_tcp_*_syncookie

7.3HighCVSS 7.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 22c2169770ad3b3595690e51caac875178cf496d, Kernel 23f682083aa3fbc0c49667818efd6979a8bc5ac2, Kernel 31a420a822ff92e2090bd5d65efe8e34e2d6d9b8 and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.2, >=399040847084a69f345e0a52fd62f04654e0fce3 <22c2169770ad3b3595690e51caac875178cf496d, >=399040847084a69f345e0a52fd62f04654e0fce3 <23f682083aa3fbc0c49667818efd6979a8bc5ac2, >=399040847084a69f345e0a52fd62f04654e0fce3 <31a420a822ff92e2090bd5d65efe8e34e2d6d9b8, >=399040847084a69f345e0a52fd62f04654e0fce3 <5702e4c259809c760912c477c4ae34e9217bb4d9, >=399040847084a69f345e0a52fd62f04654e0fce3 <b5525e853a2a08a9559adb84b0616025958dc542, >=399040847084a69f345e0a52fd62f04654e0fce3 <b75f1c071f31be7f4b950721e04240c250091ad422c2169770ad3b3595690e51caac875178cf496d, 23f682083aa3fbc0c49667818efd6979a8bc5ac2, 31a420a822ff92e2090bd5d65efe8e34e2d6d9b8, 5702e4c259809c760912c477c4ae34e9217bb4d9, b5525e853a2a08a9559adb84b0616025958dc542, b75f1c071f31be7f4b950721e04240c250091ad4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-80738 severity on Zeptric[![CVE-2026-80738](https://zeptric.io/badge/cve/CVE-2026-80738.svg)](https://zeptric.io/cve/CVE-2026-80738)