Bug 2586673 (CVE-2026-139327) - CVE-2026-139327 kernel: kernel: bpf: Denial of service via narrow read of TCP socket fields
Summary: CVE-2026-139327 kernel: kernel: bpf: Denial of service via narrow read of TCP...
Keywords:
Status: NEW
Alias: CVE-2026-139327
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:32 UTC by OSIDB Bzimport
Modified: 2026-12-01 01:52 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:32:58 UTC
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


Note You need to log in before you can comment on or make changes to this bug.