CVE-2026-80738
bpf: Check sk_state before sk_protocol in bpf_tcp_*_syncookie
Reported by linux · Published September 3, 2026
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.
EPSS 0.17% · 6.6th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-headers | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel-livepatch-6.12.114-139.210 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| Linux | Linux | b75f1c071f31be7f4b950721e04240c250091ad4, b5525e853a2a08a9559adb84b0616025958dc542, 5702e4c259809c760912c477c4ae34e9217bb4d9, 31a420a822ff92e2090bd5d65efe8e34e2d6d9b8, 23f682083aa3fbc0c49667818efd6979a8bc5ac2, 22c2169770ad3b3595690e51caac875178cf496d |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 399040847084a69f345e0a52fd62f04654e0fce3, 399040847084a69f345e0a52fd62f04654e0fce3, 399040847084a69f345e0a52fd62f04654e0fce3 |
| Linux | Linux | 5.2, 0, 6.1.191 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-livepatch-6.12.114-139.210 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| Linux | Linux | 399040847084a69f345e0a52fd62f04654e0fce3, 0, 6.1.191 |
| amazon:2023 | kernel6.12-devel | 0 |
| linux | linux_kernel | 5.2, 5.2, 5.2 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
Timeline
- Sep 3, 2026 EPSS Score (11 in total, the first dated here)
- Sep 3, 2026 Coalition ESS Score
- Sep 3, 2026 CVE Published
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-80738
vulnetix vdb fixes CVE-2026-80738
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-80738/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart