CVE-2026-64548
bpf, sockmap: reject overflowing copy + len in bpf_msg_push_data()
Reported by linux · Published July 27, 2026
In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: reject overflowing copy + len in bpf_msg_push_data() When the scatterlist ring is full or nearly full, bpf_msg_push_data() enters a copy fallback path and computes copy + len for the page allocation size. Since len comes from BPF with arg3_type = ARG_ANYTHING and both are u32, a crafted len can wrap the sum to a small value, causing an undersized allocation followed by an out-of-bounds memcpy. BUG: unable to handle page fault for address: ffffed104089a402 Oops: Oops: 0000 [#1] SMP KASAN NOPTI Call Trace: __asan_memcpy (mm/kasan/shadow.c:105) bpf_msg_push_data (net/core/filter.c:2852 net/core/filter.c:2788) bpf_prog_9ed8b5711920a7d7+0x2e/0x36 sk_psock_msg_verdict (net/core/skmsg.c:934) tcp_bpf_sendmsg (net/ipv4/tcp_bpf.c:421 net/ipv4/tcp_bpf.c:584) __sys_sendto (net/socket.c:2206) do_syscall_64 (arch/x86/entry/syscall_64.c:94) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) Add an overflow check before the allocation.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.18.41-94.142 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| perf | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6fff607e2f14bd7c63c06c464a6f93b8efbabe28, 6fff607e2f14bd7c63c06c464a6f93b8efbabe28, 6fff607e2f14bd7c63c06c464a6f93b8efbabe28 |
| Linux | Linux | 4.20, 0, 5.10.261 |
| amazon:2023 | kernel-livepatch-6.18.41-94.142 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | perf | 0 |
| Linux | Linux | 5.15.212, 5.10.261, 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-livepatch-6.1.180-225.360 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
…and 18 more
Timeline
- Jul 27, 2026 CVE Published
- Jul 28, 2026 Coalition ESS Score
- Jul 28, 2026 Security Advisory
- Aug 7, 2026 EPSS Score (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64548
vulnetix vdb fixes CVE-2026-64548
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64548/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart