All reports
Medium

kernel: bpf: Add missing access_ok call to copy_user_syms

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-80865

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Add missing access_ok call to copy_user_syms As reported by sashiko we use __get_user without prior access_ok call on the user space pointer. Adding the missing call for the whole pointer array. Plus removing the err check in the error path, because it's not needed and also we can return -ENOMEM directly from the first kvmalloc_array fail path. [1] https://lore.kernel.org/bpf/20260611115503.AC16D1F00893@smtp.kernel.org/

A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) tracing component. A missing access check in the copy_user_syms function, specifically the absence of an access_ok call before using __get_user on a user space pointer, could allow a local attacker to read sensitive kernel memory. This could lead to information disclosure or potentially cause a system crash.