What’s Vulnerable › Vulnerabilities
CVE-2022-49991: mm/hugetlb: avoid corrupting page->mapping in hugetlb_mcopy_atomic_pte
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-08-04
Description
In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: avoid corrupting page->mapping in hugetlb_mcopy_atomic_pte In MCOPY_ATOMIC_CONTINUE case with a non-shared VMA, pages in the page cache are installed in the ptes. But hugepage_add_new_anon_rmap is called for them mistakenly because they're not vm_shared. This will corrupt the page->mapping used by page cache code.
Affected products
- Linux kernel: from 5.13 before 5.15.65; from 5.16 before 5.19.6; 6.0-rc1, 6.0-rc2 — fixed in 5.15.65, 5.19.6
How to fix
Upgrade to a fixed version: Linux kernel 5.15.65, 5.19.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3ada1b3e58db255a14ec73a59d7913e84dc5a8a4
- https://git.kernel.org/stable/c/ab74ef708dc51df7cf2b8a890b9c6990fac5c0c6
- https://git.kernel.org/stable/c/da60ddd80d09f8371fbba1a238a4b318d13ba698
Get alerted when CVE-2022-49991 or the next vulnerability affects your stack