mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit machines
Summary
| CVE | CVE-2024-42258 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-08-12 15:15:20 UTC |
| Updated | 2026-08-04 11:19:42 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit machines Yves-Alexis Perez reported commit 4ef9ad19e176 ("mm: huge_memory: don't force huge page alignment on 32 bit") didn't work for x86_32 [1]. It is because x86_32 uses CONFIG_X86_32 instead of CONFIG_32BIT. !CONFIG_64BIT should cover all 32 bit machines. [1] https://lore.kernel.org/linux-mm/CAHbLzkr1LwH3pcTgM+aGQ31ip2bKqiqEQ8=FQB+t2c3dhNKNHA@mail.gmail.com/ |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.002200000 probability, percentile 0.125610000 (date 2026-08-06)
Problem Types: CWE-770
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| 3.1 | CNA | DECLARED | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 87632bc9ecff5ded93433bc0fca428019bdd1cfe 89f2914dd4b47d2fad3deef0d700f9526d98d11f git | Not specified |
| CNA | Linux | Linux | affected 6ea9aa8d97e6563676094cb35755884173269555 a5c399fe433a115e9d3693169b5f357f3194af0a git | Not specified |
| CNA | Linux | Linux | affected 4ef9ad19e17676b9ef071309bc62020e2373705d 7e1f4efb8d6140b2ec79bf760c43e1fc186e8dfc git | Not specified |
| CNA | Linux | Linux | affected 4ef9ad19e17676b9ef071309bc62020e2373705d d9592025000b3cf26c742f3505da7b83aedc26d5 git | Not specified |
| CNA | Linux | Linux | affected 7432376c913381c5f24d373a87ff629bbde94b47 git | Not specified |
| CNA | Linux | Linux | affected 6.1.81 6.1.105 semver | Not specified |
| CNA | Linux | Linux | affected 6.7.6 6.8 semver | Not specified |
| CNA | Linux | Linux | affected 6.8 | Not specified |
| CNA | Linux | Linux | unaffected 6.8 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.105 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.10.3 6.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.11 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/d9592025000b3cf26c742f3505da7b83aedc26d5 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/7e1f4efb8d6140b2ec79bf760c43e1fc186e8dfc | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/89f2914dd4b47d2fad3deef0d700f9526d98d11f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/a5c399fe433a115e9d3693169b5f357f3194af0a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| lists.debian.org/debian-lts-announce/2025/01/msg00001.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.