CVE-2026-142795

Source
https://cve.org/CVERecord?id=CVE-2026-142795
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142795.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142795
Downstream
Published
2026-12-03T03:11:27Z
Modified
2026-12-03T05:00:32Z
Summary
mm: khugepaged: fix folio is used after folio_put/unlock()
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142795.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6
Fixed
967e196ee22611ebe5cd4436b71b577994ee7cb9
Fixed
c08e076cb1976942a4bfcbc1c4dff76addd51fc7
Fixed
325da0365ffa4f19ca50a9be2931a18bb252c07a
Fixed
0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0
Fixed
9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142795.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142795.json"