CVE-2026-80865

bpf: Add missing access_ok call to copy_user_syms

Published Sep 4, 2026 CVSS n/a EPSS < 1% KEV · Not listed
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/

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8917-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8918-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-20
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
Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 5:05 PM
Reserved
Aug 26, 2026, 2:34 PM
Status
Received
Published
Sep 4, 2026, 5:16 PM
Modified
Nov 6, 2026, 5:19 PM