CVE-2024-26946
kprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address
Check your servers for CVE-2024-26946
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26946 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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. ]
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 May 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cc66bb91457827f62e2b6cb2518666820f0a6c48, before 6417684315087904fffe8966d27ca74398c57dd6 affected from cc66bb91457827f62e2b6cb2518666820f0a6c48, before f13edd1871d4fb4ab829aff629d47914e251bae3 affected from cc66bb91457827f62e2b6cb2518666820f0a6c48, before 20fdb21eabaeb8f78f8f701f56d14ea0836ec861 affected from cc66bb91457827f62e2b6cb2518666820f0a6c48, before b69f577308f1070004cafac106dd1a44099e5483 affected from cc66bb91457827f62e2b6cb2518666820f0a6c48, before 4e51653d5d871f40f1bd5cf95cc7f2d8b33d063b
Other versions: unaffected
|
| Linux |
affected 5.18 unaffected before 5.18 unaffected from 6.1.84 up to and including 6.1.* unaffected from 6.6.24 up to and including 6.6.* unaffected from 6.7.12 up to and including 6.7.* unaffected from 6.8.3 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26946 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26946
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-26946
trivy image --scanners vuln IMAGE | grep CVE-2024-26946
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/6417684315087904fffe8966d27ca74398c57dd6 git.kernel.org
- https://git.kernel.org/stable/c/f13edd1871d4fb4ab829aff629d47914e251bae3 git.kernel.org
- https://git.kernel.org/stable/c/20fdb21eabaeb8f78f8f701f56d14ea0836ec861 git.kernel.org
- https://git.kernel.org/stable/c/b69f577308f1070004cafac106dd1a44099e5483 git.kernel.org
- https://git.kernel.org/stable/c/4e51653d5d871f40f1bd5cf95cc7f2d8b33d063b git.kernel.org
Source: the record CVE-2024-26946 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse