{"id":"CVE-2022-49991","aliases":["CVE-2022-49991"],"related":[],"kind":"vulnerability","state":"published","title":"mm/hugetlb: avoid corrupting page->mapping in hugetlb_mcopy_atomic_pte","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/hugetlb: avoid corrupting page->mapping 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->mapping used by page cache code.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/hugetlb: avoid corrupting page->mapping 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->mapping used by page cache code.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mm/hugetlb: evitar la corrupción del mapeo de páginas en hugetlb_mcopy_atomic_pte. En el caso de MCOPY_ATOMIC_CONTINUE con un VMA no compartido, las páginas de la caché de páginas se instalan en los ptes. Sin embargo, se llama a hugepage_add_new_anon_rmap por error porque no son vm_shared. Esto corromperá el mapeo de páginas utilizado por el código de la caché de páginas.","source":"nvd"}],"published":"2025-06-18T11:00:51.745Z","modified":"2026-08-05T08:57:03.320Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f619147104c8ea71e120e4936d2b68ec11a1e527","fixed":"da60ddd80d09f8371fbba1a238a4b318d13ba698","status":"affected"},{"type":"git","introduced":"f619147104c8ea71e120e4936d2b68ec11a1e527","fixed":"3ada1b3e58db255a14ec73a59d7913e84dc5a8a4","status":"affected"},{"type":"git","introduced":"f619147104c8ea71e120e4936d2b68ec11a1e527","fixed":"ab74ef708dc51df7cf2b8a890b9c6990fac5c0c6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"5.15.65","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.6","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.13","fixed":"5.15.65"},{"status":"affected","introduced":"5.16","fixed":"5.19.6"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/da60ddd80d09f8371fbba1a238a4b318d13ba698","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ada1b3e58db255a14ec73a59d7913e84dc5a8a4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab74ef708dc51df7cf2b8a890b9c6990fac5c0c6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49991","url":"https://www.cve.org/CVERecord?id=CVE-2022-49991","licence":"CVE Terms of Use","modified":"2026-08-05T08:57:03.320Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49991","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49991","licence":"Public domain","modified":"2026-08-04T10:18:02.283Z"}],"updatedAt":"2026-11-25T22:58:20.998Z","epss":{"score":0.00274,"percentile":0.2123,"date":"2026-12-01T12:00:22.000Z"}}