Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2022-49991

mm/hugetlb: avoid corrupting page->mapping in hugetlb_mcopy_atomic_pte

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f619147104c8ea71e120e4936d2b68ec11a1e527 to < da60ddd80d09f8371fbba1a238a4b318d13ba698affected
  • f619147104c8ea71e120e4936d2b68ec11a1e527 to < 3ada1b3e58db255a14ec73a59d7913e84dc5a8a4affected
  • f619147104c8ea71e120e4936d2b68ec11a1e527 to < ab74ef708dc51df7cf2b8a890b9c6990fac5c0c6affected

Linux Linux

Default version status: affected

  • 5.13affected
  • 0 to < 5.13unaffected
  • 5.15.65 to ≤ 5.15.*unaffected
  • 5.19.6 to ≤ 5.19.*unaffected
  • 6.0 to ≤ *unaffected

References