CVE-2024-26946
kprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address
Reported by linux · Published May 1, 2024
In the Linux kernel, the following vulnerability has been resolved: kprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address Read from an unsafe address with copy_from_kernel_nofault() in arch_adjust_kprobe_addr() because this function is used before checking the address is in text or not. Syzcaller bot found a bug and reported the case if user specifies inaccessible data area, arch_adjust_kprobe_addr() will cause a kernel panic. [ mingo: Clarified the comment. ]
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-libbpf-static | Amazon Linux | 6.1.84-99.169.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.84-99.169.amzn2023 |
| kernel-livepatch-6.1.84-99.169 | Amazon Linux | 1.0-0.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | cc66bb91457827f62e2b6cb2518666820f0a6c48, cc66bb91457827f62e2b6cb2518666820f0a6c48, cc66bb91457827f62e2b6cb2518666820f0a6c48 |
| Linux | Linux | 5.18, 0, 6.1.84 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.84-99.169 | 0 |
| linux | linux_kernel | 5.18, 5.18, 5.18 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-devel | 0 |
| Linux | Linux | 6.6.24, 6.7.12, 6.8.3 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel | 0 |
Timeline
- May 1, 2024 EPSS Score (30 in total, the first dated here)
- May 1, 2024 CVE Published
- Oct 4, 2024 Coalition ESS Score (10 in total, the first dated here)
- Jan 15, 2026 Security Advisory (310 in total, the first dated here)
- May 11, 2026 CVE Updated
- May 28, 2026 Distribution Patch (272 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-26946
vulnetix vdb fixes CVE-2024-26946
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-2024-26946/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart