### [CVE-2024-27007](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-27007) ![](https://img.shields.io/static/v1?label=Product&message=Linux&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=adef440691ba%3C%20df5f6e683e7f%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description In the Linux kernel, the following vulnerability has been resolved:userfaultfd: change src_folio after ensuring it's unpinned in UFFDIO_MOVECommit d7a08838ab74 ("mm: userfaultfd: fix unexpected change to src_foliowhen UFFDIO_MOVE fails") moved the src_folio->{mapping, index} changing toafter clearing the page-table and ensuring that it's not pinned. Thisavoids failure of swapout+migration and possibly memory corruption.However, the commit missed fixing it in the huge-page case. ### POC #### Reference No PoCs from references. #### Github - https://github.com/fkie-cad/nvd-json-data-feeds