CVE-2026-80865

bpf: Add missing access_ok call to copy_user_syms

State
Published
Severity
Not scored
Published
Sep 4, 2026
Updated
Sep 4, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

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/

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0236fec57a15dc2a068dfe4488e0c2ab4559b1ec to before a67f7f9647cb243b3be32163e88e5bc76e3d51e9Affected
  • 0236fec57a15dc2a068dfe4488e0c2ab4559b1ec to before 8b719cef5ac30ab83ce5693c5faf10e4944874afAffected
  • 0236fec57a15dc2a068dfe4488e0c2ab4559b1ec to before 128391b57e0977c35243672a6f970073651f3831Affected
  • 0236fec57a15dc2a068dfe4488e0c2ab4559b1ec to before 0b6252afcd1965f77c6a6f8a802a2e1381822b98Affected
  • 0236fec57a15dc2a068dfe4488e0c2ab4559b1ec to before 28ce7bcf8a29aa395b60764df4c97be745de89d0Affected
  • 0236fec57a15dc2a068dfe4488e0c2ab4559b1ec to before d5dc200c3a3f217de072af269dd90adddf90e48dAffected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.