CVE-2026-142794

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

In the Linux kernel, the following vulnerability has been resolved:

mm: khugepaged: fix folio is used after pte_unmap_unlock()

After the page table lock has dropped, the folio can be freed concurrently. The trace_mm_khugepaged_scan_pmd() is left with a dangling folio pointer.

So using the folio_pfn() before dropping the page table lock, closing use-after-free window.

And other pre-existing bug, When the for (i = 0; i < HPAGE_PMD_NR; i++) iteration to terminate and the folio operation preceding is normal, but pfn will be incorrect. so we really only trace the PFN if it really was problematic.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142794.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
7d2eba0557c18f7522b98befed98799990dd4fdb
Fixed
6534f1867a63c8a40a27d96b50c9f0b4ffaf6d5f
Fixed
931c01918ebb75b589db1c68e07713eac2e0aabd
Fixed
6bfd20c1f7ef92417ff4efd878ca52f9ac51f9d0
Fixed
ba2f1f92ddfabd340c9248fd2380104f717ee8b1

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.5.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
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-142794.json"