VDB

CVE-2024-42258

CVE-2024-42258 PUBLISHED CVSS 7.1 HIGH

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.

PackageEcosystemFixed in
bpftoolAmazon Linux6.1.106-116.188.amzn2023
kernelAmazon Linux6.1.106-116.188.amzn2023
kernel-toolsAmazon Linux6.1.106-116.188.amzn2023
kernel-tools-develAmazon Linux6.1.106-116.188.amzn2023
python3-perfAmazon Linux6.1.106-116.188.amzn2023
kernel-libbpfAmazon Linux6.1.106-116.188.amzn2023
kernel-livepatch-6.1.106-116.188Amazon Linux1.0-0.amzn2023
kernel-headersAmazon Linux6.1.106-116.188.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.106-116.188.amzn2023
kernel-develAmazon Linux6.1.106-116.188.amzn2023
perfAmazon Linux6.1.106-116.188.amzn2023
kernel-libbpf-develAmazon Linux6.1.106-116.188.amzn2023

1 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux87632bc9ecff5ded93433bc0fca428019bdd1cfe, 6ea9aa8d97e6563676094cb35755884173269555, 4ef9ad19e17676b9ef071309bc62020e2373705d
LinuxLinux6.8, 0, 6.1.105
amazon:2023bpftool0
amazon:2023kernel0
amazon:2023kernel-tools0
amazon:2023kernel-tools-devel0
amazon:2023python3-perf0
amazon:2023kernel-libbpf0
amazon:2023kernel-livepatch-6.1.106-116.1880
amazon:2023kernel-headers0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-devel0
amazon:2023perf0
amazon:2023kernel-libbpf-devel0
linuxlinux_kernel6.8, 6.7.6, 6.8
amazon:2023kernel-modules-extra0
amazon:2023kernel-libbpf-static0
LinuxLinux87632bc9ecff5ded93433bc0fca428019bdd1cfe, 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›