CVE-2024-50199
publishedmm/swapfile: skip HugeTLB pages for unuse_vma
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < ba7f982cdb37ff5a7739dec85d7325ea66fc1496 · 0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < 417d5838ca73c6331ae2fe692fab6c25c00d9a0b · 0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < e41710f5a61aca9d6baaa8f53908a927dd9e7aa7 · 0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < 6ec0fe3756f941f42f8c57156b8bdf2877b2ebaf · 0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < bed2b9037806c62166a0ef9a559a1e7e3e1275b8 · 0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < eb66a833cdd2f7302ee05d05e0fa12a2ca32eb87 · 0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < 7528c4fb1237512ee18049f852f014eba80bbe8d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.36 (affected) · 0 to < 2.6.36 (unaffected · semver) · 5.4.285 through 5.4.* (unaffected · semver) · 5.10.228 through 5.10.* (unaffected · semver) · 5.15.169 through 5.15.* (unaffected · semver) · 6.1.114 through 6.1.* (unaffected · semver) · 6.6.58 through 6.6.* (unaffected · semver) · 6.11.5 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-077 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-060 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-090 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | linux | Advisory build | 5.10.234-1 | DLA-4075-1 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-794 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el7uek | ELSA-2024-12884 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.338.4.1.el8uek | ELSA-2024-12884 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-303.171.5.2.el8uek | ELSA-2024-12887 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.5.0-802.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.5.0-802.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-coreaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-develaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-coreaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-303.171.5.2.el9uek | ELSA-2024-12887 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: mm/swapfile: skip HugeTLB pages for unuse_vma I got a bad pud error and lost a 1GB HugeTLB when calling swapoff. The problem can be reproduced by the following steps: 1. Allocate an anonymous 1GB HugeTLB and some other anonymous memory. 2. Swapout the above anonymous memory. 3. run swapoff and we will get a bad pud error in kernel message: mm/pgtable-generic.c:42: bad pud 00000000743d215d(84000001400000e7) We can tell that pud_clear_bad is called by pud_none_or_clear_bad in unuse_pud_range() by ftrace. And therefore the HugeTLB pages will never be freed because we lost it from page table. We can skip HugeTLB pages for unuse_vma to fix it.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < ba7f982cdb37ff5a7739dec85d7325ea66fc1496 (affected · git)0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < 417d5838ca73c6331ae2fe692fab6c25c00d9a0b (affected · git)0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < e41710f5a61aca9d6baaa8f53908a927dd9e7aa7 (affected · git)0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < 6ec0fe3756f941f42f8c57156b8bdf2877b2ebaf (affected · git)0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < bed2b9037806c62166a0ef9a559a1e7e3e1275b8 (affected · git)0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < eb66a833cdd2f7302ee05d05e0fa12a2ca32eb87 (affected · git)0fe6e20b9c4c53b3e97096ee73a0857f60aad43f to < 7528c4fb1237512ee18049f852f014eba80bbe8d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.36 (affected)0 to < 2.6.36 (unaffected · semver)5.4.285 through 5.4.* (unaffected · semver)5.10.228 through 5.10.* (unaffected · semver)5.15.169 through 5.15.* (unaffected · semver)6.1.114 through 6.1.* (unaffected · semver)6.6.58 through 6.6.* (unaffected · semver)6.11.5 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
9- https://git.kernel.org/stable/c/417d5838ca73c6331ae2fe692fab6c25c00d9a0b
- https://git.kernel.org/stable/c/6ec0fe3756f941f42f8c57156b8bdf2877b2ebaf
- https://git.kernel.org/stable/c/7528c4fb1237512ee18049f852f014eba80bbe8d
- https://git.kernel.org/stable/c/ba7f982cdb37ff5a7739dec85d7325ea66fc1496
- https://git.kernel.org/stable/c/bed2b9037806c62166a0ef9a559a1e7e3e1275b8
- https://git.kernel.org/stable/c/e41710f5a61aca9d6baaa8f53908a927dd9e7aa7
- https://git.kernel.org/stable/c/eb66a833cdd2f7302ee05d05e0fa12a2ca32eb87
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
Provider assertions
2Linux · cna
mm/swapfile: skip HugeTLB pages for unuse_vma
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1b40e926a67f97854d182e0d1c20a415b4087160d214f82fdc69b2c43ea6ce58
- Ingested
- 23 Sep 2026, 08:29:52 UTC
- Source record
- Official CVE record