CVE-2024-50017
x86/mm/ident_map: Use gbpages only where full GB page should be mapped.
Check your servers for CVE-2024-50017
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-50017 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:
x86/mm/ident_map: Use gbpages only where full GB page should be mapped.
When ident_pud_init() uses only GB pages to create identity maps, large ranges of addresses not actually requested can be included in the resulting table; a 4K request will map a full GB. This can include a lot of extra address space past that requested, including areas marked reserved by the BIOS. That allows processor speculation into reserved regions, that on UV systems can cause system halts.
Only use GB pages when map creation requests include the full GB page of space. Fall back to using smaller 2M pages when only portions of a GB page are included in the request.
No attempt is made to coalesce mapping requests. If a request requires a map entry at the 2M (pmd) level, subsequent mapping requests within the same 1G region will also be at the pmd level, even if adjacent or overlapping such requests could have been combined to map a full GB page. Existing usage starts with larger regions and then adds smaller regions, so this should not have any great consequence.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Oct 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 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, before cb2555fb0223edac9e7820f16de17ae04a39ad39 affected from 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, before fe9bab1d6441ed49dc3dd0acce4c2215e8d85447 affected from 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, before d113f9723f2bfd9c6feeb899b8ddbee6b8a6e01f affected from 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, before d80a99892f7a992d103138fa4636b2c33abd6740 affected from 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, before a23823098ab2c277c14fc110b97d8d5c83597195 affected from 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, before cc31744a294584a36bf764a0ffa3255a8e69f036
Other versions: unaffected
|
| Linux |
affected 4.12 unaffected before 4.12 unaffected from 5.15.221 up to and including 5.15.* unaffected from 6.1.188 up to and including 6.1.* unaffected from 6.6.78 up to and including 6.6.* unaffected from 6.10.14 up to and including 6.10.* unaffected from 6.11.3 up to and including 6.11.* unaffected 6.12 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-50017 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-50017
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-50017
trivy image --scanners vuln IMAGE | grep CVE-2024-50017
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/cb2555fb0223edac9e7820f16de17ae04a39ad39 git.kernel.org
- https://git.kernel.org/stable/c/fe9bab1d6441ed49dc3dd0acce4c2215e8d85447 git.kernel.org
- https://git.kernel.org/stable/c/d113f9723f2bfd9c6feeb899b8ddbee6b8a6e01f git.kernel.org
- https://git.kernel.org/stable/c/d80a99892f7a992d103138fa4636b2c33abd6740 git.kernel.org
- https://git.kernel.org/stable/c/a23823098ab2c277c14fc110b97d8d5c83597195 git.kernel.org
- https://git.kernel.org/stable/c/cc31744a294584a36bf764a0ffa3255a8e69f036 git.kernel.org
Source: the record CVE-2024-50017 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