{"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-05-15T11:54:44.023688424Z","published":"2025-06-18T11:00:51.745Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49991.json","cna_assigner":"Linux"},"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":[{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.13.0"},{"fixed":"5.15.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.19.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49991.json"}}],"schema_version":"1.7.5"}