Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139327

bpf: Fix verifier WARN on narrow read of bpf_tcp_sock u64 fields

Published 30/11/2026 · Updated 30/11/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix verifier WARN on narrow read of bpf_tcp_sock u64 fields A BPF program can read the middle of a u64 field in struct bpf_tcp_sock: tp = bpf_tcp_sock(listener); /* +0x54 is in the middle of the u64 bytes_received */ unsigned hi = *(unsigned *)((char *)tp + 0x54); bpf_tcp_sock_is_valid_access() allows this 4-byte read (the default case only checks size == 4), but bpf_tcp_sock_convert_ctx_access() only knows the field starts and has no idea how to handle such an offset. It emits no instruction, cnt stays 0 and the fixup pass trips verifier_bug(): verifier bug: error during ctx access conversion (0) Just disallow the narrower access by matching the whole u64 range of the two fields, so it is turned down at check time: invalid tcp_sock access off=84 size=4

Affected products and versions

Linux Linux655a51e536c09d15ffa3603b1b6fce2b45b85a1f – < e06ca4a5c552a78a79b22e0b764e2d727c2f7108 · 655a51e536c09d15ffa3603b1b6fce2b45b85a1f – < efc6bc93f215e14c75fb88f47cf54ef504111186 · 655a51e536c09d15ffa3603b1b6fce2b45b85a1f – < baf1abdf03f52b9193bfba40336036de314212df · 655a51e536c09d15ffa3603b1b6fce2b45b85a1f – < 141c45e045cd36b4230ab9e694f343e049d38323 · 655a51e536c09d15ffa3603b1b6fce2b45b85a1f – < 4f8f77e0da33ef2a2cb3dbd8c87ff7567b0e0c82 · 655a51e536c09d15ffa3603b1b6fce2b45b85a1f – < 7c5276e3868312214ad780ca6c58a18e1fa11962 · 655a51e536c09d15ffa3603b1b6fce2b45b85a1f – < e6171dcef8a8fbba1a671e64aed57a8807a42b30 · 655a51e536c09d15ffa3603b1b6fce2b45b85a1f – < af873495cbcb066ab029f7f63b94410d4db47628Fixed in: e06ca4a5c552a78a79b22e0b764e2d727c2f7108 · efc6bc93f215e14c75fb88f47cf54ef504111186 · baf1abdf03f52b9193bfba40336036de314212df · 141c45e045cd36b4230ab9e694f343e049d38323 · 4f8f77e0da33ef2a2cb3dbd8c87ff7567b0e0c82 · 7c5276e3868312214ad780ca6c58a18e1fa11962 · e6171dcef8a8fbba1a671e64aed57a8807a42b30 · af873495cbcb066ab029f7f63b94410d4db47628
Linux Linux5.1Fixed in: 5.10.275 · 5.15.226 · 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.