CVE-2026-80738
bpf: Check sk_state before sk_protocol in bpf_tcp_*_syncookie
Mitigation
- Upgrade Linux to 31a420a822ff92e2090bd5d65efe8e34e2d6d9b8 or later.
Who should check
- Anyone running Linux >= 399040847084a69f345e0a52fd62f04654e0fce3, < b75f1c071f31be7f4b950721e04240c250091ad4; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 5702e4c259809c760912c477c4ae34e9217bb4d9; >= 399040847084a69f345e0a52fd62f04654e0fce3, < b5525e853a2a08a9559adb84b0616025958dc542; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 22c2169770ad3b3595690e51caac875178cf496d; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 23f682083aa3fbc0c49667818efd6979a8bc5ac2; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 31a420a822ff92e2090bd5d65efe8e34e2d6d9b8
- Anyone running Linux 5.2
Vulnerability facts
- Affected
- Linux >= 399040847084a69f345e0a52fd62f04654e0fce3, < b75f1c071f31be7f4b950721e04240c250091ad4; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 5702e4c259809c760912c477c4ae34e9217bb4d9; >= 399040847084a69f345e0a52fd62f04654e0fce3, < b5525e853a2a08a9559adb84b0616025958dc542; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 22c2169770ad3b3595690e51caac875178cf496d; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 23f682083aa3fbc0c49667818efd6979a8bc5ac2; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 31a420a822ff92e2090bd5d65efe8e34e2d6d9b8; Linux 5.2
- Fixed in
- Linux 5702e4c259809c760912c477c4ae34e9217bb4d9, Linux 22c2169770ad3b3595690e51caac875178cf496d, Linux 23f682083aa3fbc0c49667818efd6979a8bc5ac2, Linux 31a420a822ff92e2090bd5d65efe8e34e2d6d9b8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: Low
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- Modified
Description
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 399040847084a69f345e0a52fd62f04654e0fce3, < b75f1c071f31be7f4b950721e04240c250091ad4; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 5702e4c259809c760912c477c4ae34e9217bb4d9; >= 399040847084a69f345e0a52fd62f04654e0fce3, < b5525e853a2a08a9559adb84b0616025958dc542; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 22c2169770ad3b3595690e51caac875178cf496d; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 23f682083aa3fbc0c49667818efd6979a8bc5ac2; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 31a420a822ff92e2090bd5d65efe8e34e2d6d9b8 | — | cvelist |
| Linux | 5.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-80738. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-80738.md Affected: Linux >= 399040847084a69f345e0a52fd62f04654e0fce3, < b75f1c071f31be7f4b950721e04240c250091ad4; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 5702e4c259809c760912c477c4ae34e9217bb4d9; >= 399040847084a69f345e0a52fd62f04654e0fce3, < b5525e853a2a08a9559adb84b0616025958dc542; >= 399040847084a69f345e0a5… Fixed in: Linux 5702e4c259809c760912c477c4ae34e9217bb4d9, Linux 22c2169770ad3b3595690e51caac875178cf496d, Linux 23f682083aa3fbc0c49667818efd6979a8bc5ac2, Linux 31a420a822ff92e2090bd5d65efe8e34e2d6d9b8 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- 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
FAQ
Is CVE-2026-80738 being exploited?
There is no confirmed exploitation: CVE-2026-80738 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-80738?
High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-80738?
Linux >= 399040847084a69f345e0a52fd62f04654e0fce3, < b75f1c071f31be7f4b950721e04240c250091ad4; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 5702e4c259809c760912c477c4ae34e9217bb4d9; >= 399040847084a69f345e0a52fd62f04654e0fce3, < b5525e853a2a08a9559adb84b0616025958dc542; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 22c2169770ad3b3595690e51caac875178cf496d; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 23f682083aa3fbc0c49667818efd6979a8bc5ac2; >= 399040847084a69f345e0a52fd62f04654e0fce3, < 31a420a822ff92e2090bd5d65efe8e34e2d6d9b8; Linux 5.2.
Is there a fix for CVE-2026-80738?
Yes. Fixed in Linux 5702e4c259809c760912c477c4ae34e9217bb4d9, Linux 22c2169770ad3b3595690e51caac875178cf496d, Linux 23f682083aa3fbc0c49667818efd6979a8bc5ac2, Linux 31a420a822ff92e2090bd5d65efe8e34e2d6d9b8. Upgrade Linux to 31a420a822ff92e2090bd5d65efe8e34e2d6d9b8 or later.
How do I check if I'm affected by CVE-2026-80738?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.