Unrated severityNVD Advisory· Published Dec 3, 2026
CVE-2026-142795
CVE-2026-142795
Description
In the Linux kernel, the following vulnerability has been resolved:
mm: khugepaged: fix folio is used after folio_put/unlock()
On the rollback path, folio_put() has already dropped the last reference of new_folio. On the success path, new_folio is already unlocked and can be freed concurrently. The trace_mm_khugepaged_collapse_file() is left with a dangling folio pointer.
So using the folio_pfn() before dropping the reference, closing use-after-free window.
Affected products
1Patches
Vulnerability mechanics
References
5- git.kernel.org/stable/c/0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0nvd
- git.kernel.org/stable/c/325da0365ffa4f19ca50a9be2931a18bb252c07anvd
- git.kernel.org/stable/c/9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4nvd
- git.kernel.org/stable/c/967e196ee22611ebe5cd4436b71b577994ee7cb9nvd
- git.kernel.org/stable/c/c08e076cb1976942a4bfcbc1c4dff76addd51fc7nvd
News mentions
0No linked articles in our index yet.