CVE-2026-142795
not scored yetmm: khugepaged: fix folio is used after folio_put/unlock()
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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 967e196ee22611ebe5cd4436b71b577994ee7cb9; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < c08e076cb1976942a4bfcbc1c4dff76addd51fc7; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 325da0365ffa4f19ca50a9be2931a18bb252c07a; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4 | 967e196ee22611ebe5cd4436b71b577994ee7cb9, c08e076cb1976942a4bfcbc1c4dff76addd51fc7, 325da0365ffa4f19ca50a9be2931a18bb252c07a, 0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0, 9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4 |
| CVE List | Linux | Linux | = 6.2 |
References
- https://git.kernel.org/stable/c/0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0
- https://git.kernel.org/stable/c/325da0365ffa4f19ca50a9be2931a18bb252c07a
- https://git.kernel.org/stable/c/9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4
- https://git.kernel.org/stable/c/967e196ee22611ebe5cd4436b71b577994ee7cb9
- https://git.kernel.org/stable/c/c08e076cb1976942a4bfcbc1c4dff76addd51fc7
History
- 3 Dec 2026 05:06 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 04:06 UTC · CVE List: first stored (published 3 Dec 2026)