# CVE-2024-50017: x86/mm/ident\_map: Use gbpages only where full GB page should be mapped.

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 16, 2026-11-26)
- **Published:** 2024-10-21T18:54:07.811Z
- **Modified:** 2026-09-14T12:17:33.497Z

## Who should check

- Anyone running Linux \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< cb2555fb0223edac9e7820f16de17ae04a39ad39; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< fe9bab1d6441ed49dc3dd0acce4c2215e8d85447; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< d113f9723f2bfd9c6feeb899b8ddbee6b8a6e01f; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< d80a99892f7a992d103138fa4636b2c33abd6740; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< a23823098ab2c277c14fc110b97d8d5c83597195; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< cc31744a294584a36bf764a0ffa3255a8e69f036
- Anyone running Linux 4.12

## 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.

## Affected and fixed versions

- Linux: \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< cb2555fb0223edac9e7820f16de17ae04a39ad39; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< fe9bab1d6441ed49dc3dd0acce4c2215e8d85447; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< d113f9723f2bfd9c6feeb899b8ddbee6b8a6e01f; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< d80a99892f7a992d103138fa4636b2c33abd6740; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< a23823098ab2c277c14fc110b97d8d5c83597195; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< cc31744a294584a36bf764a0ffa3255a8e69f036 (cvelist)
- Linux: 4.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50017. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50017.md
Affected: Linux >= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, < cb2555fb0223edac9e7820f16de17ae04a39ad39; >= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, < fe9bab1d6441ed49dc3dd0acce4c2215e8d85447; >= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, < d113f9723f2bfd9c6feeb899b8ddbee6b8a6e01f; >= 66aad4fdf2bf0af29c7decb…
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50017 being exploited?

There is no confirmed exploitation: CVE-2024-50017 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-50017?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-50017?

Linux \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< cb2555fb0223edac9e7820f16de17ae04a39ad39; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< fe9bab1d6441ed49dc3dd0acce4c2215e8d85447; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< d113f9723f2bfd9c6feeb899b8ddbee6b8a6e01f; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< d80a99892f7a992d103138fa4636b2c33abd6740; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< a23823098ab2c277c14fc110b97d8d5c83597195; \>= 66aad4fdf2bf0af29c7decb4433dc5ec6c7c5451, \< cc31744a294584a36bf764a0ffa3255a8e69f036; Linux 4.12.

### Is there a fix for CVE-2024-50017?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-50017?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d80a99892f7a992d103138fa4636b2c33abd6740>
- patch: <https://git.kernel.org/stable/c/a23823098ab2c277c14fc110b97d8d5c83597195>
- patch: <https://git.kernel.org/stable/c/cc31744a294584a36bf764a0ffa3255a8e69f036>
- other: <https://git.kernel.org/stable/c/cb2555fb0223edac9e7820f16de17ae04a39ad39>
- other: <https://git.kernel.org/stable/c/fe9bab1d6441ed49dc3dd0acce4c2215e8d85447>
- other: <https://git.kernel.org/stable/c/d113f9723f2bfd9c6feeb899b8ddbee6b8a6e01f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50017>

HTML: <https://flawdb.com/CVE-2024-50017> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50017>
