CVE-2024-42258
mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit machines
Reported by linux · Published August 12, 2024
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/
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.106-116.188.amzn2023 |
| python3-perf | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-livepatch-6.1.106-116.188 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.106-116.188.amzn2023 |
| perf | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.106-116.188.amzn2023 |
1 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 87632bc9ecff5ded93433bc0fca428019bdd1cfe, 6ea9aa8d97e6563676094cb35755884173269555, 4ef9ad19e17676b9ef071309bc62020e2373705d |
| Linux | Linux | 6.8, 0, 6.1.105 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-livepatch-6.1.106-116.188 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| linux | linux_kernel | 6.8, 6.7.6, 6.8 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| Linux | Linux | 87632bc9ecff5ded93433bc0fca428019bdd1cfe, 6ea9aa8d97e6563676094cb35755884173269555, 4ef9ad19e17676b9ef071309bc62020e2373705d |
Timeline
- Aug 12, 2024 CVE Published
- Aug 13, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
- Jan 6, 2025 CVE Updated
- Jan 6, 2026 Security Advisory (25 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (24 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-42258
vulnetix vdb fixes CVE-2024-42258
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-42258/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart