{"id":"CVE-2026-80738","published":"2026-09-03T08:21:53Z","modified":"2026-10-30T12:31:02Z","title":"bpf: Check sk_state before sk_protocol in bpf_tcp_*_syncookie","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Check sk_state before sk_protocol in bpf_tcp_*_syncookie\n\nbpf_tcp_gen_syncookie and bpf_tcp_check_syncookie accept a socket pointer\n'sk' with argument type ARG_PTR_TO_BTF_ID_SOCK_COMMON. However, they access\nsk->sk_protocol without validating whether 'sk' represents a full socket.\n\nFix this issue by checking sk->sk_state != TCP_LISTEN before inspecting\nsk->sk_protocol in both bpf_tcp_gen_syncookie and bpf_tcp_check_syncookie.\nSince mini-sockets are never in the TCP_LISTEN state, the condition\nshort-circuits and prevents dereferencing fullsock-specific fields.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00171,"percentile":0.06482,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b75f1c071f31be7f4b950721e04240c250091ad4","tags":[]},{"url":"https://git.kernel.org/stable/c/5702e4c259809c760912c477c4ae34e9217bb4d9","tags":[]},{"url":"https://git.kernel.org/stable/c/b5525e853a2a08a9559adb84b0616025958dc542","tags":[]},{"url":"https://git.kernel.org/stable/c/22c2169770ad3b3595690e51caac875178cf496d","tags":[]},{"url":"https://git.kernel.org/stable/c/23f682083aa3fbc0c49667818efd6979a8bc5ac2","tags":[]},{"url":"https://git.kernel.org/stable/c/31a420a822ff92e2090bd5d65efe8e34e2d6d9b8","tags":[]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":1.3},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 399040847084a69f345e0a52fd62f04654e0fce3, < b75f1c071f31be7f4b950721e04240c250091ad4",">= 399040847084a69f345e0a52fd62f04654e0fce3, < 5702e4c259809c760912c477c4ae34e9217bb4d9",">= 399040847084a69f345e0a52fd62f04654e0fce3, < b5525e853a2a08a9559adb84b0616025958dc542",">= 399040847084a69f345e0a52fd62f04654e0fce3, < 22c2169770ad3b3595690e51caac875178cf496d",">= 399040847084a69f345e0a52fd62f04654e0fce3, < 23f682083aa3fbc0c49667818efd6979a8bc5ac2",">= 399040847084a69f345e0a52fd62f04654e0fce3, < 31a420a822ff92e2090bd5d65efe8e34e2d6d9b8"]},{"vendor":"Linux","product":"Linux","versions":["5.2"]}],"euvd":{"id":"EUVD-2026-70342","exploited":false,"provenance":"source"}}