{"id":"CVE-2026-139327","aliases":["CVE-2026-139327"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Fix verifier WARN on narrow read of bpf_tcp_sock u64 fields","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"}],"published":"2026-11-30T13:33:44.272Z","modified":"2026-11-30T14:18:57.290Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"655a51e536c09d15ffa3603b1b6fce2b45b85a1f","fixed":"e06ca4a5c552a78a79b22e0b764e2d727c2f7108","status":"affected"},{"type":"git","introduced":"655a51e536c09d15ffa3603b1b6fce2b45b85a1f","fixed":"efc6bc93f215e14c75fb88f47cf54ef504111186","status":"affected"},{"type":"git","introduced":"655a51e536c09d15ffa3603b1b6fce2b45b85a1f","fixed":"baf1abdf03f52b9193bfba40336036de314212df","status":"affected"},{"type":"git","introduced":"655a51e536c09d15ffa3603b1b6fce2b45b85a1f","fixed":"141c45e045cd36b4230ab9e694f343e049d38323","status":"affected"},{"type":"git","introduced":"655a51e536c09d15ffa3603b1b6fce2b45b85a1f","fixed":"4f8f77e0da33ef2a2cb3dbd8c87ff7567b0e0c82","status":"affected"},{"type":"git","introduced":"655a51e536c09d15ffa3603b1b6fce2b45b85a1f","fixed":"7c5276e3868312214ad780ca6c58a18e1fa11962","status":"affected"},{"type":"git","introduced":"655a51e536c09d15ffa3603b1b6fce2b45b85a1f","fixed":"e6171dcef8a8fbba1a671e64aed57a8807a42b30","status":"affected"},{"type":"git","introduced":"655a51e536c09d15ffa3603b1b6fce2b45b85a1f","fixed":"af873495cbcb066ab029f7f63b94410d4db47628","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.1","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e06ca4a5c552a78a79b22e0b764e2d727c2f7108","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/efc6bc93f215e14c75fb88f47cf54ef504111186","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/baf1abdf03f52b9193bfba40336036de314212df","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/141c45e045cd36b4230ab9e694f343e049d38323","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f8f77e0da33ef2a2cb3dbd8c87ff7567b0e0c82","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c5276e3868312214ad780ca6c58a18e1fa11962","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e6171dcef8a8fbba1a671e64aed57a8807a42b30","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af873495cbcb066ab029f7f63b94410d4db47628","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139327","url":"https://www.cve.org/CVERecord?id=CVE-2026-139327","licence":"CVE Terms of Use","modified":"2026-11-30T13:33:44.272Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139327","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139327","licence":"Public domain","modified":"2026-11-30T14:18:57.290Z"}],"updatedAt":"2026-11-30T14:33:07.385Z","epss":{"score":0.00211,"percentile":0.12063,"date":"2026-12-01T12:00:22.000Z"}}