CVE-2022-49991

Source
https://cve.org/CVERecord?id=CVE-2022-49991
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49991.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49991
Downstream
Published
2025-06-18T11:00:51.745Z
Modified
2026-03-20T12:24:49.454419Z
Summary
mm/hugetlb: avoid corrupting page->mapping in hugetlb_mcopy_atomic_pte
Details

In the Linux kernel, the following vulnerability has been resolved:

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

In MCOPYATOMICCONTINUE case with a non-shared VMA, pages in the page cache are installed in the ptes. But hugepageaddnewanonrmap is called for them mistakenly because they're not vm_shared. This will corrupt the page->mapping used by page cache code.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49991.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2022-49991.json"