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/
Published: 2026-09-04
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Kernel Crash / Denial of Service
Action: Patch
AI Analysis

Impact

In the Linux kernel’s BPF subsystem, the helper function copy_user_syms reads a user‑supplied array of symbols using __get_user without first calling access_ok to verify that the memory range is readable. A malformed or malicious pointer supplied by a BPF program can cause the kernel to fault during the read, triggering an OOPS and terminating the system. This fault does not lead to privilege escalation or code execution but brings down the kernel, resulting in a denial‑of‑service.

Affected Systems

The vulnerability exists in any Linux kernel build that lacks the commit adding the missing access_ok check to copy_user_syms. The affected code originates from the upstream Linux kernel tree; any distribution that releases a kernel before the patch will be affected unless it has backported the change. No specific vendor or version list is given, so the impact is on all installations running a vulnerable kernel revision.

Risk and Exploitability

No EPSS score is available and the issue is not listed in the CISA KEV catalog, indicating no confirmed active exploitation. The flaw is exploitable only by a local user capable of loading or executing a BPF program that can supply the offending pointer array. Once such code runs, the kernel will crash, causing a system‑wide denial of service. While the likelihood of widespread attacks is uncertain, the severity of a kernel crash makes the risk significant for environments where user processes can load BPF programs.

Generated by OpenCVE AI on September 4, 2026 at 22:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the missing access_ok check inserted into copy_user_syms
  • If a kernel update cannot be applied immediately, restrict or disable the ability for user space to load BPF programs, for example by setting sysctl entries to limit BPF or by using SELinux/AppArmor policies that block BPF helper usage
  • After applying the patch or enforcing the restriction, restart the relevant kernel modules or reboot the system to ensure the protection takes effect

Generated by OpenCVE AI on September 4, 2026 at 22:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 22:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Fri, 04 Sep 2026 17:00:00 +0000

Type Values Removed Values Added
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/
Title bpf: Add missing access_ok call to copy_user_syms
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-04T16:48:08.582Z

Reserved: 2026-08-26T14:34:25.798Z

Link: CVE-2026-80865

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T17:16:58.267

Modified: 2026-09-04T17:16:58.267

Link: CVE-2026-80865

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T22:45:03Z

Weaknesses
  • CWE-20

    Improper Input Validation