Skip to main content
Network Thinking Solutions Logo

CVE-2026-142879

In the Linux kernel, the following vulnerability has been resolved: mm/migrate: snapshot the source nid before the misplaced migration A successful migration frees the source folio before the promotion counter update, so the folio_nid() read there operates on a freed folio — which may already have been reallocated.

All CVEs
CVE-2026-142879Published 12/3/2026

In the Linux kernel, the following vulnerability has been resolved: mm/migrate: snapshot the source nid before the misplaced migration A successful migration frees the source folio before the promotion counter update, so the folio_nid() read there operates on a freed folio — which may already have been reallocated.

Vendor advisory
CVSS—Unscored

Overview

In the Linux kernel, the following vulnerability has been resolved: mm/migrate: snapshot the source nid before the misplaced migration A successful migration frees the source folio before the promotion counter update, so the folio_nid() read there operates on a freed folio — which may already have been reallocated. It happens to work today, as Zi explained: : Strictly speaking, it can be seen as a benign UAF. It works, because : 1. folio->flags happens to be the same as page->flags, : 2. folio/page nid is stored in the ->flags and never changed. : : In memdesc world, after a folio is freed, I assume folio->flags would be : zeroed since struct folio is freed and calling folio_nid() on a freed : folio would give a bogus result (yeah, it can be mitigated by not : zeroing node field and each node has its own struct folio pool, but that : makes folio_nid() implementation dependent). and Matthew explained further: : once struct folio is separately allocated, it's a UAF. It could be : recycled to a different NID or maybe the slab containing the folio could : be freed (assuming we're not holding the RCU read lock at this point in : migration, and I don't see why we would be). A separate concern is memory hot-removal. With memory-tiering mode enabled, successful migration can release the source before the promotion-accounting folio_nid() read. If the task is preempted there, an otherwise-free source block can be offlined and removed first. On the x86 path, removal can unmap the source's vmemmap, so the later read can fault. The snapshot avoids that read.

Published
12/3/2026
Last modified
12/3/2026
CVE assigner
Linux
NVD analysis
Received

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ e39bb6be9f2b39a6dbaeff484361de76021b175d, < 4a843e3d55d194fb1e49fb85b579028e80392cec

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ e39bb6be9f2b39a6dbaeff484361de76021b175d, < 7643b5e6aabda50f5b3475b4917af157b4fe83d2

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ e39bb6be9f2b39a6dbaeff484361de76021b175d, < f9a41150ec9720ea1b140f5fd0d8a3466560baae

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ e39bb6be9f2b39a6dbaeff484361de76021b175d, < 0dfdc739e124badfaeefa63dddde51ea7b6db214

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ e39bb6be9f2b39a6dbaeff484361de76021b175d, < 632853f04454fd1f424996070f636856796a8efb

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ e39bb6be9f2b39a6dbaeff484361de76021b175d, < fe623a81ad9eddf10059b4e44bca0440d9120613

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
5.18

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.