{"id":"CVE-2026-139327","summary":"bpf: Fix verifier WARN on narrow read of bpf_tcp_sock u64 fields","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix verifier WARN on narrow read of bpf_tcp_sock u64 fields\n\nA BPF program can read the middle of a u64 field in struct bpf_tcp_sock:\n\n\ttp = bpf_tcp_sock(listener);\n\t/* +0x54 is in the middle of the u64 bytes_received */\n\tunsigned hi = *(unsigned *)((char *)tp + 0x54);\n\nbpf_tcp_sock_is_valid_access() allows this 4-byte read (the default case\nonly checks size == 4), but bpf_tcp_sock_convert_ctx_access() only knows\nthe field starts and has no idea how to handle such an offset. It emits\nno instruction, cnt stays 0 and the fixup pass trips verifier_bug():\n\n\tverifier bug: error during ctx access conversion (0)\n\nJust disallow the narrower access by matching the whole u64 range of the\ntwo fields, so it is turned down at check time:\n\n\tinvalid tcp_sock access off=84 size=4","modified":"2026-12-01T21:02:37.746441024Z","published":"2026-11-30T13:33:44.272Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139327.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/141c45e045cd36b4230ab9e694f343e049d38323"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4f8f77e0da33ef2a2cb3dbd8c87ff7567b0e0c82"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c5276e3868312214ad780ca6c58a18e1fa11962"},{"type":"WEB","url":"https://git.kernel.org/stable/c/af873495cbcb066ab029f7f63b94410d4db47628"},{"type":"WEB","url":"https://git.kernel.org/stable/c/baf1abdf03f52b9193bfba40336036de314212df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e06ca4a5c552a78a79b22e0b764e2d727c2f7108"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6171dcef8a8fbba1a671e64aed57a8807a42b30"},{"type":"WEB","url":"https://git.kernel.org/stable/c/efc6bc93f215e14c75fb88f47cf54ef504111186"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139327.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139327"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"655a51e536c09d15ffa3603b1b6fce2b45b85a1f"},{"fixed":"e06ca4a5c552a78a79b22e0b764e2d727c2f7108"},{"fixed":"efc6bc93f215e14c75fb88f47cf54ef504111186"},{"fixed":"baf1abdf03f52b9193bfba40336036de314212df"},{"fixed":"141c45e045cd36b4230ab9e694f343e049d38323"},{"fixed":"4f8f77e0da33ef2a2cb3dbd8c87ff7567b0e0c82"},{"fixed":"7c5276e3868312214ad780ca6c58a18e1fa11962"},{"fixed":"e6171dcef8a8fbba1a671e64aed57a8807a42b30"},{"fixed":"af873495cbcb066ab029f7f63b94410d4db47628"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139327.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139327.json"}}],"schema_version":"1.9.2"}