bpf: Add missing access_ok call to copy_user_syms
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/
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.178, 6.12.97, 6.18.40, 6.6.145, 7.1.5
- CVEs
- CVE-2026-80865
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 20:21 UTC · Revision 1
Source evidence
bpf: Add missing access_ok call to copy_user_syms
core-osv · Original sourcePublished 4 Sept 2026, 16:48 UTC
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/
osv:CVE-2026-80865
Kernel
Fixed versions: 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5
Complete source record
{
"id": "03afa8810ae8a853905b68e2a62418ca911d684866ab79f9d617f7a34c5e12b0",
"url": "https://osv.dev/vulnerability/CVE-2026-80865",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "bpf: Add missing access_ok call to copy_user_syms",
"summary": "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/",
"evidence": "osv:CVE-2026-80865",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.178",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.145",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.97",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.40",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-80865",
"aliases": [
"CVE-2026-80865"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "0236fec57a15dc2a068dfe4488e0c2ab4559b1ec"
},
{
"fixed": "a67f7f9647cb243b3be32163e88e5bc76e3d51e9"
},
{
"fixed": "8b719cef5ac30ab83ce5693c5faf10e4944874af"
},
{
"fixed": "128391b57e0977c35243672a6f970073651f3831"
},
{
"fixed": "0b6252afcd1965f77c6a6f8a802a2e1381822b98"
},
{
"fixed": "28ce7bcf8a29aa395b60764df4c97be745de89d0"
},
{
"fixed": "d5dc200c3a3f217de072af269dd90adddf90e48d"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80865.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.19.0"
},
{
"fixed": "6.1.178"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.145"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.97"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.40"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80865.json"
}
}
],
"modified": "2026-10-28T02:30:23.355773180Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0b6252afcd1965f77c6a6f8a802a2e1381822b98",
"https://git.kernel.org/stable/c/128391b57e0977c35243672a6f970073651f3831",
"https://git.kernel.org/stable/c/28ce7bcf8a29aa395b60764df4c97be745de89d0",
"https://git.kernel.org/stable/c/8b719cef5ac30ab83ce5693c5faf10e4944874af",
"https://git.kernel.org/stable/c/a67f7f9647cb243b3be32163e88e5bc76e3d51e9",
"https://git.kernel.org/stable/c/d5dc200c3a3f217de072af269dd90adddf90e48d",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80865.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-80865",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80865.json"
}
},
"related_cves": [
{
"value": "CVE-2026-80865",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 489785,
"published_at": "2026-09-04T16:48:08.582+00:00"
}