VDB

CVE-2024-26946

CVE-2024-26946 PUBLISHED

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.

PackageEcosystemFixed in
kernel-libbpf-staticAmazon Linux6.1.84-99.169.amzn2023
kernel-libbpf-develAmazon Linux6.1.84-99.169.amzn2023
kernel-livepatch-6.1.84-99.169Amazon Linux1.0-0.amzn2023

Affected products

VendorProductVersions
LinuxLinuxcc66bb91457827f62e2b6cb2518666820f0a6c48, cc66bb91457827f62e2b6cb2518666820f0a6c48, cc66bb91457827f62e2b6cb2518666820f0a6c48
LinuxLinux5.18, 0, 6.1.84
amazon:2023kernel-libbpf-static0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-livepatch-6.1.84-99.1690
linuxlinux_kernel5.18, 5.18, 5.18
amazon:2023python3-perf0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-tools-devel0
amazon:2023bpftool0
amazon:2023kernel-headers0
amazon:2023perf0
amazon:2023kernel-libbpf0
amazon:2023kernel-devel0
LinuxLinux6.6.24, 6.7.12, 6.8.3
amazon:2023kernel-tools0
amazon:2023kernel-modules-extra0
amazon:2023kernel0

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›