CVE-2026-142795
mm: khugepaged: fix folio is used after folio_put/unlock()
Mitigation
- Upgrade Linux to 9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4 or later.
Who should check
- Anyone running Linux >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 967e196ee22611ebe5cd4436b71b577994ee7cb9; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < c08e076cb1976942a4bfcbc1c4dff76addd51fc7; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 325da0365ffa4f19ca50a9be2931a18bb252c07a; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4
- Anyone running Linux 6.2
Vulnerability facts
- Affected
- Linux >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 967e196ee22611ebe5cd4436b71b577994ee7cb9; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < c08e076cb1976942a4bfcbc1c4dff76addd51fc7; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 325da0365ffa4f19ca50a9be2931a18bb252c07a; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4; Linux 6.2
- Fixed in
- Linux 967e196ee22611ebe5cd4436b71b577994ee7cb9, Linux 325da0365ffa4f19ca50a9be2931a18bb252c07a, Linux 0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0, Linux 9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 967e196ee22611ebe5cd4436b71b577994ee7cb9; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < c08e076cb1976942a4bfcbc1c4dff76addd51fc7; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 325da0365ffa4f19ca50a9be2931a18bb252c07a; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4 | — | cvelist |
| Linux | 6.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-142795. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-142795.md Affected: Linux >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 967e196ee22611ebe5cd4436b71b577994ee7cb9; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < c08e076cb1976942a4bfcbc1c4dff76addd51fc7; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 325da0365ffa4f19ca50a9be2931a18bb252c07a; >= 4c9473e87e75a2a77ccd02e… Fixed in: Linux 967e196ee22611ebe5cd4436b71b577994ee7cb9, Linux 325da0365ffa4f19ca50a9be2931a18bb252c07a, Linux 0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0, Linux 9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/967e196ee22611ebe5cd4436b71b577994ee7cb9
- https://git.kernel.org/stable/c/c08e076cb1976942a4bfcbc1c4dff76addd51fc7
- https://git.kernel.org/stable/c/325da0365ffa4f19ca50a9be2931a18bb252c07a
- https://git.kernel.org/stable/c/0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0
- https://git.kernel.org/stable/c/9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4
FAQ
Is CVE-2026-142795 being exploited?
There is no confirmed exploitation: CVE-2026-142795 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-142795?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-142795?
Linux >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 967e196ee22611ebe5cd4436b71b577994ee7cb9; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < c08e076cb1976942a4bfcbc1c4dff76addd51fc7; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 325da0365ffa4f19ca50a9be2931a18bb252c07a; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0; >= 4c9473e87e75a2a77ccd02e55c91ffe6a52b5df6, < 9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4; Linux 6.2.
Is there a fix for CVE-2026-142795?
Yes. Fixed in Linux 967e196ee22611ebe5cd4436b71b577994ee7cb9, Linux 325da0365ffa4f19ca50a9be2931a18bb252c07a, Linux 0ff1c54374e97f6a1ebe240389e22fb44dbbeaf0, Linux 9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4. Upgrade Linux to 9010383e71e6ce75fcd3c8f87133c8ce6c0e6ab4 or later.
How do I check if I'm affected by CVE-2026-142795?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| UNSCORED | CVE-2026-142948 i2c: designware: queue only one read command for block reads | Linux kernel | ||
| UNSCORED | CVE-2026-142947 cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails | Linux kernel | ||
| UNSCORED | CVE-2026-142946 ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142945 ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device() | Linux kernel | ||
| UNSCORED | CVE-2026-142944 ASoC: amd: acp-es8336: Use an owned codec device reference | Linux kernel |