{"id":"CVE-2022-49991","summary":"mm/hugetlb: avoid corrupting page-\u003emapping in hugetlb_mcopy_atomic_pte","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/hugetlb: avoid corrupting page-\u003emapping in hugetlb_mcopy_atomic_pte\n\nIn MCOPY_ATOMIC_CONTINUE case with a non-shared VMA, pages in the page\ncache are installed in the ptes.  But hugepage_add_new_anon_rmap is called\nfor them mistakenly because they're not vm_shared.  This will corrupt the\npage-\u003emapping used by page cache code.","modified":"2026-04-02T08:28:08.067120Z","published":"2025-06-18T11:00:51.745Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49991.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3ada1b3e58db255a14ec73a59d7913e84dc5a8a4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ab74ef708dc51df7cf2b8a890b9c6990fac5c0c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da60ddd80d09f8371fbba1a238a4b318d13ba698"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49991.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49991"},{"type":"PACKAGE","url":"https://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":"f619147104c8ea71e120e4936d2b68ec11a1e527"},{"fixed":"da60ddd80d09f8371fbba1a238a4b318d13ba698"},{"fixed":"3ada1b3e58db255a14ec73a59d7913e84dc5a8a4"},{"fixed":"ab74ef708dc51df7cf2b8a890b9c6990fac5c0c6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49991.json"}}],"schema_version":"1.7.5"}