{"id":"CVE-2026-46013","published":"2026-05-27T12:56:15Z","modified":"2026-06-14T17:47:59Z","title":"mm/memfd_luo: fix physical address conversion in put_folios cleanup","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/memfd_luo: fix physical address conversion in put_folios cleanup\n\nIn memfd_luo_retrieve_folios()'s put_folios cleanup path:\n\n1. kho_restore_folio() expects a phys_addr_t (physical address) but\n   receives a raw PFN (pfolio->pfn). This causes kho_restore_page() to\n   check the wrong physical address (pfn << PAGE_SHIFT instead of the\n   actual physical address).\n\n2. This loop lacks the !pfolio->pfn check that exists in the main\n   retrieval loop and memfd_luo_discard_folios(), which could\n   incorrectly process sparse file holes where pfn=0.\n\nFix by converting PFN to physical address with PFN_PHYS() and adding\nthe !pfolio->pfn check, matching the pattern used elsewhere in this file.\n\nThis issue was identified by the AI review.\nhttps://sashiko.dev/#/patchset/20260323110747.193569-1-duanchenghao@kylinos.cn","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00107,"percentile":0.01166,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/bd0d6bde286a2b8e3ae7975b0dcc2d43875d5fc9","tags":[]},{"url":"https://git.kernel.org/stable/c/3538f90ab89aaf302782b4b073a0aae66904cd67","tags":[]}],"priority":{"score":0.2,"factors":[{"name":"EPSS percentile","points":0.23}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b3749f174d686627f702234e64bad976dc432dbc, < bd0d6bde286a2b8e3ae7975b0dcc2d43875d5fc9",">= b3749f174d686627f702234e64bad976dc432dbc, < 3538f90ab89aaf302782b4b073a0aae66904cd67"]},{"vendor":"Linux","product":"Linux","versions":["6.19"]}],"euvd":{"id":"EUVD-2026-32310","exploited":false,"provenance":"source"}}