0.0
NA
CVE-2026-142795
mm: khugepaged: fix folio is used after folio_put/unlock()
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.

INFO

Published Date :

Dec. 3, 2026, 4:18 a.m.

Last Modified :

Dec. 3, 2026, 4:18 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-142795 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Apply kernel patches to fix use-after-free in khugepaged.
  • Update the Linux kernel to the latest version.
  • Apply the specific patch addressing folio use-after-free.
  • Recompile and deploy the kernel.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-142795 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-142795 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-142795 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-142795 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 03, 2026

    Action Type Old Value New Value
    Added 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/142xxx/CVE-2026-142795.json">CVE-2026-142795</a>
    Added Reference https://git.kernel.org/stable/c/0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0
    Added Reference https://git.kernel.org/stable/c/325da0365ffa4f19ca50a9be2931a18bb252c07a
    Added Reference https://git.kernel.org/stable/c/9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4
    Added Reference https://git.kernel.org/stable/c/967e196ee22611ebe5cd4436b71b577994ee7cb9
    Added Reference https://git.kernel.org/stable/c/c08e076cb1976942a4bfcbc1c4dff76addd51fc7
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.