{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-80738","id":"CVE-2026-80738","title":"bpf: Check sk_state before sk_protocol in bpf_tcp_*_syncookie","description":"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 != ","descriptionLong":"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.","published":"2026-09-03T08:21:53.143Z","updated":"2026-11-01T02:30:38.393897948Z","reserved":"2026-08-26T14:34:25.789Z","status":"Received","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"Linux"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"399040847084a69f345e0a52fd62f04654e0fce3","lessThan":"b75f1c071f31be7f4b950721e04240c250091ad4","status":"affected","versionType":"git"},{"version":"399040847084a69f345e0a52fd62f04654e0fce3","lessThan":"5702e4c259809c760912c477c4ae34e9217bb4d9","status":"affected","versionType":"git"},{"version":"399040847084a69f345e0a52fd62f04654e0fce3","lessThan":"b5525e853a2a08a9559adb84b0616025958dc542","status":"affected","versionType":"git"},{"version":"399040847084a69f345e0a52fd62f04654e0fce3","lessThan":"22c2169770ad3b3595690e51caac875178cf496d","status":"affected","versionType":"git"},{"version":"399040847084a69f345e0a52fd62f04654e0fce3","lessThan":"23f682083aa3fbc0c49667818efd6979a8bc5ac2","status":"affected","versionType":"git"},{"version":"399040847084a69f345e0a52fd62f04654e0fce3","lessThan":"31a420a822ff92e2090bd5d65efe8e34e2d6d9b8","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.2","status":"affected"},{"version":"0","lessThan":"5.2","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.114","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.57","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.9","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b75f1c071f31be7f4b950721e04240c250091ad4","tags":["web"]},{"url":"https://git.kernel.org/stable/c/5702e4c259809c760912c477c4ae34e9217bb4d9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/b5525e853a2a08a9559adb84b0616025958dc542","tags":["web"]},{"url":"https://git.kernel.org/stable/c/22c2169770ad3b3595690e51caac875178cf496d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/23f682083aa3fbc0c49667818efd6979a8bc5ac2","tags":["web"]},{"url":"https://git.kernel.org/stable/c/31a420a822ff92e2090bd5d65efe8e34e2d6d9b8","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80738.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80738","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00171,"epssPercentile":0.06608,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-80738","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80738","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-80738","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-80738","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}