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.
[
{
"id": "CVE-2022-49991-14a6d035",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da60ddd80d09f8371fbba1a238a4b318d13ba698",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"336176580891545467261110321634892770915",
"211172017405287201665834857011841984656",
"330500491885957041026015301144584597691",
"94328870581614922031319378524566787838"
]
},
"target": {
"file": "mm/hugetlb.c"
}
},
{
"id": "CVE-2022-49991-7eeacee1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ada1b3e58db255a14ec73a59d7913e84dc5a8a4",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"274964915393830890699876442805294418314",
"318382761027633474806439236933137390313",
"278742688572231930098186624448645952591",
"225509389028233385223994143253565032964"
]
},
"target": {
"file": "mm/hugetlb.c"
}
},
{
"id": "CVE-2022-49991-e55f26f3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ab74ef708dc51df7cf2b8a890b9c6990fac5c0c6",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"274964915393830890699876442805294418314",
"318382761027633474806439236933137390313",
"278742688572231930098186624448645952591",
"225509389028233385223994143253565032964"
]
},
"target": {
"file": "mm/hugetlb.c"
}
}
]