mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit machines (Linux Linux)

CVE-2024-42258
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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/

Weaknesses (CWE)

  • CWE-770 — Allocation of Resources Without Limits or Throttling

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 87632bc9ecff5ded93433bc0fca428019bdd1cfe < 89f2914dd4b47d2fad3deef0d700f9526d98d11f ; affected 6ea9aa8d97e6563676094cb35755884173269555 < a5c399fe433a115e9d3693169b5f357f3194af0a ; affected 4ef9ad19e17676b9ef071309bc62020e2373705d < 7e1f4efb8d6140b2ec79bf760c43e1fc186e8dfc ; affected 4ef9ad19e17676b9ef071309bc62020e2373705d < d9592025000b3cf26c742f3505da7b83aedc26d5 ; affected 7432376c913381c5f24d373a87ff629bbde94b47 ; affected 6.1.81 < 6.1.105
Linux · Linuxaffected 6.8 ; unaffected 0 < 6.8 ; unaffected 6.1.105 ≤ 6.1.* ; unaffected 6.10.3 ≤ 6.10.* ; unaffected 6.11 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD