CVE-2024-42258

Source
https://cve.org/CVERecord?id=CVE-2024-42258
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42258.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42258
Downstream
Published
2024-08-12T14:16:13.227Z
Modified
2026-03-20T12:38:45.138730Z
Summary
mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit machines
Details

In the Linux kernel, the following vulnerability has been resolved:

mm: hugememory: use !CONFIG64BIT to relax huge page alignment on 32 bit machines

Yves-Alexis Perez reported commit 4ef9ad19e176 ("mm: hugememory: don't force huge page alignment on 32 bit") didn't work for x8632 [1]. It is because x8632 uses CONFIGX8632 instead of CONFIG32BIT.

!CONFIG_64BIT should cover all 32 bit machines.

[1] https://lore.kernel.org/linux-mm/CAHbLzkr1LwH3pcTgM+aGQ31ip2bKqiqEQ8=FQB+t2c3dhNKNHA@mail.gmail.com/

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42258.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
87632bc9ecff5ded93433bc0fca428019bdd1cfe
Fixed
89f2914dd4b47d2fad3deef0d700f9526d98d11f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ea9aa8d97e6563676094cb35755884173269555
Fixed
a5c399fe433a115e9d3693169b5f357f3194af0a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4ef9ad19e17676b9ef071309bc62020e2373705d
Fixed
7e1f4efb8d6140b2ec79bf760c43e1fc186e8dfc
Fixed
d9592025000b3cf26c742f3505da7b83aedc26d5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
7432376c913381c5f24d373a87ff629bbde94b47

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42258.json"