CVE-2026-53078
kernel: bpf: Fix same-register dst/src OOB read and pointer leak in sock_ops
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 24, 2026
Updated · October 30, 2026
Description
A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) socket operations (sock_ops) program. When a BPF sock_ops program accesses context fields with the same destination and source registers, certain macros fail to properly clear the destination register. This can lead to a stack-out-of-bounds access, potentially allowing an attacker to execute arbitrary code or cause a denial of service. Additionally, it can result in a kernel pointer leak, disclosing sensitive information.
Statement
This flaw is rated as Moderate severity because exploitation requires elevated administrative privileges to load and attach BPF socket operations programs. On default Red Hat Enterprise Linux installations, unprivileged users cannot load BPF sock_ops programs, restricting the exposure to already-privileged accounts or compromised administrative services. While triggering the condition could lead to an out-of-bounds read or kernel pointer disclosure, the prerequisite of high local capabilities significantly bounds the blast radius.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CWE-125 · Out-of-bounds Read